mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-10 07:51:57 +00:00
If set, 'make qemu' will direct its console output to a named pipe and disable the interactive monitor. Intended for use with the new sanity check system which will parallelize test execution. Change-Id: I902f77c02ed3f210891ff13147afea890e64d9c1 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
19 lines
577 B
Makefile
19 lines
577 B
Makefile
LTO_FLAG-y = $(call cc-option,-flto,)
|
|
SECTION_GC_FLAG = $(call cc-option,-ffunction-sections,) $(call cc-option,-fdata-sections,)
|
|
arm_FLAGS = $(call cc-option,-mthumb,)
|
|
ifeq ($(CONFIG_CPU_CORTEX_M3),y)
|
|
arm_FLAGS += -mcpu=cortex-m3 -march=armv7-m
|
|
endif
|
|
ifeq ($(CONFIG_CPU_CORTEX_M4),y)
|
|
arm_FLAGS += -mcpu=cortex-m4 -march=armv7e-m
|
|
endif
|
|
arm_FLAGS += $(SECTION_GC_FLAG)
|
|
arm_FLAGS += $(LTO_FLAG-$(CONFIG_LTO))
|
|
|
|
QEMU_CPU_TYPE_arm = cortex-m3
|
|
QEMU_FLAGS_arm = -cpu $(QEMU_CPU_TYPE_arm) \
|
|
-machine lm3s6965evb -nographic
|
|
QEMU_arm = qemu-system-arm
|
|
|
|
export QEMU_FLAGS_arm QEMU_arm
|