From 7afa5f9172525535a8b9da3d6efd578938e44461 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sat, 12 Mar 2011 18:49:09 +0100 Subject: [PATCH] openttd.inc: Added some notes and allow adding parameters via EXTRA_OECONF. Signed-off-by: Robert Schuster --- recipes/openttd/openttd.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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() { -- 2.39.5