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:
parent
cf00df3167
commit
e37ffc5cf6
5 changed files with 156 additions and 0 deletions
|
@ -125,6 +125,16 @@ endif
|
|||
grub_pe2elf_SOURCES = util/grub-pe2elf.c util/misc.c
|
||||
CLEANFILES += grub-pe2elf
|
||||
|
||||
# grub_macho2img assumes a lot about source file.
|
||||
# So installing it definitively is useless
|
||||
# But adding to bin_UTILITIES is needed for
|
||||
# genmk.rb to work
|
||||
ifeq (0,1)
|
||||
bin_UTILITIES += grub-macho2img
|
||||
endif
|
||||
grub_macho2img_SOURCES = util/grub-macho2img.c
|
||||
CLEANFILES += grub-macho2img
|
||||
|
||||
# For grub-mkconfig
|
||||
grub-mkconfig: util/grub-mkconfig.in config.status
|
||||
./config.status --file=$@:$<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue