aboutsummaryrefslogtreecommitdiff
path: root/boot/grub2
Commit message (Collapse)AuthorAgeFilesLines
* bootlader/grub2: disable x86-64-efi choice on !BR2_ARCH_IS_64Gravatar Samuel Martin2015-02-031-0/+1
| | | | | | | | | | | When x86-64-efi platform is selected, grub2 automatically adds -m64 to the CFLAGS. This makes the configure script failed when the toolchain does not have multilib support (like the Buildroot ones). Reported-by: Noe Rubinstein <nrubinstein@aldebaran-robotics.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupGravatar Jerzy Grzegorek2014-10-261-3/+3
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub2: modify kernel location to /boot/zImageGravatar Alvaro G. M2014-10-111-1/+1
| | | | | | | | | This is the location where buildroot install the image if requested, so this should be the default search path for the bootloader. Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_INSTALL_TARGET_OPT into FOO_INSTALL_TARGET_OPTSGravatar Thomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableGravatar Jerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: add a tip to create disk image w/o root permissionGravatar Jérôme Pouiller2014-07-231-2/+26
| | | | | | | [Thomas: minor fixes/improvements.] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: fix a few minor issues in help textGravatar Thomas Petazzoni2014-07-151-3/+6
| | | | | | | | | | | | | | | The help text of grub2 explains the detailed steps to create a disk image with grub2 installed on it. However, the steps for the BIOS-based systems have a few minor issues fixed by this patch: - When calling partx to get the partitions detected, we should do it on the /dev/loop0 block device, and not on the underlying disk.img image file. - The grub-bios-setup utility must be called as root to work properly on /dev/loop0. - The steps to cleanup the partx and loop device were missing. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: Specify boot partitionGravatar Jérôme Pouiller2014-07-022-4/+19
| | | | | | | | | | Since boot partition was not specified, grub tools try to detect it automatically. This patch add an option to force it. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub2: add a configuration option to embed a config fileGravatar Dima Zavin2014-04-202-0/+10
| | | | | | | Add an option for embedding a config file directly in grub. Signed-off-by: Dima Zavin <dmitriyz@google.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: add new packageGravatar Thomas Petazzoni2014-02-194-0/+235
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* grub2: remove packageGravatar Thomas Petazzoni2011-07-102-102/+0
| | | | | | | | | | | | | | | | | | | | | Grub 2 has been marked BROKEN in June 2010, and nobody cared to fix it since then. At that time, it was marked broken because the build process needed a Ruby interpreter available on the host, and it's really a pain that building a bootloader needs such a thing. I've tried to upgrade the package to Grub2 1.99-rcX, and now it does not need a Ruby interpreter anymore, but instead requires a tool called "autogen", which itself needs the Guile Scheme interpreter. Since we haven't heard any complaints about Grub2 being marked broken, and since it's such a pain to package, let's get rid of it. Of course, anybody interested in Grub2 is invited to contribute a working package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update all packages to quote $(TARGET_CC)Gravatar Thomas Petazzoni2010-07-071-2/+2
| | | | | | | Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: only available on x86 and PowerPC and mark as BROKENGravatar Thomas Petazzoni2010-06-121-0/+5
| | | | | | | | | | | | | The build process of grub2 breaks the compilation. It breaks with: ./configure: line 4766: syntax error near unexpected token `external' ./configure: line 4766: `AM_GNU_GETTEXT(external)' In addition to this, it later requires Ruby. Do we really want to make Buildroot depend on Ruby being installed on the host ? Do we really want to build our own Ruby ? Do we even care about Grub2 ? Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: remove non-existing optionsGravatar Thomas Petazzoni2010-06-122-36/+0
| | | | | | | | Much of the grub2.mk seems to have been copy/pasted from grub.mk. However, all the network/splashimage related ./configure options do not exist in grub2. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: fix buildGravatar Thomas Petazzoni2010-06-122-45/+27
| | | | | | | | grub2 now builds fine, but some work remains to make it usable. What should be installed exactly in the TARGET_DIR ? What is the installation procedure and what should Buildroot do ? Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: bump versionGravatar Thomas Petazzoni2010-06-121-4/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub/grub2: update splash image locationGravatar Thomas Petazzoni2010-06-121-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub/grub2: drop unnecessary dependency on uclibcGravatar Thomas Petazzoni2010-06-121-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* grub2: remove GRUB2_ARCH_SUPPORTEDGravatar Thomas Petazzoni2010-06-121-19/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bootloaders: move bootloader build code to boot/Gravatar Thomas Petazzoni2010-06-103-0/+170
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>