Last change
on this file was a114e09, checked in by Jakub Jermář <jakub@…>, 6 years ago |
Allow per-boot-architecture GRUB files
Organize pre-compiled GRUB binaries per-architecture in order to prepare
the layout for adding an AArch64-EFI version of this bootloader:
- Rename boot/grub.pc to boot/grub/ia32-pc.
- Rename boot/grub.efi to boot/grub/ia32-efi.
- Create symlinks boot/grub/amd64-pc and amd64-efi pointing to
boot/grub/ia32-pc and ia32-efi, respectively.
|
-
Property mode
set to
100644
|
File size:
2.3 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | # User-controllable options
|
---|
4 | grub_modinfo_target_cpu=x86_64
|
---|
5 | grub_modinfo_platform=efi
|
---|
6 | grub_disk_cache_stats=0
|
---|
7 | grub_boot_time_stats=0
|
---|
8 | grub_have_font_source=1
|
---|
9 |
|
---|
10 | # Autodetected config
|
---|
11 | grub_have_asm_uscore=0
|
---|
12 | grub_bss_start_symbol=""
|
---|
13 | grub_end_symbol=""
|
---|
14 |
|
---|
15 | # Build environment
|
---|
16 | grub_target_cc='gcc'
|
---|
17 | grub_target_cc_version='gcc (SUSE Linux) 4.8.5'
|
---|
18 | grub_target_cflags=' -Os -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2 -m64 -freg-struct-return -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow -msoft-float -fno-dwarf2-cfi-asm -mno-stack-arg-probe -fno-asynchronous-unwind-tables -fno-unwind-tables -mcmodel=large -mno-red-zone -Qn -fno-stack-protector -Wtrampolines -Werror'
|
---|
19 | grub_target_cppflags=' -Wall -W -DGRUB_MACHINE_EFI=1 -DGRUB_MACHINE=X86_64_EFI -m64 -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I$(top_srcdir)/include -I$(top_builddir)/include'
|
---|
20 | grub_target_ccasflags=' -g -m64 -msoft-float'
|
---|
21 | grub_target_ldflags=' -m64 -Wl,-melf_x86_64 -Wl,--build-id=none'
|
---|
22 | grub_cflags=''
|
---|
23 | grub_cppflags=' -D_FILE_OFFSET_BITS=64'
|
---|
24 | grub_ccasflags=''
|
---|
25 | grub_ldflags=''
|
---|
26 | grub_target_strip='strip'
|
---|
27 | grub_target_nm='nm'
|
---|
28 | grub_target_ranlib='ranlib'
|
---|
29 | grub_target_objconf=''
|
---|
30 | grub_target_obj2elf=''
|
---|
31 | grub_target_img_base_ldopt='-Wl,-Ttext'
|
---|
32 | grub_target_img_ldflags='@TARGET_IMG_BASE_LDFLAGS@'
|
---|
33 |
|
---|
34 | # Version
|
---|
35 | grub_version="2.02~beta2"
|
---|
36 | grub_package="grub"
|
---|
37 | grub_package_string="GRUB 2.02~beta2"
|
---|
38 | grub_package_version="2.02~beta2"
|
---|
39 | grub_package_name="GRUB"
|
---|
40 | grub_package_bugreport="bug-grub@gnu.org"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.