From patchwork Tue Jun 10 22:15:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 358399 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 3AA491400E4 for ; Wed, 11 Jun 2014 08:18:40 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EEBA087A1E; Tue, 10 Jun 2014 22:18:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q+uVdHAwXPjH; Tue, 10 Jun 2014 22:18:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6036E87A5B; Tue, 10 Jun 2014 22:18:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 6E2791BF9ED for ; Tue, 10 Jun 2014 22:18:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 674E3316C6 for ; Tue, 10 Jun 2014 22:18:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D-r30N1aaK9H for ; Tue, 10 Jun 2014 22:18:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by silver.osuosl.org (Postfix) with ESMTPS id 9EBB83158D for ; Tue, 10 Jun 2014 22:18:34 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id y10so2096326wgg.8 for ; Tue, 10 Jun 2014 15:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=08Yh40HP5z/6MBWistkSe24H6zsY29As5p0IOJYkhfk=; b=uVE6q52z3gS+y9Ree6K2yvznIVB2/1+Rq7yU07SXzECiukExrfNPsGfcRH0N78/Z9X okz8+TZLeHD0RNYKg8u4YAGNZSY8l6a2ZZQCIqNgYdcoh5RPcJMOrKEBSn2GtGjHaCBE n2opJH1Kkd2xtbQsbS3zBzcykDe7n1hLc1dADzubQD7cCoTXRDan1eNrAs/mgqZZnZHQ B+9AtyVtBOYH0PT+4QKuvG1VZgWTF4Ntc/QxSAx604qXyH3MXHi4LV1RXIJXJ+V/amNM fGv6VvDcXshr86KN9IeWDjAoT550KXa55nCv50T8N8z4Ul9qpmNlw3RMJqIF+3W7EWDc hyQQ== X-Received: by 10.180.212.112 with SMTP id nj16mr42264881wic.1.1402438713177; Tue, 10 Jun 2014 15:18:33 -0700 (PDT) Received: from localhost.localdomain (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPSA id ja9sm20309821wic.8.2014.06.10.15.18.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Jun 2014 15:18:32 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Wed, 11 Jun 2014 00:15:57 +0200 Message-Id: <1402438557-29335-2-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1402438557-29335-1-git-send-email-maxime.hadjinlian@gmail.com> References: <1402438557-29335-1-git-send-email-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH 2/2] faifa: force GIT_REV to a correct value 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 This variable is looked up by the Makefile throught a git command line invocation. Since we don't keep the '.git' folder in the packages when we clone them, the command line fail to find anything. Even worse, it can keep going up the tree until it finds buildroot's '.git' directory. Signed-off-by: Maxime Hadjinlian --- package/faifa/faifa.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/faifa/faifa.mk b/package/faifa/faifa.mk index 8f5d258..c83b02a 100644 --- a/package/faifa/faifa.mk +++ b/package/faifa/faifa.mk @@ -11,6 +11,8 @@ FAIFA_DEPENDENCIES = libpcap host-autoconf FAIFA_LICENSE = GPLv2+ FAIFA_LICENSE_FILES = COPYING +FAIFA_MAKE_OPT += GIT_REV=$(FAIFA_VERSION) + # This package uses autoconf, but not automake, so we need to call # their special autogen.sh script, and have custom target and staging # installation commands.