From patchwork Mon May 27 23:01:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 246672 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id E12602C0306 for ; Tue, 28 May 2013 09:02:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 910D610C1C4; Mon, 27 May 2013 23:01:49 +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 Sr2tE0dUPQXS; Mon, 27 May 2013 23:01:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4C0A210C1CC; Mon, 27 May 2013 23:01:08 +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 91C888F75E for ; Mon, 27 May 2013 23:01:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 03A7710C191 for ; Mon, 27 May 2013 23:00:57 +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 79oxrTYDQ7fh for ; Mon, 27 May 2013 23:00:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.35.102]) by fraxinus.osuosl.org (Postfix) with ESMTP id AF11A10C193 for ; Mon, 27 May 2013 23:00:49 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 21C58E40; Tue, 28 May 2013 01:01:08 +0200 (CEST) Received: from localhost (AToulouse-651-1-103-162.w109-222.abo.wanadoo.fr [109.222.70.162]) by mail.free-electrons.com (Postfix) with ESMTPSA id B918275E for ; Tue, 28 May 2013 01:01:07 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Tue, 28 May 2013 01:01:04 +0200 Message-Id: <1369695664-5670-7-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369695664-5670-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1369695664-5670-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 6/6] xlib_libX11: ensure target and host variant have the same patch hooks 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 In preparation for the out-of-tree support, it is important that all packages have the same patch hooks for the host variant and the target variant (because the source tree will be shared between host and target variants when doing out-of-tree build). In the case of the xlib_libX11 package, the post-patch hook removes some flags from the build of the makekeys utility, so that when xlib_libX11 is built for the target, the build of makekeys for the host works properly. This modification can be applied to the host variant of xlib_libX11 without any problem. Signed-off-by: Thomas Petazzoni --- package/x11r7/xlib_libX11/xlib_libX11.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/x11r7/xlib_libX11/xlib_libX11.mk b/package/x11r7/xlib_libX11/xlib_libX11.mk index 2d68f9e..5d0607b 100644 --- a/package/x11r7/xlib_libX11/xlib_libX11.mk +++ b/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -43,6 +43,7 @@ define XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS endef XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS +HOST_XLIB_LIBX11_POST_PATCH_HOOKS += XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS $(eval $(autotools-package)) $(eval $(host-autotools-package))