[OE-core] [PATCH] which-2.18: Make sure ChangeLog exists for automake
Martin Jansa
martin.jansa at gmail.com
Mon Oct 27 09:52:48 UTC 2014
On Mon, Oct 27, 2014 at 05:44:42AM -0400, jackie.huang at windriver.com wrote:
> From: Jackie Huang <jackie.huang at windriver.com>
>
> Fixed:
> Makefile.am: error: required file './ChangeLog' not found
Isn't it better to pass foreign to automake?
>
> 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
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141027/e55ee5a0/attachment-0002.sig>
More information about the Openembedded-core
mailing list