[oe-commits] Robert Schuster : openttd.inc: Added some notes and allow adding parameters via EXTRA_OECONF.

git version control git at git.openembedded.org
Sat Mar 12 17:52:23 UTC 2011


Module: openembedded.git
Branch: master
Commit: 7afa5f9172525535a8b9da3d6efd578938e44461
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7afa5f9172525535a8b9da3d6efd578938e44461

Author: Robert Schuster <r.schuster at tarent.de>
Date:   Sat Mar 12 18:49:09 2011 +0100

openttd.inc: Added some notes and allow adding parameters via EXTRA_OECONF.

Signed-off-by: Robert Schuster <r.schuster at tarent.de>

---

 recipes/openttd/openttd.inc |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/recipes/openttd/openttd.inc b/recipes/openttd/openttd.inc
index bd88a70..b8d5bc8 100644
--- a/recipes/openttd/openttd.inc
+++ b/recipes/openttd/openttd.inc
@@ -11,10 +11,14 @@ APPIMAGE = "media/openttd.128.png"
 
 inherit siteinfo sdl
 
+# OpenTTD uses a self-made build system (meh!) that looks like the autotools.
+# When messing with it be careful not to expect it to behave the same!
 do_configure() {
   # The way the OTTD configure system handles the application's directories
   # isn't the way autotools does it. Mainly prefix is always prepended even if
-  # absolute binary-dir and data-dir is given. 
+  # absolute binary-dir and data-dir is given.
+
+  # The build system does not forgive unknown options.
 
   ${S}/configure \
 	--host=${TARGET_SYS} \
@@ -35,7 +39,8 @@ do_configure() {
 	--cxx-build='${BUILD_CXX}' \
 	--cxx-host='${CXX}' \
 	--strip='${STRIP}' \
-	--install-dir=${D}
+	--install-dir=${D} \
+	${EXTRA_OECONF}
 }
 
 do_install() {





More information about the Openembedded-commits mailing list