summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-04-18 06:10:49 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-04-18 06:10:49 +0000
commitdab6600f5dfb4813b30cb4c61e1f7d78ab1de700 (patch)
tree8e25b6565bcbd923e2129383017db994a22f0863 /rules
parentefa8d51d48b53a9423d7a734455b994d460ecb6d (diff)
downloadptxdist-dab6600f5dfb4813b30cb4c61e1f7d78ab1de700.tar.gz
ptxdist-dab6600f5dfb4813b30cb4c61e1f7d78ab1de700.tar.xz
fluid crosscompile; patch by Steven Scholz
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2479 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules')
-rw-r--r--rules/fltk.in14
-rw-r--r--rules/fltk.make3
2 files changed, 17 insertions, 0 deletions
diff --git a/rules/fltk.in b/rules/fltk.in
index 94fde234c..c7b6ad195 100644
--- a/rules/fltk.in
+++ b/rules/fltk.in
@@ -29,5 +29,19 @@ config FLTK_XDBE
default n
depends on FLTK
+config FLTK_FLUID
+ bool
+ prompt "Build FLUID and demos"
+ default n
+ depends on FLTK
+ help
+ fluid is an interactive GUI designer for FLTK and is needed to build
+ some of the demos.
+
+ When cross compiling FLTK fluid is built for the target platform.
+ Thus it will most probably not run on your host and compiling the
+ demo programs will fail.
+
+ So you're better off leaving this disabled.
endmenu
diff --git a/rules/fltk.make b/rules/fltk.make
index 1b04c3d80..337b663c0 100644
--- a/rules/fltk.make
+++ b/rules/fltk.make
@@ -107,6 +107,9 @@ endif
$(STATEDIR)/fltk.prepare: $(fltk_prepare_deps)
@$(call targetinfo, $@)
@$(call clean, $(FLTK_BUILDDIR))
+ifndef PTXCONF_FLTK_FLUID
+ perl -p -i -e 's/src fluid test documentation/src/' $(FLTK_DIR)/Makefile
+endif
cd $(FLTK_DIR) && \
$(FLTK_PATH) $(FLTK_ENV) \
./configure $(FLTK_AUTOCONF)