From patchwork Sun Feb 3 20:53:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 217805 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 B71D22C0092 for ; Mon, 4 Feb 2013 07:53:39 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7FF83FFD3E; Sun, 3 Feb 2013 20:53:25 +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 4cefzOT9L4Vi; Sun, 3 Feb 2013 20:53:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2C961FFD52; Sun, 3 Feb 2013 20:53:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 500528F753 for ; Sun, 3 Feb 2013 20:53:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EA8238A33F for ; Sun, 3 Feb 2013 20:53:32 +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 M2lSbXS8QzwZ for ; Sun, 3 Feb 2013 20:53:31 +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 whitealder.osuosl.org (Postfix) with ESMTP id AF8D08A13D for ; Sun, 3 Feb 2013 20:53:31 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 62282840; Sun, 3 Feb 2013 21:53:30 +0100 (CET) Received: from localhost (ip-83-134-189-199.dsl.scarlet.be [83.134.189.199]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3F9A983E for ; Sun, 3 Feb 2013 21:53:28 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sun, 3 Feb 2013 21:53:21 +0100 Message-Id: <1359924801-30806-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1359924801-30806-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1359924801-30806-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 2/2] pptp-linux: fix parallel build 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 Add a patch to fix a parallel build issue caused by a header file being generated too late. Fixes: http://autobuild.buildroot.org/results/2324974d4818b2657a7df4beee33fc4713d6116f/build-end.log Signed-off-by: Thomas Petazzoni --- .../pptp-linux-004-fix-parallel-build.patch | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 package/pptp-linux/pptp-linux-004-fix-parallel-build.patch diff --git a/package/pptp-linux/pptp-linux-004-fix-parallel-build.patch b/package/pptp-linux/pptp-linux-004-fix-parallel-build.patch new file mode 100644 index 0000000..04a7977 --- /dev/null +++ b/package/pptp-linux/pptp-linux-004-fix-parallel-build.patch @@ -0,0 +1,23 @@ +Fix parallel build issue + +The config.h header file must be created before being used to build +source files that include it, especially version.c. In order for this +to happen even in highly-parallel builds, we add a dependency of all +object files on config.h, in order to ensure it gets generated before +make attempts to build the object files. + +Signed-off-by: Thomas Petazzoni + +Index: b/Makefile +=================================================================== +--- a/Makefile ++++ b/Makefile +@@ -37,6 +37,8 @@ + + all: config.h $(PPTP_BIN) pptpsetup.8 + ++$(PPTP_OBJS): config.h ++ + $(PPTP_BIN): $(PPTP_OBJS) $(PPTP_DEPS) + $(CC) -o $(PPTP_BIN) $(PPTP_OBJS) $(LDFLAGS) $(LIBS) +