mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 06:52:41 +00:00
added the riscv-privilege SOC_FAMILY, under which all riscv SOCs supporting the riscv privilege architecture specifcation shall reside. These SOCs shall notably have a common base for handling IRQs. Moved riscv32-qemu under the riscv-privilege SOC_FAMILY Change-Id: I5372cb38e3eaed78886f22b212ab4f881ef30b3f Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
17 lines
503 B
Makefile
17 lines
503 B
Makefile
-include $(srctree)/arch/$(ARCH)/soc/$(SOC_PATH)/Makefile
|
|
|
|
# Put functions and data in their own binary sections so that ld can
|
|
# garbage collect them
|
|
arch_cflags += $(call cc-option,-ffunction-sections) \
|
|
$(call cc-option,-fdata-sections)
|
|
|
|
KBUILD_AFLAGS += $(arch_cflags)
|
|
KBUILD_CFLAGS += $(arch_cflags)
|
|
KBUILD_CXXFLAGS += $(arch_cflags)
|
|
|
|
soc-cxxflags ?= $(soc-cflags)
|
|
soc-aflags ?= $(soc-cflags)
|
|
KBUILD_CFLAGS += $(soc-cflags)
|
|
KBUILD_CXXFLAGS += $(soc-cxxflags)
|
|
KBUILD_AFLAGS += $(soc-aflags)
|