summaryrefslogtreecommitdiffstats
path: root/package/gmp
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-02-25 17:27:50 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-02-25 17:27:50 +0100
commitf561763e9189d668001004f5a603738c1ba7ce7c (patch)
tree152c4c286eb988d8da5091385dbcd73b5b142784 /package/gmp
parentf389a9ce2fd105f0603c9ede71fdbeee5f851edd (diff)
downloadbuildroot-novena-f561763e9189d668001004f5a603738c1ba7ce7c.tar.gz
buildroot-novena-f561763e9189d668001004f5a603738c1ba7ce7c.zip
gmp/mpfr: make sure host builds add source targets to HOST_SOURCE
Closes #1183. When gmp/mpfr is needed for the host (E.G. when using an internal toolchain), the host-lib{gmp,mpfr}-source targets weren't added to HOST_SOURCE, so make source / external-deps didn't handle them. Notice that we have the same issue with the new host package support, there we should probably use HOST_<package>_DEPENDENCIES for -source dependencies. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gmp')
-rw-r--r--package/gmp/gmp.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index 7ae78c79d..a3488b836 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -93,6 +93,7 @@ $(GMP_HOST_DIR)/lib/libgmp$(HOST_LIBEXT): $(GMP_DIR2)/.configured
$(MAKE) -C $(GMP_DIR2) install
host-libgmp: $(GMP_HOST_DIR)/lib/$(GMP_HOST_BINARY)
+host-libgmp-source: libgmp-source
host-libgmp-clean:
rm -rf $(GMP_HOST_DIR)
-$(MAKE) -C $(GMP_DIR2) clean