Improve environment script to extend pkg-config path and libnsfb library target

This commit is contained in:
Vincent Sanders 2013-04-12 09:33:58 +01:00
parent bf75ba31ac
commit 526488d2f3
1 changed files with 8 additions and 1 deletions

View File

@ -34,7 +34,7 @@ echo "TARGET_WORKSPACE=${TARGET_WORKSPACE}"
echo "USE_CPUS=${USE_CPUS}" echo "USE_CPUS=${USE_CPUS}"
export PREFIX=${TARGET_WORKSPACE}/inst-${TARGET_ABI} export PREFIX=${TARGET_WORKSPACE}/inst-${TARGET_ABI}
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig:: export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig:${PKG_CONFIG_PATH}::
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PREFIX}/lib export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PREFIX}/lib
export PATH=${PATH}:${PREFIX}/bin export PATH=${PATH}:${PREFIX}/bin
@ -100,6 +100,13 @@ ns-make-libs()
done done
} }
# issues a make command to all libraries
ns-make-libnsfb()
{
echo " MAKE: make -C libnsfb $USE_CPUS $*"
make -C ${TARGET_WORKSPACE}/libnsfb TARGET=${TARGET_ABI} $USE_CPUS $*
}
# pulls all repos and makes and installs the libraries and tools # pulls all repos and makes and installs the libraries and tools
ns-pull-install() ns-pull-install()
{ {