2005-04-17 00:20:36 +02:00
|
|
|
# Copyright 2003 - 2004 Pathscale, Inc
|
|
|
|
# Released under the GPL
|
|
|
|
|
2005-07-14 09:33:43 +02:00
|
|
|
libs-y += arch/um/sys-x86_64/
|
2005-04-17 00:20:36 +02:00
|
|
|
START := 0x60000000
|
|
|
|
|
2005-07-14 09:33:43 +02:00
|
|
|
#We #undef __x86_64__ for kernelspace, not for userspace where
|
|
|
|
#it's needed for headers to work!
|
2005-09-04 00:57:43 +02:00
|
|
|
CFLAGS += -U__$(SUBARCH)__ -fno-builtin
|
2005-07-14 09:33:43 +02:00
|
|
|
USER_CFLAGS += -fno-builtin
|
2005-09-09 18:14:12 +02:00
|
|
|
CHECKFLAGS += -m64
|
2005-04-17 00:20:36 +02:00
|
|
|
|
|
|
|
ELF_ARCH := i386:x86-64
|
|
|
|
ELF_FORMAT := elf64-x86-64
|
2005-12-18 17:50:35 +01:00
|
|
|
|
|
|
|
# Not on all 64-bit distros /lib is a symlink to /lib64. PLD is an example.
|
|
|
|
|
|
|
|
LINK-$(CONFIG_LD_SCRIPT_DYN) += -Wl,-rpath,/lib64
|