aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86-2.6/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-25 17:59:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-25 17:59:23 +0000
commit738ca6f6571b30c80c5e64d2c40b0b3630ec3c29 (patch)
tree7cbc4e933c3130fbc408784d2cfe19f8f7912407 /target/linux/x86-2.6/image/Makefile
parent41ac34a2a29b21ff42c51336db6df34c134eb658 (diff)
downloadupstream-738ca6f6571b30c80c5e64d2c40b0b3630ec3c29.tar.gz
upstream-738ca6f6571b30c80c5e64d2c40b0b3630ec3c29.tar.bz2
upstream-738ca6f6571b30c80c5e64d2c40b0b3630ec3c29.zip
add optional padding for x86 grub images (useful for running jffs2 images in qemu)
SVN-Revision: 6359
Diffstat (limited to 'target/linux/x86-2.6/image/Makefile')
-rw-r--r--target/linux/x86-2.6/image/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86-2.6/image/Makefile b/target/linux/x86-2.6/image/Makefile
index dc1d333434..bb7d171faf 100644
--- a/target/linux/x86-2.6/image/Makefile
+++ b/target/linux/x86-2.6/image/Makefile
@@ -44,7 +44,7 @@ ifeq ($(CONFIG_X86_GRUB_IMAGES),y)
-e 's#@CMDLINE@#$(strip $(call Image/cmdline/$(1))) $(CONFIG_X86_GRUB_BOOTOPTS)#g' \
-e 's#@BAUDRATE@#$(CONFIG_X86_GRUB_BAUDRATE)#g' \
./grub/menu.lst > $(KDIR)/root.grub/boot/grub/menu.lst
- PATH="$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/bin:$(PATH)" ./gen_image.sh $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).image $(CONFIG_X86_GRUB_KERNELPART) $(KDIR)/root.grub $(CONFIG_TARGET_ROOTFS_FSPART) $(KDIR)/root.$(1)
+ PADDING="$(CONFIG_X86_GRUB_IMAGES_PAD)" PATH="$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/bin:$(PATH)" ./gen_image.sh $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).image $(CONFIG_X86_GRUB_KERNELPART) $(KDIR)/root.grub $(CONFIG_TARGET_ROOTFS_FSPART) $(KDIR)/root.$(1)
endef
endif