Commit Graph

24 Commits (85905945f57f2a94bd608262b76f547527459ad1)

Author SHA1 Message Date
Jo-Philipp Wich b0aaa47be0 [package] grub: fix build with automake v1.11.3 (#11228)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 18:10:15 +00:00
Felix Fietkau 7a010ef4d1 package/grub: fix stage2 link with recent binutils
We want the `_start's symbols to be at the very beginning of the `stage2'
binary's `.text' section. However, nothing enforces this requirement. With
recent binutils (ie. post 2.19.1), this results in a corrupt binary, as ld(1)
puts another symbol (eg. `journal_init') at the beginning of the section.

Fix this by providing a stripped down version of the default linker script
where we enforces the position of `_start' in the `.text' section.

Patch by Arnaud Lacombe (#10444)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:40:18 +00:00
Jo-Philipp Wich afaf337b00 [package] grub: improve package requirement error, patch by Jim Cromie <jim.cromie@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-04 14:33:35 +00:00
Imre Kaloz 408c8b61cb [package/grub]: add ext4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 11:27:47 +00:00
Alexandros C. Couloumbis c00e442f45 package/grub: revert accidental/unessesery grub commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 16:43:46 +00:00
Alexandros C. Couloumbis 5dab71a402 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 16:39:08 +00:00
Alexandros C. Couloumbis cd3128399a package/grub: fix build issues under 64bit FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-30 14:48:31 +00:00
Alexandros C. Couloumbis f28c03f530 package/grub: fix compile issue under FreeBSD 8.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-29 16:27:00 +00:00
Nicolas Thill 820b2168d5 package/grub: add a prereq check for 32 bits host development files when building on x86_64 (closes: #7753)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 09:12:46 +00:00
Felix Fietkau 439ca1b72b grub: compile fixes for Mac OS X (based on patches by Jukka Ylitalo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:48:05 +00:00
Nicolas Thill 98af872a32 package/grub: only disable graphics on host grub
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 14:49:49 +00:00
Nicolas Thill 443cf0e427 package/grub: build a host grub and a target grub (#7269)
- use the host grub binary for grub install, but with target stage files
 - disable SSP (-fno-stack-protector) & Compile Time Buffer Checks (-U_FORTIFY_SOURCE) if appropriate
 - create a target grub package


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-02 17:32:25 +00:00
Alexandros C. Couloumbis 60cfd441cc package/grub: fix x86_64 issue (closes #7248)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-30 07:07:20 +00:00
Alexandros C. Couloumbis 0ebeb0aa43 package/grub: fix cross compile options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 11:42:48 +00:00
Alexandros C. Couloumbis cac4162fa0 package/grub: play it safe, cross compile everywhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-07 21:23:09 +00:00
Imre Kaloz 12cf54780d refresh grub patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-18 12:10:12 +00:00
Nicolas Thill 74f9a035ae [package] grub: fix potential build issues on redhat/fedora host systems (should close: #3793)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 23:08:08 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau 90c2b1166f make grub compilable under fedora core 8 and other newer distros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-02 15:15:33 +00:00
Felix Fietkau 3f198c6c0e x86: don't attempt to compile grub on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 17:54:44 +00:00
Andy Boyett 38bedf1cfd [x86] grub: Natively build grub only on x86 linux hosts, cross compile everywhere else.
- Closes #3560


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-20 01:43:20 +00:00
John Crispin 0da9aba96e more package submenus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 19:08:16 +00:00
Felix Fietkau 6c533f0b92 move grub menu.lst to the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-09 16:57:12 +00:00
Felix Fietkau a1d7a399e4 move grub to package/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-09 03:19:07 +00:00