From: Mirko Vogt Date: Sat, 19 Jun 2010 23:48:45 +0000 (+0000) Subject: make sure directory exists before copying into X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5faa9520e7410c3b29ebf425535872c6618fec3;p=openwrt%2Fstaging%2Frobimarko.git make sure directory exists before copying into SVN-Revision: 21842 --- 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)/; \