summaryrefslogtreecommitdiff
path: root/target/tools/addpattern/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/tools/addpattern/Makefile')
-rw-r--r--target/tools/addpattern/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/tools/addpattern/Makefile b/target/tools/addpattern/Makefile
index c60561ccf..596daeb52 100644
--- a/target/tools/addpattern/Makefile
+++ b/target/tools/addpattern/Makefile
@@ -1,4 +1,4 @@
include $(TOPDIR)/rules.mk
-all:
- $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/addpattern addpattern.c
+all: addpattern.c
+ $(CC_FOR_BUILD) $(FLAGS_FOR_BUILD) -o ${STAGING_HOST_DIR}/bin/addpattern addpattern.c