X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b5fec425be0bc9e3e9d62178c4a569162534a0bd..8b537d6814c3a6f34ec29fc7db9782229a9e7f67:/target/utils/Makefile diff --git a/target/utils/Makefile b/target/utils/Makefile index 976288128..c08bd1a55 100644 --- a/target/utils/Makefile +++ b/target/utils/Makefile @@ -1,12 +1,6 @@ include $(TOPDIR)/rules.mk -TARGETS := addpattern trx -ifeq ($(BR2_TARGET_BELKIN),y) -TARGETS += belkin-bin -endif -ifeq ($(BR2_TARGET_MOTOROLA),y) -TARGETS += motorola-bin -endif +TARGETS := addpattern trx motorola-bin UTILS_BUILD_DIR:=$(BUILD_DIR)/target-utils @@ -18,6 +12,9 @@ install: compile package: clean: rm -rf $(UTILS_BUILD_DIR) + for f in $(TARGETS); do \ + rm -f $(STAGING_DIR)/bin/$$f ; \ + done $(UTILS_BUILD_DIR): mkdir -p $(UTILS_BUILD_DIR)