X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=toolchain%2Fsed%2FMakefile;h=e14aadd8ff1b6b61b4f8d7c2e9cc7acfd2b30a67;hb=06265758beb1721526360aa01176dd70d8a9e1d4;hp=637bc6597b3b254d1cde0dc2d0e022e7ee2a83a8;hpb=e1a217de91f77957f96c867717404f63f5fa44d5;p=openwrt.git diff --git a/toolchain/sed/Makefile b/toolchain/sed/Makefile index 637bc6597b..e14aadd8ff 100644 --- a/toolchain/sed/Makefile +++ b/toolchain/sed/Makefile @@ -46,7 +46,7 @@ $(SED_DIR1)/$(SED_BINARY): $(SED_DIR1)/.configured $(MAKE) -C $(SED_DIR1) # This stuff is needed to work around GNU make deficiencies -build-sed-host-binary: $(SED_DIR1)/$(SED_BINARY) +build-sed-host-binary: $(SED_DIR1)/$(SED_BINARY) FORCE @if [ -L $(STAGING_DIR)/$(SED_TARGET_BINARY) ] ; then \ rm -f $(STAGING_DIR)/$(SED_TARGET_BINARY); fi; @if [ ! -f $(STAGING_DIR)/$(SED_TARGET_BINARY) -o $(STAGING_DIR)/$(SED_TARGET_BINARY) \ @@ -58,7 +58,7 @@ build-sed-host-binary: $(SED_DIR1)/$(SED_BINARY) rm -rf $(STAGING_DIR)/share/locale $(STAGING_DIR)/usr/info \ $(STAGING_DIR)/usr/man $(STAGING_DIR)/usr/share/doc; fi -use-sed-host-binary: +use-sed-host-binary: FORCE @if [ -x /usr/bin/sed ]; then SED="/usr/bin/sed"; else \ if [ -x /bin/sed ]; then SED="/bin/sed"; fi; fi; \ mkdir -p $(STAGING_DIR)/bin; \ @@ -69,7 +69,7 @@ source: prepare: compile: install: $(HOST_SED_TARGET) -clean: +clean: FORCE rm -rf $(SED_DIR1) rm -f $(STAGING_DIR)/$(SED_TARGET_BINARY)