summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2010-09-30 14:47:09 +0200
committerJuergen Daubert <jue@jue.li>2010-09-30 14:47:09 +0200
commite54df927ad12c0de9ac13b98d31f06539de31199 (patch)
treeb95db958937c778469fe55f1bd3b5941230a9a6c /Makefile
parentd8d438bd8e4e47b00482d2b4ee093996d4e202c8 (diff)
downloadiso-e54df927ad12c0de9ac13b98d31f06539de31199.tar.gz
iso-e54df927ad12c0de9ac13b98d31f06539de31199.tar.xz
Makefile: fix for source-iso target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cbfc488..cff8bbb 100644
--- a/Makefile
+++ b/Makefile
@@ -431,14 +431,14 @@ iso: image-base memtest
@echo "Done"
-source-iso: busybox-source packages.all iso/squashfs$(SQUASHFS_VERSION).tar.gz iso/syslinux-$(SYSLINUX_VERSION).tar.gz
+source-iso: busybox-source packages.all iso/squashfs$(SQUASHFS_VERSION).tar.gz iso/syslinux-$(SYSLINUX_VERSION).tar.gz kernel/linux-$(KERNEL_VERSION).tar.bz2
@echo "Creating ISO image with sources ($(SRCISO_FILENAME))"
@rm -rf $(SRCISO_ROOT_DIR)
@mkdir -p $(SRCISO_ROOT_DIR)/{ports,kernel,misc}
@echo "- Copying ports"
@for PORT in $(shell /bin/cat packages.all); do \
find $(PORTS_DIR) -mindepth 2 -maxdepth 2 -name $$PORT -type d -exec cp -r {} $(SRCISO_ROOT_DIR)/ports \; ; \
- rm $(SRCISO_ROOT_DIR)/ports/$$PORT/{.footprint,.md5sum,*.$(PKG_EXT}; \
+ rm -f $(SRCISO_ROOT_DIR)/ports/$$PORT/{.footprint,.md5sum,*.$(PKG_EXT)}; \
done
@echo "- Copying misc sources"
@cp busybox/busybox-$(BB_VERSION).tar.bz2 $(SRCISO_ROOT_DIR)/misc

Generated by cgit