summaryrefslogtreecommitdiffstats
path: root/rules/grub.make
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2006-11-22 14:53:29 +0000
committerSascha Hauer <s.hauer@pengutronix.de>2006-11-22 14:53:29 +0000
commit9cb62fc3bcbb004269907ee4c798be2595033860 (patch)
treea8d2468975300379a6156247d27f7a2d14d1ac59 /rules/grub.make
parent1e1e63cc5f27b9714c273b9dc28eff2a3f354eee (diff)
downloadptxdist-9cb62fc3bcbb004269907ee4c798be2595033860.tar.gz
ptxdist-9cb62fc3bcbb004269907ee4c798be2595033860.tar.xz
allow installation of a /boot/grub/menu.lst
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6362 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/grub.make')
-rw-r--r--rules/grub.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/grub.make b/rules/grub.make
index 6c00516c3..7523d61f6 100644
--- a/rules/grub.make
+++ b/rules/grub.make
@@ -474,6 +474,10 @@ $(STATEDIR)/grub.targetinstall: $(grub_targetinstall_deps_default)
@$(call install_copy, grub, 0, 0, 0644, $(GRUB_DIR)/stage1/stage1, /boot/grub/stage1, n)
@$(call install_copy, grub, 0, 0, 0644, $(GRUB_DIR)/stage2/stage2, /boot/grub/stage2, n)
+ @if [ -n $(PTXCONF_GRUB_MENU_LST) ]; then \
+ $(call install_copy, grub, 0, 0, 0644, $(PTXCONF_GRUB_MENU_LST), /boot/grub/menu.lst, n) \
+ fi
+
ifdef PTXCONF_GRUB_ISO9660
@$(call install_copy, grub, 0, 0, 0644, $(GRUB_DIR)/stage2/iso9660_stage1_5, /boot/grub/iso9660_stage1_5, n)
@$(call install_copy, grub, 0, 0, 0644, $(GRUB_DIR)/stage2/stage2_eltorito, /boot/grub/stage2_eltorito, n)