building in linux with i586-elf cross-compiler as well
git-svn-id: svn://anubis/hos/trunk@27 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
parent
be8d6015ff
commit
3eea1b4fd3
@ -1,19 +1,7 @@
|
||||
|
||||
export PLATFORM := $(shell if [[ `uname` =~ "CYGWIN" ]]; then \
|
||||
echo cygwin; \
|
||||
else \
|
||||
echo unix; \
|
||||
fi)
|
||||
|
||||
ifeq ($(PLATFORM), cygwin)
|
||||
export LD := i586-elf-ld
|
||||
export CC := i586-elf-gcc
|
||||
export CXX := i586-elf-g++
|
||||
else
|
||||
export LD := ld
|
||||
export CC := gcc
|
||||
export CXX := g++
|
||||
endif
|
||||
export NASM := nasm
|
||||
|
||||
WD := $(shell pwd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user