summaryrefslogtreecommitdiff
path: root/apps/system
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-11 06:48:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-11 06:48:11 -0600
commite2c67e4e2ffa22cea52bcfd514429431f3d8a67d (patch)
treeef2214976e18280aff2c7e8cbb13598080e7e9bb /apps/system
parent306ae83c983ed04e31d22ad6ee119831a284fc9b (diff)
downloadnuttx-e2c67e4e2ffa22cea52bcfd514429431f3d8a67d.tar.gz
nuttx-e2c67e4e2ffa22cea52bcfd514429431f3d8a67d.tar.bz2
nuttx-e2c67e4e2ffa22cea52bcfd514429431f3d8a67d.zip
MAINOBJ needs to be added to object list in many Makefile
Diffstat (limited to 'apps/system')
-rw-r--r--apps/system/cdcacm/Makefile2
-rw-r--r--apps/system/composite/Makefile2
-rw-r--r--apps/system/flash_eraseall/Makefile2
-rw-r--r--apps/system/free/Makefile2
-rw-r--r--apps/system/hex2bin/Makefile2
-rw-r--r--apps/system/i2c/Makefile2
-rw-r--r--apps/system/install/Makefile2
-rw-r--r--apps/system/mdio/Makefile2
-rw-r--r--apps/system/nxplayer/Makefile2
-rw-r--r--apps/system/poweroff/Makefile2
-rw-r--r--apps/system/prun/Makefile2
-rw-r--r--apps/system/ramtest/Makefile2
-rw-r--r--apps/system/ramtron/Makefile2
-rw-r--r--apps/system/sdcard/Makefile2
-rw-r--r--apps/system/sudoku/Makefile2
-rw-r--r--apps/system/sysinfo/Makefile2
-rw-r--r--apps/system/usbmsc/Makefile2
-rw-r--r--apps/system/vi/Makefile2
-rw-r--r--apps/system/zmodem/Makefile2
19 files changed, 19 insertions, 19 deletions
diff --git a/apps/system/cdcacm/Makefile b/apps/system/cdcacm/Makefile
index 28c459bbe..fe5207eda 100644
--- a/apps/system/cdcacm/Makefile
+++ b/apps/system/cdcacm/Makefile
@@ -95,7 +95,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/composite/Makefile b/apps/system/composite/Makefile
index 98cb66d54..50819b772 100644
--- a/apps/system/composite/Makefile
+++ b/apps/system/composite/Makefile
@@ -95,7 +95,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile
index 817a2b8f4..07d9d142e 100644
--- a/apps/system/flash_eraseall/Makefile
+++ b/apps/system/flash_eraseall/Makefile
@@ -99,7 +99,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/free/Makefile b/apps/system/free/Makefile
index 806307257..ace779de6 100644
--- a/apps/system/free/Makefile
+++ b/apps/system/free/Makefile
@@ -95,7 +95,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile
index 03fbd5910..9c49afad5 100644
--- a/apps/system/hex2bin/Makefile
+++ b/apps/system/hex2bin/Makefile
@@ -116,7 +116,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile
index 5b960fa8d..cab06eda2 100644
--- a/apps/system/i2c/Makefile
+++ b/apps/system/i2c/Makefile
@@ -88,7 +88,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/install/Makefile b/apps/system/install/Makefile
index 79b0a0999..65a3e97d1 100644
--- a/apps/system/install/Makefile
+++ b/apps/system/install/Makefile
@@ -99,7 +99,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/mdio/Makefile b/apps/system/mdio/Makefile
index 7d0fe5981..2fa178583 100644
--- a/apps/system/mdio/Makefile
+++ b/apps/system/mdio/Makefile
@@ -91,7 +91,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/nxplayer/Makefile b/apps/system/nxplayer/Makefile
index a5a473c93..3b01c4e13 100644
--- a/apps/system/nxplayer/Makefile
+++ b/apps/system/nxplayer/Makefile
@@ -104,7 +104,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/poweroff/Makefile b/apps/system/poweroff/Makefile
index 34d8851b4..3f07f9e8b 100644
--- a/apps/system/poweroff/Makefile
+++ b/apps/system/poweroff/Makefile
@@ -99,7 +99,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/prun/Makefile b/apps/system/prun/Makefile
index fb4d6f79d..73d5ca470 100644
--- a/apps/system/prun/Makefile
+++ b/apps/system/prun/Makefile
@@ -105,7 +105,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/ramtest/Makefile b/apps/system/ramtest/Makefile
index 2c443b08b..f9078cf72 100644
--- a/apps/system/ramtest/Makefile
+++ b/apps/system/ramtest/Makefile
@@ -92,7 +92,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/ramtron/Makefile b/apps/system/ramtron/Makefile
index d4793ca71..baa191e71 100644
--- a/apps/system/ramtron/Makefile
+++ b/apps/system/ramtron/Makefile
@@ -99,7 +99,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/sdcard/Makefile b/apps/system/sdcard/Makefile
index 89e4558c9..9aac89f95 100644
--- a/apps/system/sdcard/Makefile
+++ b/apps/system/sdcard/Makefile
@@ -99,7 +99,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/sudoku/Makefile b/apps/system/sudoku/Makefile
index f86355249..18a6865df 100644
--- a/apps/system/sudoku/Makefile
+++ b/apps/system/sudoku/Makefile
@@ -95,7 +95,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile
index 7135d5a06..545049e0a 100644
--- a/apps/system/sysinfo/Makefile
+++ b/apps/system/sysinfo/Makefile
@@ -100,7 +100,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/usbmsc/Makefile b/apps/system/usbmsc/Makefile
index 7a2485dfc..7d2ef010b 100644
--- a/apps/system/usbmsc/Makefile
+++ b/apps/system/usbmsc/Makefile
@@ -98,7 +98,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/vi/Makefile b/apps/system/vi/Makefile
index 16514ba54..b679115df 100644
--- a/apps/system/vi/Makefile
+++ b/apps/system/vi/Makefile
@@ -96,7 +96,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)
diff --git a/apps/system/zmodem/Makefile b/apps/system/zmodem/Makefile
index a4d59c74e..739f52390 100644
--- a/apps/system/zmodem/Makefile
+++ b/apps/system/zmodem/Makefile
@@ -99,7 +99,7 @@ all: .built
$(AOBJS): %$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
-$(COBJS): %$(OBJEXT): %.c
+$(COBJS) $(MAINOBJ): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
.built: $(OBJS)