X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b5fec425be0bc9e3e9d62178c4a569162534a0bd..1d5b030b9a4fa38191171a9c58047c06c4212bed:/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)