Vladimir Serbinenko
fcbb723d4b
Add support for device-tree-based drivers.
2017-05-08 21:19:59 +02:00
Vladimir Serbinenko
fabde8324d
Remove -Wno-maybe-uninitialized as it may not be present.
2016-02-17 17:58:05 +01:00
Vladimir Serbinenko
5cae910665
Fix warnings when compiling with -O3
2016-02-17 17:56:41 +01:00
Andrei Borzenkov
c67025fad5
Add grub-module-verifier files to EXTRA_DIST
2015-12-31 21:35:11 +03:00
Vladimir Serbinenko
68e158dffd
Strip .ARM.exidx
...
This section is generated by clang and is useful only for debugging.
It contains exotic relocations, so strip them to avoid them interferring
with module loading.
2015-12-31 18:13:59 +01:00
Andrei Borzenkov
346a494d7c
Do not include generated gnulib headers in tarball
...
gnulib files are already handled by recursive make distdir invocation.
Including all generated headers (after make completed) causes build
failure if target system is different (different compile version etc).
2015-11-28 21:11:34 +03:00
Vladimir Serbinenko
b2fc9acdc9
Adapt build-system to use imported xen headers.
2015-11-08 21:24:18 +01:00
Paulo Flabiano Smorigo
afd0f21b20
Add flag for powerpc ieee1275 to avoid unneeded optimizations
2015-06-15 09:10:19 -03:00
Andrei Borzenkov
6a5c78c8c8
Add asm-tests to tarball
2015-05-07 22:15:16 +03:00
Vladimir Serbinenko
064360e667
Remove libgcc dependency.
...
libgcc for boot environment isn't always present and compatible.
libgcc is often absent if endianness or bit-size at boot is different
from running OS.
libgcc may use optimised opcodes that aren't available on boot time.
So instead of relying on libgcc shipped with the compiler, supply
the functions in GRUB directly.
Tests are present to ensure that those replacement functions behave the
way compiler expects them to.
2015-03-03 20:50:37 +01:00
Vladimir Serbinenko
155f334f57
Experimental support for clang for sparc64.
...
Automatically discover command line options to make clang and
gcc behave in same way.
Tested with qemu.
2015-02-22 01:54:55 +01:00
Vladimir Serbinenko
e3c7aca76d
Strip .MIPS.abiflags which causes compile failure
2015-02-21 16:01:53 +01:00
Andrei Borzenkov
35a492e4a2
tests: remove hardcoded paths from syslinux_test
...
abs_top_srcdir appeared in Autoconf 2.52f. Minimal grub requirement
is 2.60 so we should be good here.
2015-02-16 22:24:05 +03:00
Andrei Borzenkov
251ddf26dc
build-sys: add syslinux test files to tarball
2015-02-16 20:31:22 +03:00
Vladimir Serbinenko
11504d523c
conf/Makefile.common: Remove unused {LD,C}FLAGS_CPU.
2015-01-24 17:44:19 +01:00
Andrei Borzenkov
272e0466da
add file filters tests
...
Tests file access with all filters enabled. It does it both for local
and network access, due to regression in signature checking over network.
This includes all files in distribution to not depend on existence
of compression tools and gpg. Test preloads all required modules to
avoid having to provide signatures for them.
Still not implemented is file offset filter (is not available in grub
script, needs extra module)
2014-12-05 21:04:06 +03:00
Vladimir Serbinenko
6d05b6383c
Revert " Use -Wl,--no-relax rather than -mno-relax for uniformity."
...
This reverts commit 063f2a04d1
.
2014-09-21 19:02:11 +02:00
Vladimir Serbinenko
0438ebf1c3
* conf/Makefile.common: Don't include non-existing directory
...
grub-core/lib/libgcrypt-grub/include.
2013-12-21 13:21:42 +01:00
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