Skip to content
Snippets Groups Projects
Commit f5faa952 authored by Mirko Vogt's avatar Mirko Vogt
Browse files

make sure directory exists before copying into

SVN-Revision: 21842
parent 4bb7ab30
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,7 @@ ifneq ($(LINUX_HAS_HEADERS_INSTALL),) ...@@ -50,6 +50,7 @@ ifneq ($(LINUX_HAS_HEADERS_INSTALL),)
INSTALL_HDR_PATH="$(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/" \ INSTALL_HDR_PATH="$(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/" \
headers_install headers_install
if [ -d $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \ if [ -d $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm ]; then \
mkdir -p $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)
$(CP) \ $(CP) \
$(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \ $(HOST_BUILD_DIR)/arch/$(LINUX_KARCH)/include/asm/. \
$(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \ $(HOST_BUILD_DIR)/include/asm-$(LINUX_KARCH)/; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment