summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2010-06-19 23:48:45 +0000
committerMirko Vogt <mirko@openwrt.org>2010-06-19 23:48:45 +0000
commitf5faa9520e7410c3b29ebf425535872c6618fec3 (patch)
tree957e55b5fce0e9989a7ac81db2f91459510c3cf8 /toolchain/kernel-headers
parent4bb7ab3057cc4d19924034f92a0a22decba04796 (diff)
downloadmtk-20170518-f5faa9520e7410c3b29ebf425535872c6618fec3.zip
mtk-20170518-f5faa9520e7410c3b29ebf425535872c6618fec3.tar.gz
mtk-20170518-f5faa9520e7410c3b29ebf425535872c6618fec3.tar.bz2
make sure directory exists before copying into
SVN-Revision: 21842
Diffstat (limited to 'toolchain/kernel-headers')
-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 104b44c..fba3cc8 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)/; \