From a576ed5437b00e0984712c6f38f8c11b0ed15b48 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 11 Jul 2017 02:49:34 +0200 Subject: [PATCH] scripts/gen_image_generic.sh: move from x86/image The script can also be useful for other targets. Signed-off-by: Stijn Tintel --- {target/linux/x86/image => scripts}/gen_image_generic.sh | 0 target/linux/x86/image/Makefile | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {target/linux/x86/image => scripts}/gen_image_generic.sh (100%) 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 d3005d79c3..8a3cb327e3 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) \ -- 2.30.2