From: John Hodge Date: Wed, 9 May 2012 04:28:38 +0000 (+0800) Subject: BuildConf - fixing x86_64 config for motsugo X-Git-Tag: rel0.15~710 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0f9a5981273218c709cd5c23ef391a1e791a51f6;p=tpg%2Facess2.git BuildConf - fixing x86_64 config for motsugo --- diff --git a/BuildConf/x86_64/Makefile.cfg b/BuildConf/x86_64/Makefile.cfg index ab188fbd..6aa3afc6 100644 --- a/BuildConf/x86_64/Makefile.cfg +++ b/BuildConf/x86_64/Makefile.cfg @@ -1,7 +1,10 @@ -CC = x86_64-none-elf-gcc -LD = x86_64-none-elf-ld -DISASM = x86_64-none-elf-objdump -d -M x86-64 -S +PREFIX := x86_64-pc-elf +#PREFIX := x86_64-none-elf + +CC := $(PREFIX)-gcc +LD := $(PREFIX)-ld +DISASM = $(PREFIX)-objdump -d -M x86-64 -S KERNEL_CFLAGS := -mcmodel=kernel -nostdlib -mno-red-zone -Wall DYNMOD_CFLAGS := -mcmodel=small -fPIC -mno-red-zone