1 include $(TOPDIR
)/rules.mk
3 TARGETS
:= addpattern trx
4 ifeq ($(BR2_TARGET_BELKIN
),y
)
7 ifeq ($(BR2_TARGET_MOTOROLA
),y
)
8 TARGETS
+= motorola-bin
11 UTILS_BUILD_DIR
:=$(BUILD_DIR
)/target-utils
13 prepare
: $(UTILS_BUILD_DIR
)
14 compile
: prepare
$(patsubst %,$(UTILS_BUILD_DIR
)/%,$(TARGETS
))
15 mkdir
-p
$(STAGING_DIR
)/bin
16 cp
-a
$(UTILS_BUILD_DIR
)/* $(STAGING_DIR
)/bin
/
20 rm -rf
$(UTILS_BUILD_DIR
)
23 mkdir
-p
$(UTILS_BUILD_DIR
)
25 $(UTILS_BUILD_DIR
)/%: src
/%.c
26 $(CC
) -o
$@
$(patsubst $(UTILS_BUILD_DIR
)/%,src
/%.c
,$@
)
This page took 0.045364 seconds and 5 git commands to generate.