From f5faa9520e7410c3b29ebf425535872c6618fec3 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Sat, 19 Jun 2010 23:48:45 +0000 Subject: [PATCH] make sure directory exists before copying into SVN-Revision: 21842 --- toolchain/kernel-headers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 104b44c1977..fba3cc8216a 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)/; \ -- 2.30.2