diff options
Diffstat (limited to 'apps/examples/elf')
-rw-r--r-- | apps/examples/elf/tests/Makefile | 4 | ||||
-rw-r--r-- | apps/examples/elf/tests/hello/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/helloxx/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/helloxx/hello++2.cpp | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/longjmp/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/longjmp/longjmp.c | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/mutex/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/pthread/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/signal/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/struct/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/elf/tests/struct/struct_main.c | 2 |
11 files changed, 12 insertions, 12 deletions
diff --git a/apps/examples/elf/tests/Makefile b/apps/examples/elf/tests/Makefile index 755199506..17732c775 100644 --- a/apps/examples/elf/tests/Makefile +++ b/apps/examples/elf/tests/Makefile @@ -76,7 +76,7 @@ $(foreach DIR, $(BUILD_SUBDIRS), $(eval $(call DIR_template,$(DIR),build, all))) $(foreach DIR, $(ALL_SUBDIRS), $(eval $(call DIR_template,$(DIR),clean,clean))) $(foreach DIR, $(BUILD_SUBDIRS), $(eval $(call DIR_template,$(DIR),install,install))) -# Build program(s) in each sud-directory +# Build program(s) in each sud-directory build: $(foreach DIR, $(BUILD_SUBDIRS), $(DIR)_build) @@ -103,7 +103,7 @@ $(ROMFS_IMG): populate $(ROMFS_HDR) : $(ROMFS_IMG) $(Q) (cd $(TESTS_DIR); xxd -i romfs.img | sed -e "s/^unsigned/static const unsigned/g" >$@) -# Create the dirlist.h header file from the romfs directory +# Create the dirlist.h header file from the romfs directory $(DIRLIST_HDR) : populate $(Q) $(TESTS_DIR)/mkdirlist.sh $(ROMFS_DIR) >$@ diff --git a/apps/examples/elf/tests/hello/Makefile b/apps/examples/elf/tests/hello/Makefile index 5cd80411b..07f97bee9 100644 --- a/apps/examples/elf/tests/hello/Makefile +++ b/apps/examples/elf/tests/hello/Makefile @@ -50,7 +50,7 @@ $(BIN): $(OBJS) @echo "LD: $<" $(Q) $(LD) $(LDELFFLAGS) -o $@ $^ -clean: +clean: $(call DELFILE, $(BIN)) $(call CLEAN) diff --git a/apps/examples/elf/tests/helloxx/Makefile b/apps/examples/elf/tests/helloxx/Makefile index cce33d843..260475c5d 100644 --- a/apps/examples/elf/tests/helloxx/Makefile +++ b/apps/examples/elf/tests/helloxx/Makefile @@ -104,7 +104,7 @@ endif # @echo "LD: $<" # $(Q) $(LD) $(LDELFFLAGS) -o $@ $^ -clean: +clean: $(call DELFILE, $(BIN1)) $(call DELFILE, $(BIN2)) $(call DELFILE, $(BIN3)) diff --git a/apps/examples/elf/tests/helloxx/hello++2.cpp b/apps/examples/elf/tests/helloxx/hello++2.cpp index f1268dda5..5d4ba9923 100644 --- a/apps/examples/elf/tests/helloxx/hello++2.cpp +++ b/apps/examples/elf/tests/helloxx/hello++2.cpp @@ -61,7 +61,7 @@ public: printf("CThingSayer::CThingSayer: I am!\n"); szWhatToSay = (const char*)NULL; } - + ~CThingSayer(void) { printf("CThingSayer::~CThingSayer: I cease to be\n"); diff --git a/apps/examples/elf/tests/longjmp/Makefile b/apps/examples/elf/tests/longjmp/Makefile index 6ddbf9b8d..a0100b247 100644 --- a/apps/examples/elf/tests/longjmp/Makefile +++ b/apps/examples/elf/tests/longjmp/Makefile @@ -50,7 +50,7 @@ $(BIN): $(OBJS) @echo "LD: $<" $(Q) $(LD) $(LDELFFLAGS) -o $@ $^ -clean: +clean: $(call DELFILE, $(BIN)) $(call CLEAN) diff --git a/apps/examples/elf/tests/longjmp/longjmp.c b/apps/examples/elf/tests/longjmp/longjmp.c index 74d5594c4..8965440dc 100644 --- a/apps/examples/elf/tests/longjmp/longjmp.c +++ b/apps/examples/elf/tests/longjmp/longjmp.c @@ -77,7 +77,7 @@ static int leaf(int *some_arg) /* We should not get here */ - return -ERROR; + return -ERROR; } static int function(int some_arg) diff --git a/apps/examples/elf/tests/mutex/Makefile b/apps/examples/elf/tests/mutex/Makefile index 04c1e8975..e3085ad8e 100644 --- a/apps/examples/elf/tests/mutex/Makefile +++ b/apps/examples/elf/tests/mutex/Makefile @@ -50,7 +50,7 @@ $(BIN): $(OBJS) @echo "LD: $<" $(Q) $(LD) $(LDELFFLAGS) -o $@ $^ -clean: +clean: $(call DELFILE, $(BIN)) $(call CLEAN) diff --git a/apps/examples/elf/tests/pthread/Makefile b/apps/examples/elf/tests/pthread/Makefile index 05c7c4650..f201b12f5 100644 --- a/apps/examples/elf/tests/pthread/Makefile +++ b/apps/examples/elf/tests/pthread/Makefile @@ -50,7 +50,7 @@ $(BIN): $(OBJS) @echo "LD: $<" $(Q) $(LD) $(LDELFFLAGS) -o $@ $^ -clean: +clean: $(call DELFILE, $(BIN)) $(call CLEAN) diff --git a/apps/examples/elf/tests/signal/Makefile b/apps/examples/elf/tests/signal/Makefile index 55ef2e5b9..53a5d5721 100644 --- a/apps/examples/elf/tests/signal/Makefile +++ b/apps/examples/elf/tests/signal/Makefile @@ -50,7 +50,7 @@ $(BIN): $(OBJS) @echo "LD: $<" $(Q) $(LD) $(LDELFFLAGS) -o $@ $^ -clean: +clean: $(call DELFILE, $(BIN)) $(call CLEAN) diff --git a/apps/examples/elf/tests/struct/Makefile b/apps/examples/elf/tests/struct/Makefile index 369fcb368..80117a72f 100644 --- a/apps/examples/elf/tests/struct/Makefile +++ b/apps/examples/elf/tests/struct/Makefile @@ -51,7 +51,7 @@ $(BIN): $(OBJS) @echo "LD: $<" $(Q) $(LD) $(LDELFFLAGS) -o $@ $^ -clean: +clean: $(call DELFILE, $(BIN)) $(call CLEAN) diff --git a/apps/examples/elf/tests/struct/struct_main.c b/apps/examples/elf/tests/struct/struct_main.c index 3c8e86e7a..a8c0b83c2 100644 --- a/apps/examples/elf/tests/struct/struct_main.c +++ b/apps/examples/elf/tests/struct/struct_main.c @@ -46,7 +46,7 @@ * Public Data ****************************************************************************/ -const struct struct_dummy_s dummy_struct = +const struct struct_dummy_s dummy_struct = { DUMMY_SCALAR_VALUE3 }; |