aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imagebuilder
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-11-19 14:07:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-11-19 14:07:32 +0000
commit72d71423519295b5019fc36092a9f914298f9e97 (patch)
treeae3c771805886b1b08613c9582e07ddb47ce5574 /target/linux/imagebuilder
parent9bc0c613498f7f9a574cb7b3f6a0e70bac523699 (diff)
downloadupstream-72d71423519295b5019fc36092a9f914298f9e97.tar.gz
upstream-72d71423519295b5019fc36092a9f914298f9e97.tar.bz2
upstream-72d71423519295b5019fc36092a9f914298f9e97.zip
allow comment lines in the image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2533 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imagebuilder')
-rw-r--r--target/linux/imagebuilder/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/imagebuilder/Makefile b/target/linux/imagebuilder/Makefile
index c70fb11e93..0ec71199c7 100644
--- a/target/linux/imagebuilder/Makefile
+++ b/target/linux/imagebuilder/Makefile
@@ -36,7 +36,7 @@ build:
mkdir -p $(LINUX_BUILD_DIR)/root
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
- 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}_*`; \
done
if [ -d ./files ]; then \