arm: only compile gdb stubs when CONFIG_GDB_INFO=y
They use data that is unavailable to the unified kernel, and are not used anymore really. For now, only compile them when CONFIG_GDB_INFO=y, and never enable CONFIG_GDB_INFO when building the unified kernel. These files should go away when the unified kernel is made the only kernel type. Change-Id: I0a2a917dd453ecaae729125008756e0f676df16d Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
781561c855
commit
a8a830b5db
1 changed files with 3 additions and 2 deletions
|
@ -5,11 +5,12 @@ asflags-y := ${ccflags-y}
|
||||||
|
|
||||||
obj-y = exc_exit.o irq_init.o \
|
obj-y = exc_exit.o irq_init.o \
|
||||||
fiber_abort.o swap.o \
|
fiber_abort.o swap.o \
|
||||||
fault.o gdb_stub_irq_vector_table.o \
|
fault.o \
|
||||||
irq_manage.o thread.o cpu_idle.o \
|
irq_manage.o thread.o cpu_idle.o \
|
||||||
fault_s.o gdb_stub.o isr_wrapper.o \
|
fault_s.o isr_wrapper.o \
|
||||||
fatal.o sys_fatal_error_handler.o
|
fatal.o sys_fatal_error_handler.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_GDB_INFO) += gdb_stub_irq_vector_table.o gdb_stub.o
|
||||||
obj-$(CONFIG_CPLUSPLUS) += __aeabi_atexit.o
|
obj-$(CONFIG_CPLUSPLUS) += __aeabi_atexit.o
|
||||||
obj-$(CONFIG_MICROKERNEL) += task_abort.o
|
obj-$(CONFIG_MICROKERNEL) += task_abort.o
|
||||||
obj-$(CONFIG_IRQ_OFFLOAD) += irq_offload.o
|
obj-$(CONFIG_IRQ_OFFLOAD) += irq_offload.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue