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
))
16 mkdir
-p
$(STAGING_DIR
)/bin
17 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.037236 seconds and 5 git commands to generate.