aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Makefile-x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/Makefile-x86_64')
-rw-r--r--arch/um/Makefile-x86_6432
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/um/Makefile-x86_64 b/arch/um/Makefile-x86_64
new file mode 100644
index 000000000000..a77971133e91
--- /dev/null
+++ b/arch/um/Makefile-x86_64
@@ -0,0 +1,32 @@
1# Copyright 2003 - 2004 Pathscale, Inc
2# Released under the GPL
3
4SUBARCH_LIBS := arch/um/sys-x86_64/
5START := 0x60000000
6
7CFLAGS += -U__$(SUBARCH)__ -fno-builtin
8ARCH_USER_CFLAGS := -D__x86_64__
9
10ELF_ARCH := i386:x86-64
11ELF_FORMAT := elf64-x86-64
12
13SYS_UTIL_DIR := $(ARCH_DIR)/sys-x86_64/util
14SYS_DIR := $(ARCH_DIR)/include/sysdep-x86_64
15
16SYS_HEADERS = $(SYS_DIR)/sc.h $(SYS_DIR)/thread.h
17
18prepare: $(SYS_HEADERS)
19
20$(SYS_DIR)/sc.h: $(SYS_UTIL_DIR)/mk_sc
21 $(call filechk,gen_header)
22
23$(SYS_DIR)/thread.h: $(SYS_UTIL_DIR)/mk_thread
24 $(call filechk,gen_header)
25
26$(SYS_UTIL_DIR)/mk_sc: scripts_basic FORCE
27 $(Q)$(MAKE) $(build)=$(SYS_UTIL_DIR) $@
28
29$(SYS_UTIL_DIR)/mk_thread: scripts_basic $(ARCH_SYMLINKS) $(GEN_HEADERS) FORCE
30 $(Q)$(MAKE) $(build)=$(SYS_UTIL_DIR) $@
31
32CLEAN_FILES += $(SYS_HEADERS)