aboutsummaryrefslogtreecommitdiffstats
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
commitf9f42031e477593dfd6d2e981be7ae2d93a53741 (patch)
treef5570a5ff0514c885a6846bbc89acfd2266bd0ea /toolchain/kernel-headers
parentf51df41a3aba2bf2d93c12fbbae9c9241c400fd2 (diff)
downloadupstream-f9f42031e477593dfd6d2e981be7ae2d93a53741.tar.gz
upstream-f9f42031e477593dfd6d2e981be7ae2d93a53741.tar.bz2
upstream-f9f42031e477593dfd6d2e981be7ae2d93a53741.zip
[toolchain/kernel-headers] make sure directory exists before copying into
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21842 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 104b44c197..fba3cc8216 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)/; \