diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 13:59:20 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-05 13:59:20 -0600 |
commit | 294d526ed22c1aafa8b419f51632f31a673657aa (patch) | |
tree | fa22364c86bce9c8bc3c2e592d1d34ebed294fbe /apps/examples/elf/tests/signal | |
parent | 59c6dda4d3d206130ca23542e2b812724196986c (diff) | |
download | px4-nuttx-294d526ed22c1aafa8b419f51632f31a673657aa.tar.gz px4-nuttx-294d526ed22c1aafa8b419f51632f31a673657aa.tar.bz2 px4-nuttx-294d526ed22c1aafa8b419f51632f31a673657aa.zip |
Provide library names and paths in apps/import/Make.defs
Diffstat (limited to 'apps/examples/elf/tests/signal')
-rw-r--r-- | apps/examples/elf/tests/signal/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/examples/elf/tests/signal/Makefile b/apps/examples/elf/tests/signal/Makefile index 80b843e32..93f7bc183 100644 --- a/apps/examples/elf/tests/signal/Makefile +++ b/apps/examples/elf/tests/signal/Makefile @@ -41,28 +41,26 @@ else NUTTXLIB = "$(TOPDIR)$(DELIM)lib" endif -LIBPATH = ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y) LDELFFLAGS += -Bstatic -LIBPATH += -L $(NUTTXLIB) +LDLIBPATH += -L $(NUTTXLIB) else ifeq ($(CONFIG_EXAMPLES_ELF_LIBC),y) LDELFFLAGS += -Bstatic -LIBPATH += -L $(NUTTXLIB) +LDLIBPATH += -L $(NUTTXLIB) endif endif -LIBS = ifeq ($(CONFIG_EXAMPLES_ELF_LIBC),y) ifeq ($(CONFIG_BUILD_PROTECTED),y) -LIBS += -luc +LDLIBS += -luc else -LIBS += -lc +LDLIBS += -lc endif endif ifeq ($(CONFIG_EXAMPLES_ELF_SYSCALL),y) -LIBS += -lproxies +LDLIBS += -lproxies endif BIN = signal @@ -78,7 +76,7 @@ $(OBJS): %.o: %.c $(BIN): $(OBJS) @echo "LD: $<" - $(Q) $(LD) $(LDELFFLAGS) $(LIBPATH) -o $@ $^ $(LIBS) + $(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) -o $@ $^ $(LDLIBS) clean: $(call DELFILE, $(BIN)) |