diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:15:59 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:15:59 -0600 |
commit | e84faa17ebb87c6a2002c99193c5214a11cdf07e (patch) | |
tree | e477db86ffdcae24816d21c34b634a6ae7d9a6e2 /apps/system | |
parent | 0c14d130807e506918b2f8d6279113a086638236 (diff) | |
download | px4-nuttx-e84faa17ebb87c6a2002c99193c5214a11cdf07e.tar.gz px4-nuttx-e84faa17ebb87c6a2002c99193c5214a11cdf07e.tar.bz2 px4-nuttx-e84faa17ebb87c6a2002c99193c5214a11cdf07e.zip |
Add an nm command after every kernel build link to show if there are any undefined symbols
Diffstat (limited to 'apps/system')
-rw-r--r-- | apps/system/cdcacm/Makefile | 1 | ||||
-rw-r--r-- | apps/system/composite/Makefile | 1 | ||||
-rw-r--r-- | apps/system/flash_eraseall/Makefile | 1 | ||||
-rw-r--r-- | apps/system/free/Makefile | 1 | ||||
-rw-r--r-- | apps/system/hex2bin/Makefile | 1 | ||||
-rw-r--r-- | apps/system/i2c/Makefile | 1 | ||||
-rw-r--r-- | apps/system/install/Makefile | 1 | ||||
-rw-r--r-- | apps/system/mdio/Makefile | 1 | ||||
-rw-r--r-- | apps/system/nxplayer/Makefile | 1 | ||||
-rw-r--r-- | apps/system/poweroff/Makefile | 1 | ||||
-rw-r--r-- | apps/system/prun/Makefile | 1 | ||||
-rw-r--r-- | apps/system/ramtest/Makefile | 1 | ||||
-rw-r--r-- | apps/system/ramtron/Makefile | 1 | ||||
-rw-r--r-- | apps/system/sdcard/Makefile | 1 | ||||
-rw-r--r-- | apps/system/sudoku/Makefile | 1 | ||||
-rw-r--r-- | apps/system/sysinfo/Makefile | 1 | ||||
-rw-r--r-- | apps/system/usbmsc/Makefile | 1 | ||||
-rw-r--r-- | apps/system/vi/Makefile | 1 | ||||
-rw-r--r-- | apps/system/zmodem/Makefile | 1 |
19 files changed, 19 insertions, 0 deletions
diff --git a/apps/system/cdcacm/Makefile b/apps/system/cdcacm/Makefile index 96427a20b..7e17cb42b 100644 --- a/apps/system/cdcacm/Makefile +++ b/apps/system/cdcacm/Makefile @@ -104,6 +104,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/composite/Makefile b/apps/system/composite/Makefile index f3c2ae7e5..ca2853487 100644 --- a/apps/system/composite/Makefile +++ b/apps/system/composite/Makefile @@ -104,6 +104,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile index dfd1ae831..4592bcf43 100644 --- a/apps/system/flash_eraseall/Makefile +++ b/apps/system/flash_eraseall/Makefile @@ -108,6 +108,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/free/Makefile b/apps/system/free/Makefile index bc02d4db5..017aa0704 100644 --- a/apps/system/free/Makefile +++ b/apps/system/free/Makefile @@ -104,6 +104,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile index 116d558cf..c26a6f188 100644 --- a/apps/system/hex2bin/Makefile +++ b/apps/system/hex2bin/Makefile @@ -133,6 +133,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile index 68f37d3a1..ac7d715a4 100644 --- a/apps/system/i2c/Makefile +++ b/apps/system/i2c/Makefile @@ -97,6 +97,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/install/Makefile b/apps/system/install/Makefile index 6b175c374..f33abb5ba 100644 --- a/apps/system/install/Makefile +++ b/apps/system/install/Makefile @@ -108,6 +108,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/mdio/Makefile b/apps/system/mdio/Makefile index 1f1fd9c6e..605e7fc68 100644 --- a/apps/system/mdio/Makefile +++ b/apps/system/mdio/Makefile @@ -100,6 +100,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/nxplayer/Makefile b/apps/system/nxplayer/Makefile index df4415b19..da9f29709 100644 --- a/apps/system/nxplayer/Makefile +++ b/apps/system/nxplayer/Makefile @@ -110,6 +110,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/poweroff/Makefile b/apps/system/poweroff/Makefile index 0a0340f18..519079d0b 100644 --- a/apps/system/poweroff/Makefile +++ b/apps/system/poweroff/Makefile @@ -108,6 +108,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/prun/Makefile b/apps/system/prun/Makefile index 834056879..5e594811c 100644 --- a/apps/system/prun/Makefile +++ b/apps/system/prun/Makefile @@ -114,6 +114,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/ramtest/Makefile b/apps/system/ramtest/Makefile index 7c4755c03..6669adbaf 100644 --- a/apps/system/ramtest/Makefile +++ b/apps/system/ramtest/Makefile @@ -101,6 +101,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/ramtron/Makefile b/apps/system/ramtron/Makefile index b18a2b5cd..f8c4fc213 100644 --- a/apps/system/ramtron/Makefile +++ b/apps/system/ramtron/Makefile @@ -108,6 +108,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/sdcard/Makefile b/apps/system/sdcard/Makefile index 3175b5411..c36175db6 100644 --- a/apps/system/sdcard/Makefile +++ b/apps/system/sdcard/Makefile @@ -108,6 +108,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/sudoku/Makefile b/apps/system/sudoku/Makefile index 8d8d50ba1..4a01959af 100644 --- a/apps/system/sudoku/Makefile +++ b/apps/system/sudoku/Makefile @@ -104,6 +104,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile index d3d60ffb2..a9a0d0a8d 100644 --- a/apps/system/sysinfo/Makefile +++ b/apps/system/sysinfo/Makefile @@ -109,6 +109,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/usbmsc/Makefile b/apps/system/usbmsc/Makefile index bd58b0250..58a90560f 100644 --- a/apps/system/usbmsc/Makefile +++ b/apps/system/usbmsc/Makefile @@ -107,6 +107,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/vi/Makefile b/apps/system/vi/Makefile index 69ad5f71a..60357dc46 100644 --- a/apps/system/vi/Makefile +++ b/apps/system/vi/Makefile @@ -105,6 +105,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) diff --git a/apps/system/zmodem/Makefile b/apps/system/zmodem/Makefile index 2d64bfb0e..c2e326162 100644 --- a/apps/system/zmodem/Makefile +++ b/apps/system/zmodem/Makefile @@ -104,6 +104,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y) $(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(MAINOBJ) $(LDLIBS) + $(Q) $(NM) -u $(INSTALL_DIR)$(DELIM)$(PROGNAME) install: $(BIN_DIR)$(DELIM)$(PROGNAME) |