zephyr_cc_library: Move GCC specific flags to toolchain

Moves GCC_ARM_C_FLAGS & _GCC_PICOLIBC_FLAGS out of the
zephyr_cc_library definition and into the toolchain definitions
instead.

Change-Id: I6a8a21d984ce256e5279b47dd436c7b308a5ca32
Reviewed-on: https://pigweed-review.googlesource.com/c/zephyr/zephyr-bazel/+/435153
3 files changed
tree: 03b358cd8fc443d005f4c58e9b12fb851025af8c
  1. .vscode/
  2. bazel/
  3. bazel_overlay/
  4. build_config/
  5. designs/
  6. docs/
  7. examples/
  8. modules/
  9. pw_tests/
  10. scripts/
  11. tests/
  12. third_party/
  13. toolchain/
  14. tools/
  15. ztests/
  16. .bazelignore
  17. .bazelrc
  18. .bazelversion
  19. .gitignore
  20. AUTHORS
  21. BUILD.bazel
  22. common.bazelrc
  23. CONTRIBUTING.md
  24. generate_diff.py
  25. LICENSE
  26. MODULE.bazel
  27. MODULE.bazel.lock
  28. naming.bzl
  29. OWNERS
  30. pigweed_dep.MODULE.bazel
  31. pw
  32. README.md
  33. setup.bzl
  34. workflows.json
  35. WORKSPACE
README.md

Zephyr-Bazel

The way this repository works is by overlaying itself on top of Zephyr to provide Bazel build capability to the underlying Zephyr repository.

Getting Started

User Guide

For more information on the architecture and internal design of Zephyr-Bazel, see the design documents in the designs folder of this repository: