1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 05:11:46 +02:00

[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
This commit is contained in:
mirko 2010-06-19 23:48:45 +00:00
parent 32adaf616a
commit 45d6cc8d96

View 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 \
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)/; \