mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-06 21:55:13 +00:00
Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished)
This commit is contained in:
parent
055c3fc6fa
commit
d6bcd1a93a
151 changed files with 437 additions and 49 deletions
|
|
@ -80,6 +80,8 @@ headers:
|
|||
$(call ARCHIVE, $(BIN), $(OBJS))
|
||||
@touch .built
|
||||
|
||||
install:
|
||||
|
||||
context:
|
||||
|
||||
.depend: Makefile $(SRCS)
|
||||
|
|
|
|||
|
|
@ -62,7 +62,8 @@ build: $(foreach DIR, $(SUBDIRS), $(DIR)_build)
|
|||
|
||||
# Install each program in the romfs directory
|
||||
|
||||
install: $(foreach DIR, $(SUBDIRS), $(DIR)_install)
|
||||
install:
|
||||
$(foreach DIR, $(SUBDIRS), $(DIR)_install)
|
||||
@( for file in $(INSTALL_FILES); do\
|
||||
install -m 0644 -D $${file} $(ROMFS_DIR)/$${file}; \
|
||||
done; )
|
||||
|
|
|
|||
|
|
@ -77,5 +77,6 @@ clean:
|
|||
$(call CLEAN)
|
||||
|
||||
install:
|
||||
|
||||
$(Q) install -m 0755 -D $(BIN) $(CGI_DIR)/$(BIN)
|
||||
|
||||
|
|
|
|||
|
|
@ -77,5 +77,6 @@ clean:
|
|||
$(call CLEAN)
|
||||
|
||||
install:
|
||||
|
||||
$(Q) install -m 0755 -D $(BIN) $(CGI_DIR)/$(BIN)
|
||||
|
||||
|
|
|
|||
|
|
@ -77,5 +77,6 @@ clean:
|
|||
$(call CLEAN)
|
||||
|
||||
install:
|
||||
|
||||
$(Q) install -m 0755 -D $(BIN) $(CGI_DIR)/$(BIN)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue