summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/cross-ecj.make7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/cross-ecj.make b/rules/cross-ecj.make
index 93b5ba9..e7783dd 100644
--- a/rules/cross-ecj.make
+++ b/rules/cross-ecj.make
@@ -14,6 +14,13 @@
#
CROSS_PACKAGES-$(PTXCONF_CROSS_ECJ) += cross-ecj
+ifdef PTXCONF_CROSS_ECJ
+ ifeq ($(shell wich gcj)$(shell wich $(GNU_BUILD)-gcj),)
+ $(warning *** please install gcj)
+ $(error )
+ endif
+endif
+
#
# Paths and names
#