postfix: remove references to buildmachine paths in target makedefs.out

Clean the buildmachine paths in makedefs.out

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Yi Zhao 2017-03-09 10:11:44 +08:00 committed by Joe MacDonald
parent f1986a5fec
commit 64ab19b7d1

View File

@ -214,7 +214,7 @@ do_install_append_class-native() {
do_install_append_class-target() {
# Remove references to buildmachine paths in target makedefs.out
sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
}
NATIVE_INSTALL_WORKS = "1"