diff options
author | Maxime Hadjinlian <maxime.hadjinlian@gmail.com> | 2014-06-11 00:15:57 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-06-11 13:12:25 +0200 |
commit | 04c32c30a1d39cc141484d6ebcab1f5f5e1dda2e (patch) | |
tree | 4c8802d4151f74e4fed849d4cc81ea7770990427 | |
parent | 6a07498decf4f550b4e5a2955985e993f950147f (diff) | |
download | buildroot-04c32c30a1d39cc141484d6ebcab1f5f5e1dda2e.tar.gz buildroot-04c32c30a1d39cc141484d6ebcab1f5f5e1dda2e.zip |
faifa: force GIT_REV to a correct value
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 <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/faifa/faifa.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/faifa/faifa.mk b/package/faifa/faifa.mk index 8f5d258c6c..c83b02a3ea 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. |