gmp: add host compile
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Aug 2014 13:10:11 +0000 (13:10 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Aug 2014 13:10:11 +0000 (13:10 +0000)
commitb34e30bdcf15f83a09035bac739f1f8783ec1454
treef73c067cf1283511f182ff6342ab78fbacb1cf14
parentced157e2235e89c7f968f2ac415ca33204d8214d
gmp: add host compile

Currently, any package that uses host compile and depends on
libgmp.so will fail. This is because gmp is not compile for
host machine. So, staging_dir/host has only static lib for gmp

 $ ls staging_dir/host/lib/libgmp* -1
 staging_dir/host/lib/libgmp.a
 staging_dir/host/lib/libgmp.la
 staging_dir/host/lib/libgmpxx.a
 staging_dir/host/lib/libgmpxx.la

Addind host compile in gmp, the dependent package can use:

 PKG_BUILD_DEPENDS:=gmp/host

That will compile gmp to staging_dir/host with *.so files

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42196 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/libs/gmp/Makefile