From patchwork Sat Feb 22 09:58:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 323145 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 8ECB42C00C6 for ; Sat, 22 Feb 2014 20:59:16 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1473A8BB45; Sat, 22 Feb 2014 09:59:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jmB-jEb1g7zv; Sat, 22 Feb 2014 09:59:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 69A7489E48; Sat, 22 Feb 2014 09:59:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 599E81CE9E2 for ; Sat, 22 Feb 2014 09:59:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5547487F10 for ; Sat, 22 Feb 2014 09:59:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TkEdgdK5hYCZ for ; Sat, 22 Feb 2014 09:59:10 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by fraxinus.osuosl.org (Postfix) with ESMTP id 016A1865F1 for ; Sat, 22 Feb 2014 09:59:08 +0000 (UTC) Received: from localhost.localdomain (unknown [81.57.22.125]) by smtp3-g21.free.fr (Postfix) with ESMTP id A4735A6234; Sat, 22 Feb 2014 10:59:02 +0100 (CET) From: Romain Naour To: buildroot@uclibc.org Date: Sat, 22 Feb 2014 10:58:10 +0100 Message-Id: <1393063090-831-1-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.8.5.3 Subject: [Buildroot] [PATCH 1/1] sdl: run autogen.sh as PRE_CONFIGURE step X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- 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