2012-07-12 21:25:55 +02:00
|
|
|
PROGRAM_PREFIX = genode-arm-
|
2015-05-11 17:55:26 +02:00
|
|
|
GDB_TARGET = arm-none-eabi
|
2012-07-12 21:25:55 +02:00
|
|
|
|
2019-04-29 16:53:44 +02:00
|
|
|
#
|
|
|
|
# We link libraries to the final binaries using the 'LIBS' variable. But
|
|
|
|
# unfortunately, the gdb build system has hardcoded some libs such as '-lm'.
|
|
|
|
# To satisfy the linker, we provide dummy archives.
|
|
|
|
#
|
|
|
|
|
|
|
|
LDFLAGS += -L$(PWD)
|
|
|
|
|
|
|
|
.SECONDARY: dummy_libs
|
|
|
|
dummy_libs: libm.a
|
|
|
|
|
|
|
|
libm.a:
|
|
|
|
$(VERBOSE)$(AR) -rc $@
|
|
|
|
|
|
|
|
Makefile: dummy_libs
|
|
|
|
|
2012-07-12 21:25:55 +02:00
|
|
|
include $(PRG_DIR)/../gdb/target.inc
|