diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:09:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 07:09:22 -0600 |
commit | 0349baa2efe65f7768f5cf58cf3f717fa33088d3 (patch) | |
tree | 0a8580ca2a8cbfacc9a7d058ac25309eb4138d72 /apps/examples/elf/Makefile | |
parent | 5a874f322600b650145dcb55bdf51e66fbf4acef (diff) | |
download | px4-nuttx-0349baa2efe65f7768f5cf58cf3f717fa33088d3.tar.gz px4-nuttx-0349baa2efe65f7768f5cf58cf3f717fa33088d3.tar.bz2 px4-nuttx-0349baa2efe65f7768f5cf58cf3f717fa33088d3.zip |
Add the main object to the dependencies for the kernel build
Diffstat (limited to 'apps/examples/elf/Makefile')
-rw-r--r-- | apps/examples/elf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/elf/Makefile b/apps/examples/elf/Makefile index e06b000d4..24bd85921 100644 --- a/apps/examples/elf/Makefile +++ b/apps/examples/elf/Makefile @@ -100,7 +100,7 @@ really_build: $(OBJS) @$(MAKE) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" really_build ifeq ($(CONFIG_BUILD_KERNEL),y) -$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) +$(BIN_DIR)$(DELIM)$(PROGNAME): $(OBJS) $(MAINOBJ) @echo "LD: $(PROGNAME)" $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $(INSTALL_DIR)$(DELIM)$(PROGNAME) $(ARCHCRT0OBJ) $(LDLIBS) |