Improve environment script to extend pkg-config path and libnsfb library target
This commit is contained in:
parent
bf75ba31ac
commit
526488d2f3
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue