Commit graph

404 commits

Author SHA1 Message Date
Andrey Borzenkov
e7d09ac4f7 enable emuusb and emupci on emu platform only
Also explicitly disable them in configure unless built for emu platform.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
2013-11-04 16:53:39 +04:00
Mike Frysinger
ee7fb780c8 * configure.ac: Don't add target-prefix. 2013-11-03 12:48:13 +01:00
Vladimir Serbinenko
48145ea358 Fix last commit 2013-11-03 00:25:04 +01:00
Vladimir Serbinenko
dd614590c9 * configure.ac: Don't add -m32/-m64 on emu. 2013-11-02 22:46:01 +01:00
Vladimir Serbinenko
5cf9459c08 * configure.ac: Use 0x8000 for address instead of 8000. 2013-11-02 19:13:41 +01:00
Vladimir Serbinenko
02663ee9d9 * configure.ac (TARGET_CFLAGS): Add -march=i386 on i386. 2013-11-02 16:40:25 +01:00
Vladimir Serbinenko
3bc9c8cfc8 * configure.ac: Remove leftover COND_BUILD_GRUB_MKFONT and
COND_GRUB_PE2ELF conditions.
2013-10-27 19:44:19 +01:00
Vladimir 'phcoder' Serbinenko
29013cba15 Don't add -lm on haiku.
* configure.ac: Define BUILD_LIBM to -lm on most platforms
	and empty on haiku.
	* grub-core/Makefile.am (gentrigtables): Use $(BUILD_LIBM) rather than
	-lm.
2013-10-19 02:20:21 +02:00
Vladimir 'phcoder' Serbinenko
e8559d2434 * configure.ac: Use -melf_*_haiku as target on haiku. 2013-10-19 02:15:35 +02:00
Vladimir 'phcoder' Serbinenko
27f9d02eb9 * configure.ac: Check for nvlist_lookup_string in nvpair since we
use nvlist_lookup_string and don't use nvlist_print.
2013-10-15 15:01:01 +02:00
Ilya Bakulin
6d0740e8ca * configure.ac: Use -melf_*_obsd on openbsd. 2013-10-12 08:08:11 +02:00
neil
5830df88da * configure.ac: Do not enable -Wmissing-noreturn as its
usefulness is limited and creates problems on some OS notably with
	code generated by bison.

	Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-23 13:48:10 +02:00
neil
c248781a83 * configure.ac: Do no explicitly enable -Waddress as it's not
supported by all gcc and when it is, it's already enabled by -Wall.

	Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2013-09-23 13:43:35 +02:00
Vladimir 'phcoder' Serbinenko
1bd7302506 * configure.ac: Substitute TARGET_RANLIB. 2013-09-23 13:20:32 +02:00
Vladimir 'phcoder' Serbinenko
0e8daad0bd * grub-core/Makefile.am: Override STRIP and RANLIB.
* configure.ac: compute TARGET_RANLIB.
	* INSTALL: Document TARGET_RANLIB

	Based on patches from AROS.
2013-09-23 12:55:18 +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
15ce95c40c * configure.ac: On FreeBSD use -melf_*_fbsd format. 2013-09-22 03:26:11 +02:00
Vladimir 'phcoder' Serbinenko
1c1f31e5de * configure.ac: Disable efiemu runtime on cygwin. 2013-08-23 08:46:14 +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
b224c26627 * configure.ac: Set CPP to build one when checkoing for freetype for
build.
2013-08-22 18:56:00 +02:00
Vladimir 'phcoder' Serbinenko
7dc5ca13c5 * configure.ac: Don't change host_os from mingw to cygwin. 2013-08-22 17:09:15 +02:00
Vladimir 'phcoder' Serbinenko
c3302aa582 * configure.ac: Change target_os from windows to cygwin. 2013-08-22 17:02:47 +02:00
Vladimir 'phcoder' Serbinenko
7b780018f5 Handle grub-pe2elf and grub-mkfont for cases when build != host.
* Makefile.am (build-grub-mkfont): Don't include gnulib.
	(build-grub-gen-asciih): Likewise.
	(build-grub-gen-widthspec): Likewise.
	* Makefile.util.def (grub-pe2elf): Remove.
	* config.h.in [GRUB_BUILD]: Use build rather than host constants.
	* configure.ac: Separate tests for build.
	Move ./build-grub-pe2elf to grub-core.
	Fix typo.
	* grub-core/Makefile.am (build-grub-pe2elf): New target.
	* grub-core/kern/emu/misc.c (xasprintf): Don't compile if GRUB_BUILD is
	defined.
	* include/grub/types.h [GRUB_BUILD]: Use build rather than host
	constants.
	* util/grub-mkfont.c [GRUB_BUILD]: Simplify not to rely on argp.
	* util/grub-pe2elf.c: Simplify not to rely on getopt.
	* util/misc.c (program_name) [GRUB_BUILD]: Define to static string.
2013-08-22 17:00:59 +02:00
Vladimir 'phcoder' Serbinenko
fc97214f7e * INSTALL: Document cross-compilation.
* acinclude.m4: Determine whether nm support -P and --defined-only.
	* configure.ac: Add TARGET_ to all variables pertaining to target
	that don't have it yet.
	* gentpl.py: Likewise.
	* grub-core/Makefile.am: Likewise.
	* grub-core/genmod.sh.in: Likewise.
	* grub-core/gensyminfo.sh.in: Handle OpenBSD and other non-GNU nm
	as well.
2013-08-22 01:56:28 +02:00
Ilya Bakulin
ca1fb56345 * configure.ac: Remove -Wempty-body. It's not essential and needs
recent gcc.
2013-08-21 21:19:55 +02:00
Vladimir 'phcoder' Serbinenko
b2e9d2761e * configure.ac: Make unifont mandatory for powerpc-ieee1275. 2013-08-16 15:04:38 +02:00
Vladimir 'phcoder' Serbinenko
7b966834c5 * configure.ac: Disable unifont and starfield if no freetype was found. 2013-08-16 14:54:01 +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
Vladimir 'phcoder' Serbinenko
816719c8d4 * configure.ac: Error if no $BUILD_CC could be found.
Reported by: DevHC.
2013-08-14 10:54:20 +02:00
Vladimir 'phcoder' Serbinenko
ae27e4d323 Merge mainline into arm 2013-07-16 18:43:43 +02:00
Vladimir 'phcoder' Serbinenko
5136961498 * configure.ac: Move delimiter after the infos. 2013-07-11 14:54:49 +02:00
Vladimir 'phcoder' Serbinenko
64fce2d829 * configure.ac: Indicate which liblzma is used if any. 2013-07-11 13:22:11 +02:00
David Michael
a5b55c4b32 * configure.ac (FREETYPE): Change AC_CHECK_PROGS to AC_CHECK_TOOLS.
(freetype_cflags,freetype_libs): Change freetype-config to $FREETYPE.
2013-06-15 21:13:04 +02:00
Vladimir 'phcoder' Serbinenko
69544d1e43 Remove enable_executable_check as it's not needed anymore.
Reported by: dougray.
2013-06-07 16:02:16 +02:00
Vladimir 'phcoder' Serbinenko
cec5cf0ced * configure.ac: Add yet another path to unifont. For parabola. 2013-05-31 18:10:31 +02:00
Vladimir 'phcoder' Serbinenko
4b80e43c8c * configure.ac: Add Ubuntu path to unifont and report unifont path used. 2013-05-30 21:51:34 +02:00
Vladimir 'phcoder' Serbinenko
8e71d87482 merge mainline into arm 2013-05-11 10:24:24 +02:00
Vladimir 'phcoder' Serbinenko
0f7e980b29 Redirect xasprintf to grub_xvasprintf rather than having #ifdef's
for vasprintf presence.
2013-05-10 20:57:32 +02:00
Vladimir 'phcoder' Serbinenko
ee0220bc26 * configure.ac: Don't disable extended registers on emu. 2013-05-08 11:01:11 +02:00
Vladimir 'phcoder' Serbinenko
89e0240c1c * configure.ac: Don't use extended registers on x86_64.
Reported by: Peter Jones.
2013-05-07 20:42:05 +02:00
Vladimir 'phcoder' Serbinenko
1eed0e6ebc * tests/priority_queue_unit_test.cc: New test. 2013-05-07 11:30:48 +02:00
Leif Lindholm
bb9f92b9b1 Leif's build fixes 2013-05-03 14:41:08 +02:00
Vladimir 'phcoder' Serbinenko
46546fc577 * configure.ac: Use -mcmodel=large on x86_64-emu as well.
Reported by: qwertial.
2013-04-29 19:14:46 +02:00
Vladimir 'phcoder' Serbinenko
db99fbe83f Replace libcurses with our own vt100 handling for the ease of testing
and decreasing prerequisites.
2013-04-27 00:02:23 +02:00
Vladimir 'phcoder' Serbinenko
5fe67f3911 * configure.ac: Fix loongson conditional. 2013-04-26 11:26:08 +02:00
Vladimir 'phcoder' Serbinenko
7f63a64fa0 Enable mipsel-arc. 2013-04-25 22:42:35 +02:00
Vladimir 'phcoder' Serbinenko
67ab83538f Better support Apple Intel Macs on CD. 2013-04-13 00:38:04 +02:00
Vladimir 'phcoder' Serbinenko
a79b8a1584 Merge powerpc grub-mkrescue flavour with common. Use xorriso HFS+
feature for it.
2013-04-11 23:15:26 +02:00
Leif Lindholm
389b31cd71 Initial import of Leif's work 2013-04-07 02:41:07 +02:00
Vladimir 'phcoder' Serbinenko
e744219bb6 Implement boot time analysis framework. 2013-03-19 20:25:09 +01:00