summaryrefslogtreecommitdiff
path: root/target/tools/addpattern/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-19 23:49:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-19 23:49:22 +0100
commite82e715e89dde09644b274e452f437b6fe88a254 (patch)
treeb02b4a61d93ff440279275e933509aaa186faacd /target/tools/addpattern/Makefile
parent9bd580116f2f05685e5a332ed274eff14c04cee6 (diff)
add XX_FOR_BUILD variables, they are more standard compliant and used by autotools
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