Skip to content

Commit

Permalink
make sure directory exists before copying into
Browse files Browse the repository at this point in the history
SVN-Revision: 21842
  • Loading branch information
Mirko Vogt committed Jun 19, 2010
1 parent 4bb7ab3 commit f5faa95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toolchain/kernel-headers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)/; \
Expand Down

0 comments on commit f5faa95

Please sign in to comment.