X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Futils%2FMakefile;h=b4c1a21ee04bf3432d7786d9d2335e0111927819;hb=5b3fbc70cf5b2cb531db3a87e7428955a2c5842c;hp=2a91cbbd59cdce231181184b8dd2193296862491;hpb=3d904bb14a330fb72f60d4b78a40435389398655;p=openwrt-github%2F.git diff --git a/target/utils/Makefile b/target/utils/Makefile index 2a91cbbd59..b4c1a21ee0 100644 --- a/target/utils/Makefile +++ b/target/utils/Makefile @@ -1,20 +1,14 @@ 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 prepare: $(UTILS_BUILD_DIR) compile: prepare $(patsubst %,$(UTILS_BUILD_DIR)/%,$(TARGETS)) -install: compile mkdir -p $(STAGING_DIR)/bin cp -a $(UTILS_BUILD_DIR)/* $(STAGING_DIR)/bin/ +install: compile package: clean: rm -rf $(UTILS_BUILD_DIR)