summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--toolchain/kernel-headers/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 104b44c19..fba3cc821 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -50,6 +50,7 @@ ifneq ($(LINUX_HAS_HEADERS_INSTALL),)
INSTALL_HDR_PATH="$(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/" \
headers_install
if [ -d $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \
+ mkdir -p $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)
$(CP) \
$(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \
$(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \