28 Commits

Author SHA1 Message Date
Rudi Heitbaum
14ff6cff7f grub: enable build with gcc-12.1.0
upstream patches
2022-05-08 05:03:32 +00:00
heitbaum
3ec4ccdf11 grub: fix builds on non x86_64 build hosts by using TARGET_ for build
With these changes configure_target no longer complains about no-prefix
on cross compiling. On an aarch64 build host the target_ compile fails
when the build host gcc is used with the -m32 option. On an x86_64 build
host, the host gcc compiles grub (-m32 and assembly) successfully.

before:

checking for i386-pc-linux-gcc... no
checking for i386-pc-linux-egcs... no
checking for i386-pc-linux-cc... no
checking for gcc... gcc
configure: WARNING: using cross tools not prefixed with host triplet
checking for i386-pc-linux-objcopy... no
checking for objcopy... objcopy
checking for i386-pc-linux-strip... no
checking for strip... strip
checking for i386-pc-linux-nm... no
checking for nm... nm
checking for i386-pc-linux-ranlib... no
checking for ranlib... ranlib
checking which extra warnings work...
checking if compiling with clang... yes
checking for options to compile assembly... configure: error: could not compile assembly

after:

checking for i386-pc-linux-gcc...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
checking for i386-pc-linux-objcopy...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-objcopy
checking for i386-pc-linux-strip...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip
checking for i386-pc-linux-nm...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-nm
checking for i386-pc-linux-ranlib...  /build/build.LibreELEC-Generic.x86_64-11.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-ranlib
2022-03-19 09:56:03 +00:00
CvH
3ac6036902
Merge pull request #5091 from heitbaum/grub2
grub: use host:grub-mkimage to run grub - fix glibc host and target mismatched
2022-03-19 10:22:36 +01:00
vpeter4
11f7c0ae85 grub: use toolchain glibc to execute grub-mkimage 2021-02-06 06:38:48 +00:00
heitbaum
dac742ed97 gnulib: update to 2021-01-02
update d271f86 (2019-01-04) to ebaa53c (2021-01-02)
changelog: http://git.savannah.gnu.org/cgit/gnulib.git/tree/ChangeLog
news: http://git.savannah.gnu.org/cgit/gnulib.git/tree/NEWS

include patch to grub to support: gnulib-tool: *** minimum supported
autoconf version is 2.64. Try adding AC_PREREQ([2.64]) to your
configure.ac.
2021-01-20 11:34:13 +00:00
Ian Leonard
bd3b212848 tools: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:19 +00:00
heitbaum
673bab0dc6 grub: update to 2020-12-18
update 2df2912 (2020-09-18) to 635ef55 (2020-12-18)
changelog: http://git.savannah.gnu.org/cgit/grub.git/log/
2021-01-14 10:26:51 +00:00
heitbaum
9848085131 grub: update to latest 2020-12-25 13:08:22 +00:00
MilhouseVH
d6c5767608 grub: update to grub-6a34fdb 2020-06-24 20:56:40 +02:00
Andre Heider
8f96b795cd grub: add missing PKG_DEPENDS_UNPACK
gnulib is accessed using get_build_dir().
2020-02-10 08:53:39 +01:00
Jonas Karlman
24916d2f87 grub: depend on gettext 2020-01-05 23:44:36 +00:00
MilhouseVH
d844c63533 grub: update to grub-2.04 2019-07-05 14:24:52 +01:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
MilhouseVH
c19a3ff780 packages: setup_toolchain $TARGET only called after package is sourced
Packages referencing variables defined in setup_toolchain such as CC, CXX,
AR, CFLAGS, LDFLAGS, HOST_CC etc. etc. must only reference these variables in
pre_build()/pre_configure()/pre_make() etc. functions, as the variables will not
be available when the package is sourced, but will be available after the call
to setup_toolchain() from scripts/build.
2018-12-18 03:43:28 +00:00
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
4317bc5002 cleanup: remove PKG_SECTION 2018-10-22 15:06:11 +02:00
CvH
1690150728 spdx: packages/tools 2018-07-18 22:37:47 +02:00
Sascha Kuehndel (InuSasha)
2c47bfbb0e
grub: fix build with gcc8 with upstream patch 2018-06-04 20:17:29 +02:00
Matthias Reichl
937d13313e grub: drop lto build flag
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:29 +02:00
Sascha Kuehndel (InuSasha)
8827a540aa
buildsystem: add BUILD_FLAG support
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)

All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk

Thanks to @MilhouseVH, for support and fixing
2018-03-07 18:35:01 +01:00
Sascha Kuehndel (InuSasha)
da38cd92e3
buildsystem: set PKG_TOOLCHAIN for packages, that need it 2017-11-22 00:41:13 +01:00
Sascha Kuehndel (InuSasha)
3846ec7dac
buildsystem: replace PKG_AUTORECONF 2017-11-22 00:41:12 +01:00
CvH
9007afa2a6 Merge pull request #2109 from MilhouseVH/le90_fix_missing_sha
ncurses: update to ncurses-6.0-20171007
2017-10-16 01:43:53 +02:00
cvh
837b447b7c decommission PKG_IS_ADDON 2017-10-16 00:01:20 +02:00
MilhouseVH
673e41ea55 grub: add missing PKG_SHA256 2017-10-14 22:33:10 +01:00
maideii
c268754d0d added EFI 32bit support via GRUB2-expanded all the config with variables 2017-10-10 11:31:49 +08:00
maideii
ccf8fddc1e added EFI 32bit support via GRUB2 omit tab indentation 2017-10-04 14:04:21 +08:00
maideii
8d501bbd3e added EFI 32bit support via GRUB2 2017-10-04 14:04:21 +08:00