mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
allow comment lines in the image builder
SVN-Revision: 2533
This commit is contained in:
parent
e152f61c48
commit
1e1744d103
@ -36,7 +36,7 @@ build:
|
|||||||
mkdir -p $(LINUX_BUILD_DIR)/root
|
mkdir -p $(LINUX_BUILD_DIR)/root
|
||||||
echo -e 'dest root /\noption offline_root $(LINUX_BUILD_DIR)/root' > $(LINUX_BUILD_DIR)/ipkg.conf
|
echo -e 'dest root /\noption offline_root $(LINUX_BUILD_DIR)/root' > $(LINUX_BUILD_DIR)/ipkg.conf
|
||||||
$(IPKG_KERNEL) install $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/kernel[-_]*.ipk
|
$(IPKG_KERNEL) install $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/kernel[-_]*.ipk
|
||||||
for package in `cat lists/$(LIST).$(BOARD)-$(KERNEL)`; do \
|
for package in `grep -v '^#' lists/$(LIST).$(BOARD)-$(KERNEL)`; do \
|
||||||
$(IPKG_KERNEL) install `ls packages/$${package}_*`; \
|
$(IPKG_KERNEL) install `ls packages/$${package}_*`; \
|
||||||
done
|
done
|
||||||
if [ -d ./files ]; then \
|
if [ -d ./files ]; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user