summaryrefslogtreecommitdiff
path: root/target/tools/trx/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/trx/Makefile
parent9bd580116f2f05685e5a332ed274eff14c04cee6 (diff)
add XX_FOR_BUILD variables, they are more standard compliant and used by autotools
Diffstat (limited to 'target/tools/trx/Makefile')
-rw-r--r--target/tools/trx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/tools/trx/Makefile b/target/tools/trx/Makefile
index 2def53424..d1832ee8c 100644
--- a/target/tools/trx/Makefile
+++ b/target/tools/trx/Makefile
@@ -1,4 +1,4 @@
include $(TOPDIR)/rules.mk
-all:
- $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/trx trx.c
+all: trx.c
+ $(CC_FOR_BUILD) $(FLAGS_FOR_BUILD) -o ${STAGING_HOST_DIR}/bin/trx trx.c