2009-05-03 Bean <bean123ch@gmail.com>

* Makefile.in (enable_efiemu): New variable.

	* conf/i386-pc.rmk: Only compile efiemu runtimes when enable_efiemu is
	set.
	(efiemu32.o): Use macro $< for source file, add $(srcdir) to include
	path.
	(efi64_c.o): Use macro $< for source file, add $(srcdir) to include
	path, add -mno-red-zone option.
	(efiemu64_s.o): Likewise.
	(efiemu64.o): Use macro $^ for source file.

	* configure.ac (--enable-efiemu): New option.
This commit is contained in:
bean 2009-05-03 06:39:37 +00:00
parent 7dd4a573a9
commit fc45fb586d
4 changed files with 29 additions and 4 deletions

View file

@ -473,6 +473,11 @@ AC_SUBST([enable_grub_mkfont])
AC_SUBST([freetype_cflags])
AC_SUBST([freetype_libs])
AC_ARG_ENABLE([efiemu],
[AS_HELP_STRING([--enable-efiemu],
[build and install the efiemu runtimes])])
AC_SUBST([enable_efiemu])
# Output files.
grub_CHECK_LINK_DIR
if test x"$link_dir" = xyes ; then