diff options
-rw-r--r-- | apps/examples/helloxx/Makefile | 2 | ||||
-rw-r--r-- | apps/import/Make.defs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/helloxx/Makefile b/apps/examples/helloxx/Makefile index 204ed6881..151c1faa1 100644 --- a/apps/examples/helloxx/Makefile +++ b/apps/examples/helloxx/Makefile @@ -109,7 +109,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx $(call ARCHIVE, $(BIN), $(OBJS)) @touch .built -feq ($(CONFIG_BUILD_KERNEL),y) +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) diff --git a/apps/import/Make.defs b/apps/import/Make.defs index 6817e63dd..056d9b7fe 100644 --- a/apps/import/Make.defs +++ b/apps/import/Make.defs @@ -189,7 +189,7 @@ else LDLIBPATH = -L $(APPDIR) -L $(TOPDIR)$(DELIM)libs endif -LDLIBS = -lnuttx +LDLIBS = -lapps -lnuttx # Try to get the path to libgcc.a. Of course, this only works for GCC # toolchains. |