summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/kernel-headers-new.makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-15 11:12:15 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-15 11:12:15 +0000
commitcf647cea3d68e5298343294fc2c12e0c9a479778 (patch)
tree6e4cb1a4b0d1e3bd002449fb980d8445c9a7e68b /toolchain/kernel-headers/kernel-headers-new.makefile
parentf11476c1811175b388f035c6b728b5dce66e054b (diff)
downloadbuildroot-novena-cf647cea3d68e5298343294fc2c12e0c9a479778.tar.gz
buildroot-novena-cf647cea3d68e5298343294fc2c12e0c9a479778.zip
- allow to run linux26-menuconfig and uclibc-menuconfig in a pristine checkout
Diffstat (limited to 'toolchain/kernel-headers/kernel-headers-new.makefile')
-rw-r--r--toolchain/kernel-headers/kernel-headers-new.makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile
index e85001bf9..ff0a78a97 100644
--- a/toolchain/kernel-headers/kernel-headers-new.makefile
+++ b/toolchain/kernel-headers/kernel-headers-new.makefile
@@ -23,6 +23,7 @@ ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
$(LINUX_HEADERS_UNPACK_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)
rm -rf $(LINUX_HEADERS_DIR)
+ [ -d $(BUILD_DIR) ] || $(INSTALL) -d $(BUILD_DIR)
$(LINUX_HEADERS_CAT) $(DL_DIR)/$(LINUX_HEADERS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $@