2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>

Use grub-macho2img when compiling with Apple's CC for PCBIOS machine

	* conf/common.rmk (bin_UTILITIES): add (on false on condition) 
	grub-macho2img 
	(CLEANFILES): add grub-macho2img
	(grub_macho2img_SOURCES): new variable
	* kern/i386/pc/startup.S (bss_start): new variable
	(bss_end): likewise
	* genmk.rb: use grub-macho2img for *.img when compiled with Apple's CC
	* util/grub-macho2img.c: new file
This commit is contained in:
phcoder committed 2009-06-04 21:01:11 +00:00
1 parent cf00df3167
commit e37ffc5cf6
5 files changed
+156

No files matched your search

+7
View File
@@ -110,6 +110,13 @@ VARIABLE(grub_prefix)
. = _start + GRUB_KERNEL_MACHINE_DATA_END
#ifdef APPLE_CC
bss_start:
.long 0
bss_end:
.long 0
#endif
/*
* Support for booting GRUB from a Multiboot boot loader (e.g. GRUB itself).
* This uses the a.out kludge to load raw binary to the area starting at 1MB,