summaryrefslogtreecommitdiff
path: root/apps/examples/elf/tests/helloxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/elf/tests/helloxx/Makefile')
-rw-r--r--apps/examples/elf/tests/helloxx/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/examples/elf/tests/helloxx/Makefile b/apps/examples/elf/tests/helloxx/Makefile
index d115fbeaf..45b4b8868 100644
--- a/apps/examples/elf/tests/helloxx/Makefile
+++ b/apps/examples/elf/tests/helloxx/Makefile
@@ -109,12 +109,13 @@ clean:
@rm -f $(ALL_BIN) *.o *~ .*.swp core
install: $(ALL_BIN)
- @install -D $(BIN1) $(ROMFS_DIR)/$(BIN1)
- @install -D $(BIN2) $(ROMFS_DIR)/$(BIN2)
+ @mkdir -p $(ROMFS_DIR)
+ @install $(BIN1) $(ROMFS_DIR)/$(BIN1)
+ @install $(BIN2) $(ROMFS_DIR)/$(BIN2)
ifeq ($(CONFIG_BINFMT_CONSTRUCTORS),y)
- @install -D $(BIN3) $(ROMFS_DIR)/$(BIN3)
+ @install $(BIN3) $(ROMFS_DIR)/$(BIN3)
endif
-# @install -D $(BIN4) $(ROMFS_DIR)/$(BIN4)
+# @install $(BIN4) $(ROMFS_DIR)/$(BIN4)