mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-04 21:02:44 +08:00
link01 - Add list of undefined symbols
This commit is contained in:
parent
c4f90c7881
commit
a7926648db
@ -14,7 +14,7 @@ C_FILES = test.c
|
||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||
|
||||
AM_CPPFLAGS += -I $(INSTALL_BASE)/include
|
||||
LINK_LIBS += $(INSTALL_BASE)/libbsd.a -Wl,-Map=jennifer.txt
|
||||
LINK_LIBS += $(INSTALL_BASE)/libbsd.a -Wl,-r
|
||||
|
||||
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
|
||||
include $(RTEMS_CUSTOM)
|
||||
@ -26,3 +26,6 @@ all: ${ARCH} $(PGM)
|
||||
|
||||
$(PGM): $(OBJS)
|
||||
$(make-exe)
|
||||
$(NM) $(PGM) | grep "U " >undefined.txt
|
||||
@echo `cat undefined.txt | wc -l` symbols to resolve
|
||||
@test `cat undefined.txt | wc -l` -ne 0 && exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user