summaryrefslogtreecommitdiff
path: root/arch/um/Makefile
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-09-04 09:37:17 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-28 00:19:51 +0300
commit699d7a5734c9051d33fb86b57c6d7cd3fb84809b (patch)
tree46f1dd84d2570926d642aa4a9fed8e913be7b3c1 /arch/um/Makefile
parente410c60360e210671ad604d46b57e1f6f90f9078 (diff)
downloadlinux-699d7a5734c9051d33fb86b57c6d7cd3fb84809b.tar.xz
um: make sure to have generated headers for target
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um/Makefile')
-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