[toolchain/kernel-headers] make sure directory exists before copying into
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 19 Jun 2010 23:48:45 +0000 (23:48 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 19 Jun 2010 23:48:45 +0000 (23:48 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21842 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/kernel-headers/Makefile

index 104b44c..fba3cc8 100644 (file)
@@ -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 \
                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)/; \
                $(CP) \
                        $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \
                        $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \
This page took 0.027295 seconds and 4 git commands to generate.