[OE-core] [PATCH] which-2.18: Make sure ChangeLog exists for automake

jackie.huang at windriver.com jackie.huang at windriver.com
Mon Oct 27 09:44:42 UTC 2014


From: Jackie Huang <jackie.huang at windriver.com>

Fixed:
Makefile.am: error: required file './ChangeLog' not found

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 meta/recipes-extended/which/which_2.18.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-extended/which/which_2.18.bb b/meta/recipes-extended/which/which_2.18.bb
index 5fa5d9e..49e9248 100644
--- a/meta/recipes-extended/which/which_2.18.bb
+++ b/meta/recipes-extended/which/which_2.18.bb
@@ -25,6 +25,9 @@ do_configure_prepend() {
 	OLD="@ACLOCAL_CWFLAGS@"
 	NEW="-I ${STAGING_DIR_NATIVE}/${datadir}/cwautomacros/m4"
 	sed -i "s#${OLD}#${NEW}#g" `grep -rl ${OLD} ${S}`
+
+	# Make sure ChangeLog exists for automake
+	touch ${S}/ChangeLog
 }
 
 ALTERNATIVE_${PN} = "which"
-- 
2.0.0




More information about the Openembedded-core mailing list