summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro2017-09-04 08:37:17 +0200
committerAl Viro2017-11-27 22:19:51 +0100
commit699d7a5734c9051d33fb86b57c6d7cd3fb84809b (patch)
tree46f1dd84d2570926d642aa4a9fed8e913be7b3c1 /arch
parentorangefs: fix a braino in ->poll() (diff)
downloadkernel-qcow2-linux-699d7a5734c9051d33fb86b57c6d7cd3fb84809b.tar.gz
kernel-qcow2-linux-699d7a5734c9051d33fb86b57c6d7cd3fb84809b.tar.xz
kernel-qcow2-linux-699d7a5734c9051d33fb86b57c6d7cd3fb84809b.zip
um: make sure to have generated headers for target
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index b76fcce397a1..e54dda8a0363 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -116,8 +116,15 @@ endef
KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig
archheaders:
+ $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
+ kbuild-file=$(HOST_DIR)/include/asm/Kbuild \
+ obj=$(HOST_DIR)/include/generated/asm
+ $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \
+ kbuild-file=$(HOST_DIR)/include/uapi/asm/Kbuild \
+ obj=$(HOST_DIR)/include/generated/uapi/asm
$(Q)$(MAKE) KBUILD_SRC= ARCH=$(HEADER_ARCH) archheaders
+
archprepare: include/generated/user_constants.h
LINK-$(CONFIG_LD_SCRIPT_STATIC) += -static