From e54df927ad12c0de9ac13b98d31f06539de31199 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Thu, 30 Sep 2010 14:47:09 +0200 Subject: [PATCH] Makefile: fix for source-iso target --- Makefile | 4 ++-- 1 file 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