Colin Watson
|
fd49ceb35c
|
Apply program name transformations at build-time rather than at
run-time. Fixes Debian bug #696465.
* acinclude.m4 (grub_TRANSFORM): New macro.
* configure.ac: Create output variables with transformed names for
most programs.
* util/bash-completion.d/grub-completion.bash.in: Use
pre-transformed variables for program names.
* util/grub-install.in: Likewise.
* util/grub-kbdcomp.in: Likewise.
* util/grub-mkconfig.in: Likewise.
* util/grub-mkconfig_lib.in: Likewise.
* util/grub-mknetdir.in: Likewise.
* util/grub-mkrescue.in: Likewise.
* util/grub-mkstandalone.in: Likewise.
* util/grub-reboot.in: Likewise.
* util/grub-set-default.in: Likewise.
* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
* tests/util/grub-shell-tester.in: Remove unused assignment.
* tests/util/grub-shell.in: Likewise.
* util/grub.d/00_header.in: Likewise.
|
2012-12-28 06:57:17 +00:00 |
|
Jiri Slaby
|
8e832f715b
|
* configure.ac: Add SuSe path.
|
2012-09-05 16:09:41 +02:00 |
|
Grégoire Sutre
|
ce93814031
|
Strengthen the configure test for working -nostdinc -isystem.
|
2012-08-05 16:49:03 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
5f91f70146
|
* configure.ac: Bump version to 2.00.
* grub-core/normal/main.c (features): Add feature_200_final.
|
2012-06-28 02:06:36 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
8a4d6a445b
|
* configure.ac: Bump to 2.00~rc1.
|
2012-06-23 22:56:19 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
37ba07ebaf
|
Extend automated tests to qemu-mips.
* Makefile.am: reorganise tests and enable qemu-mips.
* configure.ac (COND_mipseb), (COND_mipsel): New conditions.
* grub-core/tests/boot/linux.init-mips.S: New file.
* tests/partmap_test.in: Handle ata0 disks.
* tests/util/grub-shell.in: Handle qemu-mips. Make defaults work on
non-pc i386.
|
2012-06-06 12:36:33 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
2b34f94455
|
* configure.ac: Bump to beta6.
|
2012-05-31 15:44:37 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
b105df76f4
|
* configure.ac: Add condition for COND_HOST_XNU.
* Makefile.util.def (10_xnu): New script.
* util/grub.d/10_xnu.in: New file, extracted from 30_os_prober.in.
|
2012-05-29 13:56:21 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
6fd0b14394
|
* configure.ac: Remove APPLE_CC and add -Wl,-allow_stack_execute on
Apple.
|
2012-05-28 17:58:33 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
c2deb798a2
|
* configure.ac: Remove -Wunitialized as it's not available on older
compilers.
|
2012-05-26 12:03:47 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
501b9e4bf4
|
* configure.ac: Fix djvu font detection.
|
2012-05-25 00:28:43 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
319621d0a5
|
* configure.ac: Bump to beta5.
|
2012-05-09 14:36:17 +02:00 |
|
Mads Kiilerich
|
32745f5131
|
* configure.ac: Detect starfield theme font path
/usr/share/fonts/dejavu/DejaVuSans.ttf for Fedora.
|
2012-04-29 18:15:24 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
56f7aa1e6f
|
* configure.ac: Bump to beta4.
|
2012-04-19 11:34:43 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
9b83956ab9
|
* configure.ac: Increase version.
|
2012-04-01 21:54:45 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
b63d89b684
|
* configure.ac: Bump up the version to beta2.
|
2012-03-10 23:52:47 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
8e56f87007
|
* configure.ac: Decrease warning level to avoid spurious warnings and
to be able to compile with GCC 4.2.
* Makefile.util.def: Remove -Wno-error=logical-op.
|
2012-03-10 21:30:37 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
559dc587f7
|
* configure.ac: Bump up the version to beta1.
|
2012-03-05 01:50:43 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
f04a9a216c
|
* configure.ac: Fix a typo in previous commit.
|
2012-02-29 17:50:27 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
46cf439c98
|
Don't add -Wl,-N on Apple platform.
* configure.ac (TARGET_LDFLAGS_OLDMAGIC): New subst.
* conf/Makefile.common: Use TARGET_LDFLAGS_OLDMAGIC instead of -Wl,-N
|
2012-02-29 16:30:20 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
7bd8b0c776
|
* acinclude.m4 (grub_CHECK_PIC): New test.
* configure.ac: Add -fno-PIC to TARGET_CFLAGS if -fPIC is default.
|
2012-02-29 15:30:11 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
dfc8aeb042
|
* configure.ac: Restore CFLAGS after efiemu check.
|
2012-02-29 15:12:31 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
403e25a539
|
* configure.ac: Move -fnested-functions to CPPFLAGS to workaround
Apple bug.
|
2012-02-29 15:10:13 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
541d92e912
|
* configure.ac: Bump to 2.00~beta0.
|
2012-02-28 04:28:40 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
071114bb3e
|
* configure.ac: Put platform and target_cpu substitutions back since
they are used for directories.
|
2012-02-27 19:10:02 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
53f13848f1
|
Remove platform and target_cpu replacement.
* configure.ac: Remove platform and target_cpu substitutions.
* tests/util/grub-shell.in: Use modinfo.
* util/powerpc/ieee1275/grub-mkrescue.in: Specify powerpc-ieee1275
explicitly.
|
2012-02-27 16:46:52 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
c36e5cd162
|
Remove any awareness of *.c util files about target.
* Makefile.util.def (grub-setup): Split to ...
(grub-bios-setup): ... and this.
(grub-sparc64-setup): ... and this.
* configure.ac: Don't add machine_CPPFLAGS into HOST_CPPFLAGS.
* docs/man/grub-setup.h2m: Split into ...
* docs/man/grub-sparc64-setup.h2m: ... this.
* docs/man/grub-bios-setup.h2m: ... and this.
* include/grub/dl.h (grub_dl) [GRUB_UTIL]: Remove struct.
* include/grub/elf.h (Elf_*) [GRUB_UTIL]: Remove types.
(GRUB_TARGET_WORDSIZE) [GRUB_UTIL]: Remove.
(grub_target_addr_t): Remove.
(grub_target_size_t): Remove.
(grub_target_ssize_t): Remove.
* util/grub-install.in: Use new grub-*-setup.
* util/grub-mkimagexx.c (Elf_Word): New define.
(Elf_Half): Likewise.
(Elf_Section): Likewise.
(ELF_ST_TYPE): Likewise.
* util/grub-setup.c: Switch from GRUB_MACHINE_SPARC64 to
GRUB_SETUP_SPARC64 and from GRUB_MACHINE_PCBIOS to GRUB_SETUP_BIOS.
|
2012-02-27 14:24:22 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
7134247cd8
|
* configure.ac: Remove inappropriate use of program_transform_name
on grubdir and bootdir but allow explicit specification of those
variables.
|
2012-02-27 11:34:31 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
8151bc82f7
|
Remove improper use of program_transform_name on pkglibrootdir.
* configure.ac (pkglibrootdir): Removed.
(grub-mkimage): Replace PKGLIBROOTDIR with PKGLIBDIR.
* util/grub-mkimage.c: Likewise.
|
2012-02-27 10:35:37 +01:00 |
|
Mike Gilbert
|
e4c498a106
|
Add configure flag to control libzfs integration.
* configure.ac: Add AC_ARG_ENABLE(libzfs ...) and associated logic.
|
2012-02-27 00:57:48 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
4e27343fb0
|
* conf/Makefile.common (CFLAGS_GNULIB): Add
-Wno-unsafe-loop-optimizations.
* configure.ac: Remove -Wmissing-declarations and -Wmissing-prototypes
on tools.
* grub-core/commands/legacycfg.c: Add pragma to skip
-Wunsafe-loop-optimizations.
(check_password_md5_real): Fix loop counter type.
* grub-core/commands/testload.c (grub_cmd_testload): Fix over the EOF
reading.
* grub-core/disk/ldm.c (grub_util_get_ldm): Fix logic error.
* grub-core/fs/zfs/zfs_sha256.c (zio_checksum_SHA256): Add safety
loop condition.
* grub-core/io/gzio.c: Add pragma to skip -Wunsafe-loop-optimizations.
* grub-core/lib/LzmaEnc.c (GetOptimum): Avoid possible infinite loop.
* grub-core/net/net.c (grub_net_route_address): Add safety loop
condition.
* grub-core/normal/charset.c (bidi_line_wrap): Likewise.
* grub-core/normal/cmdline.c (grub_set_history): Fix loop types and
avoid possible infinite loops.
* grub-core/script/parser.y: Add pragma to skip -Wmissing-declarations
and -Wunsafe-loop-optimizations.
* grub-core/script/yylex.l: Likewise.
* util/grub-mkfont.c: Add pragma to skip -Wunsafe-loop-optimizations.
(print_glyphs): Avoid infinite loops.
* util/grub-mkimage.c (compress_kernel_xz): Fix format security.
|
2012-02-24 12:30:32 +01:00 |
|
Dalet Omega
|
c588497385
|
Starfield theme.
* Makefile.am: Define starfield_DATA and dejavu.pf2 generation.
* conf/Makefile.common: Define starfielddir.
* configure.ac: Configure starfield.
* themes/starfield/COPYING.CC-BY-SA-3.0: New file.
* themes/starfield/README: Likewise.
* themes/starfield/blob_w.png: Likewise.
* themes/starfield/boot_menu_c.png: Likewise.
* themes/starfield/boot_menu_e.png: Likewise.
* themes/starfield/boot_menu_n.png: Likewise.
* themes/starfield/boot_menu_ne.png: Likewise.
* themes/starfield/boot_menu_nw.png: Likewise.
* themes/starfield/boot_menu_s.png: Likewise.
* themes/starfield/boot_menu_se.png: Likewise.
* themes/starfield/boot_menu_sw.png: Likewise.
* themes/starfield/boot_menu_w.png: Likewise.
* themes/starfield/slider_c.png: Likewise.
* themes/starfield/slider_n.png: Likewise.
* themes/starfield/slider_s.png: Likewise.
* themes/starfield/src/blob_nw.xcf: Likewise.
* themes/starfield/src/bootmenu/: Likewise.
* themes/starfield/src/bootmenu/center.xcf: Likewise.
* themes/starfield/src/bootmenu/corner.xcf: Likewise.
* themes/starfield/src/bootmenu/side.xcf: Likewise.
* themes/starfield/src/slider_c.xcf: Likewise.
* themes/starfield/src/slider_n.xcf: Likewise.
* themes/starfield/src/slider_s.xcf: Likewise.
* themes/starfield/src/terminalbox/: Likewise.
* themes/starfield/src/terminalbox/center.xcf: Likewise.
* themes/starfield/src/terminalbox/corner.xcf: Likewise.
* themes/starfield/src/terminalbox/side.xcf: Likewise.
* themes/starfield/starfield.png: Likewise.
* themes/starfield/terminal_box_c.png: Likewise.
* themes/starfield/terminal_box_e.png: Likewise.
* themes/starfield/terminal_box_n.png: Likewise.
* themes/starfield/terminal_box_ne.png: Likewise.
* themes/starfield/terminal_box_nw.png: Likewise.
* themes/starfield/terminal_box_s.png: Likewise.
* themes/starfield/terminal_box_se.png: Likewise.
* themes/starfield/terminal_box_sw.png: Likewise.
* themes/starfield/terminal_box_w.png: Likewise.
* themes/starfield/theme.txt: Likewise.
|
2012-02-23 17:21:38 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
9d369087a9
|
* configure.ac: Disable for now -Wstack-protector, -Wunreachable-code
and -Wunused-result.
|
2012-02-22 04:56:45 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
aad32b1402
|
* configure.ac: Add -fno-builtin-gettext on host if NLS is disabled.
|
2012-02-21 15:26:16 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
78dde88e8c
|
* configure.ac: Remove -Winline altogether and -Wmissing-prototypes on
utils.
* util/import_gcry.py: Add -Wno-strict-aliasing on checked modules.
|
2012-02-11 12:21:21 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
ebcecdf1c3
|
Increase warning level.
* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-redundant-decls
-Wno-unreachable-code -Wno-conversion -Wno-old-style-definition.
* configure.ac (HOST_CFLAGS): Add bunch of -W arguments.
(TARGET_CFLAGS): Likewise.
(HOST_CFLAGS): Add -Werror unless --disable-werror is activated.
* grub-core/Makefile.core.def (decompressor_xz): Add
-Wno-unreachable-code.
(normal): Add -Wno-redundant-decls.
(xzio): Add -Wno-unreachable-code.
(lzopio): Add -Wno-redundant-decls -Wno-error.
* grub-core/commands/acpi.c: Add exception to -Wcast-align.
* grub-core/commands/lsacpi.c: Add exception to -Wcast-align.
* grub-core/gensymlist.sh: Add exception to -Wmissing-format-attribute.
* grub-core/kern/dl.c: Add exception to -Wcast-align.
* grub-core/kern/efi/efi.c (grub_efi_modules_addr): Likewise.
* grub-core/kern/i386/coreboot/init.c: Add exception to
-Wsuggest-attribute=noreturn.
* grub-core/kern/ia64/dl.c: Add exception to -Wcast-align.
* grub-core/kern/ia64/dl_helper.c: Likewise.
* grub-core/kern/mips/dl.c: Likewise.
* grub-core/kern/sparc64/dl.c: Likewise.
* grub-core/lib/LzmaEnc.c: Add exception to -Wshadow.
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h (memcpy): Likewise.
(memcmp): Likewise.
* grub-core/lib/pbkdf2.c: Add exception to -Wunreachable-code.
* grub-core/loader/ia64/efi/linux.c: Add exception to -Wcast-align.
* grub-core/loader/mips/linux.c: Likewise.
* grub-core/loader/multiboot_elfxx.c: Likewise.
* grub-core/script/parser.y: Add exception to -Wunreachable-code.
* grub-core/video/sm712.c: Add exception to -Wcast-align.
* util/import_gcry.py: Add -Wno-cast-align to modules checked by hand.
* grub-core/font/font.c (grub_font_loader_init): Add explicit cast and
fixme.
* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Likewise.
* grub-core/kern/i386/multiboot_mmap.c (grub_machine_mmap_init):
Fix prototype.
|
2012-02-10 16:48:48 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
92cd0f6e45
|
Move platform-dependent files from $prefix to $prefix/$platform.
* config.h.in (GRUB_TARGET_CPU): New definition.
(GRUB_PLATFORM): Likewise.
* configure.ac: Define GRUB_TARGET_CPU and GRUB_PLATFORM.
* grub-core/commands/parttool.c (grub_cmd_parttool): Update dir.
* grub-core/efiemu/main.c (grub_efiemu_autocore): Likewise.
* grub-core/kern/dl.c (grub_dl_load): Likewise.
* grub-core/normal/autofs.c (read_fs_list): Likewise.
* grub-core/normal/crypto.c (read_crypto_list): Likewise.
* grub-core/normal/dyncmd.c (read_command_list): Likewise.
* grub-core/normal/term.c (read_terminal_list): Likewise.
* grub-core/gettext/gettext.c (grub_mofile_open_lang): Use
$prefix/locale.
(grub_gettext_init_ext): Likewise.
* grub-core/normal/main.c (GRUB_MOD_INIT): Define grub_cpu and
grub_platform.
* util/grub-install.in: Update directories.
* util/grub-mknetdir.in: Likewise.
* util/grub-mkrescue.in: Likewise.
|
2012-02-04 21:47:29 +01:00 |
|
Mario Limonciello
|
d779e9bdac
|
* configure.ac: Add back in test for limits.h.
|
2012-01-22 16:43:14 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
3ec0fc1c3b
|
Make XZ compression parameters dependent on target and not host CPU.
* configure.ac: Define GRUB_TARGET_CPU_XYZ series.
* grub-core/lib/xzembed/xz_config.h: Use GRUB_TARGET_CPU_XYZ.
|
2012-01-18 13:59:03 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
64e3f8f6fe
|
* configure.ac: Refise build qemu_mips w/o unifont.
|
2012-01-14 23:32:18 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
30c7d3ce34
|
Fix efiemu.
* grub-core/efiemu/runtime/efiemu.c: explicitly include right
cpu/types.h.
(efiemu_set_virtual_address_map): Remove UINT_TO_PTR.
* configure.ac: Fix efiemu check.
|
2012-01-13 15:12:28 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
e9d3421c05
|
* configure.ac: Add -fno-asynchronous-unwind-tables.
|
2011-11-12 19:18:42 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
b93f1278a3
|
merge mainline into fuse
|
2011-11-12 00:42:18 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
19e81ba7a0
|
* configure.ac: Add missing -mXX to TARGET_CPPFLAGS.
|
2011-11-09 14:44:21 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
62ee9685a4
|
Merge mainline into fuse
|
2011-11-08 16:34:35 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
958ee22168
|
Illumos support.
* Makefile.util.def (10_illumos): New script.
* configure.ac: Set COND_HOST_ILLUMOS.
* grub-core/kern/emu/hostdisk.c (grub_util_get_fd_sectors) [__sun__]:
Support Illumos calls.
(find_partition_start) [__sun__]: Likewise.
(convert_system_partition_to_system_disk) [__sun__]: Likewise.
(device_is_wholedisk) [__sun__]: Handle Illumos naming scheme.
(grub_util_biosdisk_get_grub_dev) [__sun__]: Handle Illumos.
* util/getroot.c (find_root_device_from_libzfs) [__sun__]: Return raw
device.
* util/grub-probe.c (probe) [__sun__]: Do character check.
* util/grub.d/10_illumos.in: New file.
|
2011-11-08 12:38:30 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
2afb7f6cbf
|
* configure.ac: Check for __ctzdi2 and __ctzsi2.
* include/grub/libgcc.h: Include __ctzdi2 and __ctzsi2 if present.
|
2011-10-16 15:15:35 +02:00 |
|
Vladimir 'phcoder' Serbinenko
|
9594c6897e
|
* configure.ac: Don't impose march=loongson2f on loongson platform. (It
can still be specified in TARGET_CFLAGS)
|
2011-08-19 22:49:48 +02:00 |
|
Szymon Janc
|
055e2b8b4f
|
* configure.ac: Fixed typo in --enable-cache-stats description.
|
2011-08-19 17:24:18 +02:00 |
|
Szymon Janc
|
99cecb4fc7
|
merge trunk
|
2011-08-13 15:00:48 +02:00 |
|