[Buildroot] [PATCH 1/1] sdl: run autogen.sh as PRE_CONFIGURE step
Romain Naour
romain.naour at openwide.fr
Sat Feb 22 09:58:10 UTC 2014
For the same reason as for the gpm package:
"Move the GPM_RUN_AUTOGEN to be a PRE_CONFIGURE step because this step
depends on the dependancies being built. If it is a POST_PATCH step
the dependencies won't be built and the GPM_RUN_AUTOGEN step will fail
(if the host doesn't have autotools)"
-- Ryan Barnett
Fixes:
http://autobuild.buildroot.net/results/543/543b4135c7996133f32e82d72d6f2969622f8617/build-end.log
Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
package/sdl/sdl.mk | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index ba5fbca..ad3e19d 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -12,15 +12,14 @@ SDL_LICENSE_FILES = COPYING
SDL_INSTALL_STAGING = YES
# we're patching configure.in, but package cannot autoreconf with our version of
-# autotools, so we have to do it manually instead of setting SD_AUTORECONF = YES
+# autotools, so we have to do it manually instead of setting SDL_AUTORECONF = YES
define SDL_RUN_AUTOGEN
cd $(@D) && PATH=$(HOST_PATH) ./autogen.sh
endef
-SDL_POST_PATCH_HOOKS += SDL_RUN_AUTOGEN
+SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN
SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
-
ifeq ($(BR2_PACKAGE_SDL_FBCON),y)
SDL_CONF_OPT += --enable-video-fbcon=yes
else
--
1.8.5.3
More information about the buildroot
mailing list