From: Robert Schuster Date: Sat, 12 Mar 2011 17:49:09 +0000 (+0100) Subject: openttd.inc: Added some notes and allow adding parameters via EXTRA_OECONF. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7afa5f9172525535a8b9da3d6efd578938e44461;p=openembedded.git openttd.inc: Added some notes and allow adding parameters via EXTRA_OECONF. Signed-off-by: Robert Schuster --- diff --git a/recipes/openttd/openttd.inc b/recipes/openttd/openttd.inc index bd88a70ff2..b8d5bc8ff5 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() {