4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change
on this file since a792664 was
a792664,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/05/12 at 13:24:45
|
link01 - Add list of undefined symbols
|
-
Property mode set to
100644
|
File size:
594 bytes
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | include ../../config.inc |
---|
6 | |
---|
7 | PGM=${ARCH}/link01.exe |
---|
8 | |
---|
9 | # optional managers required |
---|
10 | MANAGERS=all |
---|
11 | |
---|
12 | # C source names |
---|
13 | C_FILES = test.c |
---|
14 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
15 | |
---|
16 | AM_CPPFLAGS += -I $(INSTALL_BASE)/include |
---|
17 | LINK_LIBS += $(INSTALL_BASE)/libbsd.a -Wl,-r |
---|
18 | |
---|
19 | include $(RTEMS_MAKEFILE_PATH)/Makefile.inc |
---|
20 | include $(RTEMS_CUSTOM) |
---|
21 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
22 | |
---|
23 | OBJS= $(C_O_FILES) |
---|
24 | |
---|
25 | all: ${ARCH} $(PGM) |
---|
26 | |
---|
27 | $(PGM): $(OBJS) |
---|
28 | $(make-exe) |
---|
29 | $(NM) $(PGM) | grep "U " >undefined.txt |
---|
30 | @echo `cat undefined.txt | wc -l` symbols to resolve |
---|
31 | @test `cat undefined.txt | wc -l` -ne 0 && exit 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.