image-prelink: use STAGING_*_NATIVE variables
(From OE-Core rev: d78921e91ea1caf0154d544496a8aeabc2ec543d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2193e9d064
commit
4dd3e40ed6
|
@ -19,7 +19,7 @@ prelink_image () {
|
|||
|
||||
# We need a prelink conf on the filesystem, add one if it's missing
|
||||
if [ ! -e ${IMAGE_ROOTFS}${sysconfdir}/prelink.conf ]; then
|
||||
cp ${STAGING_DIR_NATIVE}${sysconfdir_native}/prelink.conf \
|
||||
cp ${STAGING_ETCDIR_NATIVE}/prelink.conf \
|
||||
${IMAGE_ROOTFS}${sysconfdir}/prelink.conf
|
||||
dummy_prelink_conf=true;
|
||||
else
|
||||
|
@ -36,7 +36,7 @@ prelink_image () {
|
|||
dynamic_loader=$(linuxloader)
|
||||
|
||||
# prelink!
|
||||
${STAGING_DIR_NATIVE}${sbindir_native}/prelink --root ${IMAGE_ROOTFS} -amR -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader
|
||||
${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -amR -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader
|
||||
|
||||
# Remove the prelink.conf if we had to add it.
|
||||
if [ "$dummy_prelink_conf" = "true" ]; then
|
||||
|
|
Loading…
Reference in New Issue