summaryrefslogtreecommitdiff
path: root/apps/examples/elf/tests
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 22:10:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 22:10:56 +0000
commitd6b30f6e49779b31617fad8e8daa06470145f909 (patch)
tree7123939c22af75fef3c7ace3aaa486afdaf4b6d7 /apps/examples/elf/tests
parent5ae419f6845ff28bcbdb339cdfb66f6b2e46f9ab (diff)
downloadnuttx-d6b30f6e49779b31617fad8e8daa06470145f909.tar.gz
nuttx-d6b30f6e49779b31617fad8e8daa06470145f909.tar.bz2
nuttx-d6b30f6e49779b31617fad8e8daa06470145f909.zip
More ELF loader changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5261 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/elf/tests')
-rw-r--r--apps/examples/elf/tests/errno/Makefile2
-rw-r--r--apps/examples/elf/tests/hello++/Makefile2
-rw-r--r--apps/examples/elf/tests/hello/Makefile2
-rw-r--r--apps/examples/elf/tests/longjmp/Makefile2
-rw-r--r--apps/examples/elf/tests/mutex/Makefile2
-rw-r--r--apps/examples/elf/tests/pthread/Makefile2
-rw-r--r--apps/examples/elf/tests/signal/Makefile2
-rw-r--r--apps/examples/elf/tests/struct/Makefile2
-rw-r--r--apps/examples/elf/tests/task/Makefile2
9 files changed, 9 insertions, 9 deletions
diff --git a/apps/examples/elf/tests/errno/Makefile b/apps/examples/elf/tests/errno/Makefile
index d3b12aa2e..3c299b16d 100644
--- a/apps/examples/elf/tests/errno/Makefile
+++ b/apps/examples/elf/tests/errno/Makefile
@@ -39,7 +39,7 @@
BIN = errno
SRCS = $(BIN).c
-OBJS = $(BIN:.c=.o)
+OBJS = $(SRCS:.c=.o)
all: $(BIN)
diff --git a/apps/examples/elf/tests/hello++/Makefile b/apps/examples/elf/tests/hello++/Makefile
index b3d07d262..9de52cfa1 100644
--- a/apps/examples/elf/tests/hello++/Makefile
+++ b/apps/examples/elf/tests/hello++/Makefile
@@ -64,7 +64,7 @@ all: $(BIN1) $(BIN2) $(BIN3) $(BIN4)
$(OBJS): %.o: %.cpp
@echo "CC: $<"
- @$(CXX) -c $(CXXPICFLAGS) $< -o $@
+ @$(CXX) -c $(CXXFLAGS) $< -o $@
# This contains libstdc++ stubs to that you can build C++ code
# without actually having libstdc++
diff --git a/apps/examples/elf/tests/hello/Makefile b/apps/examples/elf/tests/hello/Makefile
index 3b9b06ac4..c3a3dacaf 100644
--- a/apps/examples/elf/tests/hello/Makefile
+++ b/apps/examples/elf/tests/hello/Makefile
@@ -39,7 +39,7 @@
BIN = hello
SRCS = $(BIN).c
-OBJS = $(BIN:.c=.o)
+OBJS = $(SRCS:.c=.o)
all: $(BIN)
diff --git a/apps/examples/elf/tests/longjmp/Makefile b/apps/examples/elf/tests/longjmp/Makefile
index 12d6e443c..d737718e0 100644
--- a/apps/examples/elf/tests/longjmp/Makefile
+++ b/apps/examples/elf/tests/longjmp/Makefile
@@ -39,7 +39,7 @@
BIN = longjmp
SRCS = $(BIN).c
-OBJS = $(BIN:.c=.o)
+OBJS = $(SRCS:.c=.o)
all: $(BIN)
diff --git a/apps/examples/elf/tests/mutex/Makefile b/apps/examples/elf/tests/mutex/Makefile
index 632fed9dd..7f0a5493e 100644
--- a/apps/examples/elf/tests/mutex/Makefile
+++ b/apps/examples/elf/tests/mutex/Makefile
@@ -39,7 +39,7 @@
BIN = mutex
SRCS = $(BIN).c
-OBJS = $(BIN:.c=.o)
+OBJS = $(SRCS:.c=.o)
all: $(BIN)
diff --git a/apps/examples/elf/tests/pthread/Makefile b/apps/examples/elf/tests/pthread/Makefile
index fae6144c2..8db290e6e 100644
--- a/apps/examples/elf/tests/pthread/Makefile
+++ b/apps/examples/elf/tests/pthread/Makefile
@@ -39,7 +39,7 @@
BIN = pthread
SRCS = $(BIN).c
-OBJS = $(BIN:.c=.o)
+OBJS = $(SRCS:.c=.o)
all: $(BIN)
diff --git a/apps/examples/elf/tests/signal/Makefile b/apps/examples/elf/tests/signal/Makefile
index 270444032..4338aa48d 100644
--- a/apps/examples/elf/tests/signal/Makefile
+++ b/apps/examples/elf/tests/signal/Makefile
@@ -39,7 +39,7 @@
BIN = signal
SRCS = $(BIN).c
-OBJS = $(BIN:.c=.o)
+OBJS = $(SRCS:.c=.o)
all: $(BIN)
diff --git a/apps/examples/elf/tests/struct/Makefile b/apps/examples/elf/tests/struct/Makefile
index f98a65e25..c15d8fc47 100644
--- a/apps/examples/elf/tests/struct/Makefile
+++ b/apps/examples/elf/tests/struct/Makefile
@@ -38,7 +38,7 @@
CFLAGS += -I.
-BIN = struct
+BIN = struct
SRCS = struct_main.c struct_dummy.c
OBJS = $(SRCS:.c=.o)
diff --git a/apps/examples/elf/tests/task/Makefile b/apps/examples/elf/tests/task/Makefile
index 28047965e..208b228b3 100644
--- a/apps/examples/elf/tests/task/Makefile
+++ b/apps/examples/elf/tests/task/Makefile
@@ -39,7 +39,7 @@
BIN = task
SRCS = $(BIN).c
-OBJS = $(BIN:.c=.o)
+OBJS = $(SRCS:.c=.o)
all: $(BIN)