mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
allow people to add files to the rootfs by putting them in $(TOPDIR)/files/
SVN-Revision: 5685
This commit is contained in:
parent
5af24a0373
commit
0a4052dd78
@ -55,6 +55,9 @@ install-targets: base-files-install $(INSTALL_PACKAGES)
|
|||||||
install:
|
install:
|
||||||
rm -rf $(BUILD_DIR)/root
|
rm -rf $(BUILD_DIR)/root
|
||||||
$(MAKE) install-targets
|
$(MAKE) install-targets
|
||||||
|
@if [ -d $(TOPDIR)/files ]; then \
|
||||||
|
$(CP) $(TOPDIR)/files/. $(BUILD_DIR)/root; \
|
||||||
|
fi
|
||||||
@( \
|
@( \
|
||||||
cd $(BUILD_DIR)/root; \
|
cd $(BUILD_DIR)/root; \
|
||||||
for script in ./etc/init.d/*; do \
|
for script in ./etc/init.d/*; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user