genode/repos/ports/src/noux-pkg/gdb_arm/target.mk

21 lines
425 B
Makefile

PROGRAM_PREFIX = genode-arm-
GDB_TARGET = arm-none-eabi
#
# 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
include $(PRG_DIR)/../gdb/target.inc