Vladimir Serbinenko
a29f317af1
Allow compilation without thumb-interwork as long as no thumb is
...
involved or only thumb2 is used.
2013-12-18 13:33:39 +01:00
Vladimir Serbinenko
063f2a04d1
Use -Wl,--no-relax rather than -mno-relax for uniformity.
2013-12-18 13:13:23 +01:00
Vladimir Serbinenko
5f5bb10748
* conf/Makefile.extra-dist: Adjust path to conf/i386-cygwin-img-ld.sc.
2013-12-14 23:33:05 +01:00
Vladimir Serbinenko
60b967be7e
Make i386-* other than i386-pc compileable under cygwin.
2013-12-14 23:12:53 +01:00
Vladimir Serbinenko
eaf01c25fe
Add missing compile and link options for sparc64-emu.
2013-12-10 00:05:28 +01:00
Vladimir Serbinenko
c311ced5d7
Make arm-emu work.
2013-12-08 02:59:21 +01:00
Vladimir Serbinenko
4182262560
Don't add -mlong-calls when compiling with clang.
2013-12-06 11:58:17 +01:00
Vladimir Serbinenko
e3046431da
* conf/Makefile.common (CFLAGS_GNULIB): Remove -Wno-old-style-definition
...
as it's no longer necessarry.
2013-12-04 14:32:04 +01:00
Leif Lindholm
b29b77fee2
New port arm64-efi
2013-11-30 16:50:31 +01:00
Vladimir Serbinenko
af1faca3f8
* conf/Makefile.common: Remove -mexplicit-relocs and -DUSE_ASCII_FALLBACK on yeeloong.
...
-DUSE_ASCII_FALLBACK is already added by font snippets.
-mexplicit-relocs isn't needed is compiler/assemblera are
configured properly.
If they're not we shouldn't attempt to fix it by ourselves.
Binary compare between before and after shows no difference.
2013-11-29 03:45:50 +01:00
Colin Watson
ab4f15013a
Generate Makefile.*.am directly from gentpl.py, eliminating the use of Autogen. The Autogen definitions files remain intact as they offer a useful abstraction.
2013-11-26 17:13:01 +00:00
Vladimir Serbinenko
d6c92cdc34
Merge branch 'master' into leiflindholm/arm64
...
Conflicts:
include/grub/util/install.h
2013-11-25 13:02:27 +01:00
Vladimir Serbinenko
f93ddcfd1c
Don't add -mflush-func if it's not supported by compiler.
2013-11-23 12:40:44 +01:00
Vladimir Serbinenko
0d8f04cd83
Remove -march=mips3 from TARGET_CCASFLAGS as it creates linking problem
...
when rest of GRUB is compiled for hisher stepping. Instead use
.set mips3/.set mips1 around cache and sync opcodes.
2013-11-22 04:36:53 +01:00
Vladimir Serbinenko
48eb35cd78
* coreboot.cfg: Add missing file.
2013-11-20 00:52:23 +01:00
Colin Watson
4e7d433dfb
* Makefile.util.def (grub-mkimage): Add
...
grub-core/osdep/aros/config.c to extra_dist.
* conf/Makefile.extra-dist (EXTRA_DIST): Add docs/autoiso.cfg,
docs/osdetect.cfg, grub-core/gnulib-fix-null-deref.diff,
grub-core/gnulib-fix-width.diff, grub-core/gnulib-no-abort.diff, and
grub-core/gnulib-no-gets.diff.
2013-11-19 20:39:16 +00:00
Leif Lindholm
15a463d742
ARM 64 port by Leif Lindholm
2013-11-16 20:52:55 +01:00
Vladimir Serbinenko
2416415c53
* conf/Makefile.common (CCASFLAGS_PLATFORM) [COND_arm]: Add
...
-mthumb-interwork.
2013-11-14 08:34:54 +01:00
Vladimir Serbinenko
9612ebc00e
Add new ports: i386-xen and x86_64-xen. This allows running GRUB in
...
XEN PV environment and load kernels.
2013-11-09 21:29:11 +01:00
Vladimir Serbinenko
d5524ca87b
* configure.ac: Run linker tests without -Werror.
...
Define TARGET_LDFLAGS_STATIC_LIBGCC and TARGET_LIBGCC.
Change all occurences of -static-libgcc resp -lgcc to
TARGET_LDFLAGS_STATIC_LIBGCC resp TARGET_LIBGCC.
2013-11-07 18:21:22 +01:00
Vladimir Serbinenko
60375a88fe
Allow compiling with clang (not really supported though).
...
* conf/Makefile.common (CFLAGS_PLATFORM): Don't add -mrtd -mregparm=3
unconditionally.
* configure.ac: Add -no-integrated-as when using clangfor asm files.
Add -mrtd -mregparm=3 on i386 when not using clang.
* grub-core/kern/misc.c (grub_memset): Add volatile when on clang.
2013-11-07 11:44:40 +01:00
Vladimir Serbinenko
d1307d873a
Import libgcrypt 1.5.3.
2013-11-07 06:35:50 +01:00
Vladimir Serbinenko
cdc17f60dc
* configure.ac: Add -freg-struct-return on all platforms that
...
support it.
2013-11-07 03:33:20 +01:00
Vladimir Serbinenko
ec0ebb3fc2
Remove vestiges of -Wunsafe-loop-optimisations.
...
* conf/Makefile.common (CFLAGS_GNULIB): Remove
-Wno-unsafe-loop-optimisations.
* grub-core/commands/legacycfg.c: Remove -Wunsafe-loop-optimisations
pragma.
* grub-core/io/gzio.c: Likewise.
* grub-core/script/parser.y: Likewise.
* grub-core/script/yylex.l: Likewise.
* util/grub-mkfont.c: Likewise.
2013-11-07 02:25:31 +01:00
Vladimir Serbinenko
2855a0fcce
* conf/Makefile.common (CFLAGS_PLATFORM): Remove poisoning of float
...
and double.
2013-11-02 16:25:13 +01:00
Vladimir Serbinenko
af81ed880d
* conf/Makefile.common (CPPFLAGS_KERNEL): Add -DGRUB_KERNEL=1.
...
* include/grub/dl.h (GRUB_MOD_INIT), (GRUB_MOD_FINI): Define
functions when compiling for kernel.
2013-10-25 16:07:01 +02:00
Vladimir 'phcoder' Serbinenko
7abdac8e13
* conf/Makefile.common: Use -freg-struct-return on i386. This
...
decreases code size and improves performance.
2013-10-19 23:56:59 +02:00
Vladimir 'phcoder' Serbinenko
2028576504
Add haiku-specific functions.
2013-10-19 16:39:38 +02:00
Vladimir 'phcoder' Serbinenko
f7b69a3f2c
* autogen.sh: Don't set LC_CTYPE as it doesn't create problem for
...
compilation but prevents gcc from displaying messages in non-Latin
alphabets.
* conf/Makefile.common: Likewise.
2013-10-17 01:09:19 +02:00
Vladimir 'phcoder' Serbinenko
70671037c8
Split emunet into platform-dependent and GRUB-binding parts. Keep
...
platform-dependent part in kernel for easy access to OS functions.
2013-10-15 11:55:20 +02:00
Andrey Borzenkov
d9d68ef020
* conf/Makefile.extra-dist: Add osdep/*/init.c
2013-10-14 21:03:14 +04:00
Vladimir 'phcoder' Serbinenko
ed8c0887f4
* conf/Makefile.extra-dist: Fix extra-dist list.
...
* grub-core/Makefile.core.def: Likewise.
2013-10-10 09:47:39 +02:00
Vladimir 'phcoder' Serbinenko
d9104204ac
* conf/Makefile.common (CPPFLAGS_LIBFDT): Remove leftover.
2013-09-23 14:08:26 +02:00
Vladimir 'phcoder' Serbinenko
7e518ca84f
Use Winapi on both cygwin and mingw32 to share more code between both.
2013-09-23 11:21:09 +02:00
Vladimir 'phcoder' Serbinenko
3ff4063dd3
* grub-core/kern/emu/hostdisk.c: Disentagle into a series of OS-specific
...
files rather than one file with loads of #if's.
* util/getroot.c: Likewise.
2013-09-22 07:36:17 +02:00
Vladimir 'phcoder' Serbinenko
c546a25901
* conf/Makefile.extra-dist: Add missing util/grub-gen-asciih.c,
...
util/grub-gen-widthspec.c and util/grub-pe2elf.c.
2013-08-23 08:36:26 +02:00
Vladimir 'phcoder' Serbinenko
8f0baaac38
* configure.ac: Add -Wl,-melf_i386 and -Wl,-melf_x86_64 systematically
...
when on x86 and not cygwin.
* conf/Makefile.common: Remove unsystematic -Wl,-melf_i386 and
-Wl,-melf_x86_64.
2013-08-22 19:00:25 +02:00
Vladimir 'phcoder' Serbinenko
fd7dd66dbd
* conf/Makefile.common (CFLAGS_GCRY): Add -Wno-redundant-decls.
2013-08-22 16:30:44 +02:00
Vladimir 'phcoder' Serbinenko
00c28dd9bc
* conf/Makefile.common: Fix typo.
2013-08-21 20:59:18 +02:00
Vladimir 'phcoder' Serbinenko
92a52dd4d6
* conf/Makefile.extra-dist: Add util/bin2h.c.
...
Reported by: floppym.
2013-08-16 15:47:05 +02:00
Vladimir 'phcoder' Serbinenko
7c9d0c39af
Fix handling of build-time grub-bin2h and grub-mkfont when doing
...
full Canadian cross. Tested with build=x86_64, host=arm,
target=ppc-ieee1275.
2013-08-14 10:56:55 +02:00
Andrey Borzenkov
f4e1ab9da7
* .bzrignore: Remove grub-core/lib/dtc-grub, grub-core/Makefile.libfdt.def
...
* conf/Makefile.extra-dist: Remove grub-core/Makefile.libfdt.def.
2013-07-25 20:01:48 +04:00
Vladimir 'phcoder' Serbinenko
ae27e4d323
Merge mainline into arm
2013-07-16 18:43:43 +02:00
Andrey Borzenkov
702da5c9bf
* conf/Makefile.extra-dist: Add grub-core/fs/cpio_common.c.
2013-06-16 16:20:44 +04:00
Vladimir 'phcoder' Serbinenko
ccfc0bdb53
Fix typo (failback vs fallback).
2013-06-07 15:35:16 +02:00
Vladimir 'phcoder' Serbinenko
57e0c20cb5
* Makefile.am, conf/Makefile.common: Fix compilation problem with some
...
automake versions.
2013-05-30 21:36:12 +02:00
Andrey Borzenkov
17806392f1
* gentpl.py: Replace EXTRA_DIST with dist_noinst_DATA or
...
dist_<directory>_DATA. EXTRA_DIST is ignored by automake inside
false conditions.
* conf/Makefile.common: define dist_grubconf_DATA
2013-05-14 20:54:05 +04:00
Vladimir 'phcoder' Serbinenko
62b15edfd1
Fix distfiles list.
...
Reported by: Andrey Borzenkov <arvidjaar@gmail.com>
2013-05-11 15:48:08 +02:00
Vladimir 'phcoder' Serbinenko
8e71d87482
merge mainline into arm
2013-05-11 10:24:24 +02:00
Vladimir 'phcoder' Serbinenko
3e912fda81
* conf/Makefile.common: Poison float and double on non-emu.
2013-05-08 11:05:37 +02:00