From patchwork Mon Dec 3 10:05:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Hoffmann X-Patchwork-Id: 203305 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 7C67A2C0081 for ; Mon, 3 Dec 2012 21:06:05 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 04E41100E0B; Mon, 3 Dec 2012 10:05:55 +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 SCrTdO2XPWJw; Mon, 3 Dec 2012 10:05:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6E71AFFEC9; Mon, 3 Dec 2012 10:05:53 +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 22A0B8F74A for ; Mon, 3 Dec 2012 10:06:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2F178872C5 for ; Mon, 3 Dec 2012 10:06:00 +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 k-z6BoSMNsRM for ; Mon, 3 Dec 2012 10:05:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by whitealder.osuosl.org (Postfix) with ESMTPS id 12CB085B44 for ; Mon, 3 Dec 2012 10:05:59 +0000 (UTC) Received: from stephan-desktop (p54BBC7C5.dip.t-dialin.net [84.187.199.197]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0Ljgw1-1T4TCX1BxR-00bnEG; Mon, 03 Dec 2012 11:05:56 +0100 Received: by stephan-desktop (Postfix, from userid 1000) id B086A5014CA; Mon, 3 Dec 2012 11:05:51 +0100 (CET) From: Stephan Hoffmann To: buildroot@busybox.net Date: Mon, 3 Dec 2012 11:05:51 +0100 Message-Id: <1354529151-17426-1-git-send-email-sho@relinux.de> X-Mailer: git-send-email 1.7.0.4 X-Provags-ID: V02:K0:4w9Br8oW9luGVSX91hAqDaPkHWXXhoD2lQVFMFpvZE3 DxOjm0jh7oh1UgcAT489azb/wHdV4WL478upY3KJVFseUrV+wU ZZDJdk2Snl08E7JPkJEWBCKAPC9WYClWoDeXgfqN2c4YqoV6nO +PDdJ9bGifIaOelG49rQki1RKOz2vGECoIuj3Exzb2uLtLVU1E k8vOu7i37nW+13WqWbTcvr1s4xuOInZeHYYn7Aw4IgOPE6Fobh vRFQJzgHDMIJ3f3g0PTGmT1h2fL+9vC6DQnSDbiKGWKH18XdDD tmpa+WkIxFTfu5BMRtS9d/ydrSxSR0cE5US0FBtQ0A4pplRukc Aus+6dbsv9mTiq7I8e3rBCd3kOf6BoSiwvrL/QopJfqqXlrjk1 wwnAP2zqVn9aA== Subject: [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR 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 There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is supposed to produce a warning when OVERRIDE_SRCDIR is active. This does not work and instead the whole make terminates with an error message. This patch changes the check for active OVERRIDE_SRCDIR so that it works as expected. Signed-off-by: Stephan Hoffmann Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-generic.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 9c4fffa..d6bcb67 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -479,7 +479,7 @@ ifneq ($(call qstrip,$$($(2)_SOURCE)),) ifeq ($$($(2)_SITE_METHOD),local) # Packages without a tarball: don't save and warn @$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),local) -else ifeq ($$($(2)_SITE_METHOD),override) +else ifneq ($$($(2)_OVERRIDE_SRCDIR),) @$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),override) else # Other packages