aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-11-10 15:52:53 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2011-11-10 15:59:31 -0800
commit0bd96856278cf511d17122ea4a4de0431da378a1 (patch)
tree7678bf40602b81695d3829be1adbba61c1842f4d
parent39ef08d6464758794f0d7024f13c239ef26d46a1 (diff)
downloadautogen-0bd96856278cf511d17122ea4a4de0431da378a1.tar.gz
autogen-0bd96856278cf511d17122ea4a4de0431da378a1.tar.xz
autogen-0bd96856278cf511d17122ea4a4de0431da378a1.zip
Kbuild file for installing the generated asm header files
-rw-r--r--arch/x86/include/Kbuild9
-rw-r--r--arch/x86/include/asm/Kbuild2
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/x86/include/Kbuild b/arch/x86/include/Kbuild
new file mode 100644
index 00000000000..ad92fe83461
--- /dev/null
+++ b/arch/x86/include/Kbuild
@@ -0,0 +1,9 @@
+#
+# Kbuild file for generated files that need to be installed
+# This file is in here since the generated directory gets blown
+# away after "make mrproper".
+#
+obj := arch/x86/include/generated/asm
+dst := include/asm-x86
+objhdr-y += unistd_32.h
+objhdr-y += unistd_64.h
diff --git a/arch/x86/include/asm/Kbuild b/arch/x86/include/asm/Kbuild
index 950f99ff4cf..0a5eda7d7b2 100644
--- a/arch/x86/include/asm/Kbuild
+++ b/arch/x86/include/asm/Kbuild
@@ -22,5 +22,3 @@ header-y += unistd.h
header-y += ucontext.h
header-y += vm86.h
header-y += vsyscall.h
-
-objhdr-y += unistd_$(BITS).h