[source] scripts/gen_image_generic.sh: move from x86/image

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 13 23:47:03 PDT 2017


stintel pushed a commit to source.git, branch master:
https://git.lede-project.org/a576ed5437b00e0984712c6f38f8c11b0ed15b48

commit a576ed5437b00e0984712c6f38f8c11b0ed15b48
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Tue Jul 11 02:49:34 2017 +0200

    scripts/gen_image_generic.sh: move from x86/image
    
    The script can also be useful for other targets.
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 {target/linux/x86/image => scripts}/gen_image_generic.sh | 0
 target/linux/x86/image/Makefile                          | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/x86/image/gen_image_generic.sh b/scripts/gen_image_generic.sh
similarity index 100%
rename from target/linux/x86/image/gen_image_generic.sh
rename to scripts/gen_image_generic.sh
diff --git a/target/linux/x86/image/Makefile b/target/linux/x86/image/Makefile
index d3005d7..8a3cb32 100644
--- a/target/linux/x86/image/Makefile
+++ b/target/linux/x86/image/Makefile
@@ -83,7 +83,7 @@ ifneq ($(CONFIG_GRUB_IMAGES),)
 		-e 's#@TIMEOUT@#$(GRUB_TIMEOUT)#g' \
 		-e 's#@ROOT@#$(GRUB_ROOT)#g' \
 		./grub.cfg > $(KDIR)/root.grub/boot/grub/grub.cfg
-	PADDING="$(CONFIG_TARGET_IMAGES_PAD)" SIGNATURE="$(SIGNATURE)" PATH="$(TARGET_PATH)" ./gen_image_generic.sh \
+	PADDING="$(CONFIG_TARGET_IMAGES_PAD)" SIGNATURE="$(SIGNATURE)" PATH="$(TARGET_PATH)" $(SCRIPT_DIR)/gen_image_generic.sh \
 		$(BIN_DIR)/$(IMG_PREFIX)-combined-$(1).img \
 		$(CONFIG_TARGET_KERNEL_PARTSIZE) $(KDIR)/root.grub \
 		$(CONFIG_TARGET_ROOTFS_PARTSIZE) $(KDIR)/root.$(1) \



More information about the lede-commits mailing list