[OE-core] [PATCH 12/26] acpid: upgrade to 2.0.22 and add systemd support

Burton, Ross ross.burton at intel.com
Tue Sep 2 15:24:33 UTC 2014


On 2 September 2014 11:53, Chen Qi <Qi.Chen at windriver.com> wrote:
> -inherit update-rc.d
> +inherit autotools update-rc.d systemd
>
>  INITSCRIPT_NAME = "acpid"
>  INITSCRIPT_PARAMS = "defaults"
>
> -# Makefile ignores our CFLAGS, so override it.
> -#
> -EXTRA_OEMAKE = "CFLAGS='-W -Wall -Werror -Wundef -Wshadow ${CFLAGS} $(DEFS)'"
> +SYSTEMD_PACKAGES = "acpid"
> +SYSTEMD_SERVICE_acpid = "acpid.service"
>
> -do_compile () {
> -       oe_runmake 'CC=${CC} -D_GNU_SOURCE' 'CROSS=${HOST_PREFIX}'
> -}

In general it would be nice if the commit mentioned "upstream now uses
autotools" to make it clear that changes to the build were
intentional.

Ross



More information about the Openembedded-core mailing list