diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2014-02-25 22:01:47 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-25 22:11:18 +0100 |
commit | 5263aa681ab46bd072b7e8a77780afe3ff39c339 (patch) | |
tree | 827dca8e74b9197d5c3b9475d27040de3a42d479 /package/ncftp | |
parent | bd7b402fb195e22dc6b375f764ea5d2dd09d4e5e (diff) | |
download | buildroot-5263aa681ab46bd072b7e8a77780afe3ff39c339.tar.gz buildroot-5263aa681ab46bd072b7e8a77780afe3ff39c339.zip |
ncftp: clarify the NCFTP_RUN_AUTOCONF hook.
When I saw this patch it took me a while to figure out how/why it worked,
so let's make life easier for the eventual version bumper to understand
what's going on here.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ncftp')
-rw-r--r-- | package/ncftp/ncftp.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/ncftp/ncftp.mk b/package/ncftp/ncftp.mk index 841c82ba1c..6ab393430c 100644 --- a/package/ncftp/ncftp.mk +++ b/package/ncftp/ncftp.mk @@ -13,10 +13,13 @@ NCFTP_LICENSE_FILES = doc/LICENSE.txt NCFTP_DEPENDENCIES = host-autoconf +# The bundled configure script is generated by autoconf 2.13 and doesn't +# detect cross-compilation correctly. Therefore, we have to regenerate it. +# We need to pass -I because of the non-standard m4 directory name, and +# none of the other autotools are used, so the below is the easiest. define NCFTP_RUN_AUTOCONF (cd $(@D); $(HOST_DIR)/usr/bin/autoconf -I$(@D)/autoconf_local/) endef - NCFTP_PRE_CONFIGURE_HOOKS += NCFTP_RUN_AUTOCONF ifeq ($(BR2_PACKAGE_NCFTP_GET),y) |