From 7b403ada3715d1d6e510abbb6b4ccf89b2c09167 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 21 Aug 2007 11:25:30 +0000 Subject: - sed -i -e "/\-[[:space:]]*mkdir[[:space:]][[:space:]]*-p/s/-[[:space:]]*mkdir/mkdir/g" (want to know about errors if mkdir failed). Thanks to Cristian Ionescu-Idbohrn for pointing this out --- target/device/Soekris/net4521/linux.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/device/Soekris') diff --git a/target/device/Soekris/net4521/linux.mk b/target/device/Soekris/net4521/linux.mk index 039994ce2..a7363276b 100644 --- a/target/device/Soekris/net4521/linux.mk +++ b/target/device/Soekris/net4521/linux.mk @@ -57,11 +57,11 @@ LINUX_SOURCE_DIR=$(LINUX_DIR) $(DL_DIR)/$(LINUX_SOURCE): - -mkdir -p $(DL_DIR) + mkdir -p $(DL_DIR) $(WGET) -P $(DL_DIR) $(LINUX_SITE)/$(LINUX_SOURCE) $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) - -mkdir -p $(TOOL_BUILD_DIR) + mkdir -p $(TOOL_BUILD_DIR) -(cd $(TOOL_BUILD_DIR); ln -snf $(LINUX_DIR) linux) $(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION)) -- cgit v1.2.3