Jan Weitzel wrote: > Adds acpid > acpid - a configurable ACPI policy daemon for Linux > > Signed-off-by: Jan Weitzel <j.weit...@phytec.de> > --- > > Index: rules/initmethod-bbinit.make > =================================================================== > --- rules/initmethod-bbinit.make (Revision 10403) > +++ rules/initmethod-bbinit.make (Arbeitskopie) > @@ -300,6 +300,11 @@ > ../init.d/networking, \ > /etc/rc.d/$(PTXCONF_INITMETHOD_BBINIT_LINK_NETWORKING)) > endif > +ifneq ($(call remove_quotes,$(PTXCONF_INITMETHOD_BBINIT_ACPID)),) > + @$(call install_link, initmethod-bbinit, \ > + ../init.d/acpid, \ > + /etc/rc.d/$(PTXCONF_INITMETHOD_BBINIT_ACPID)) > +endif > @$(call install_finish, initmethod-bbinit) > > @$(call touch) > Index: rules/acpid.in > =================================================================== > --- rules/acpid.in (Revision 0) > +++ rules/acpid.in (Revision 0) > @@ -0,0 +1,21 @@ > +## SECTION=shell_and_console > + > +menuconfig ACPID > + tristate > + prompt "acpid " > + help > + a configurable ACPI policy daemon for Linux > + > +if ACPID > + > +config ACPID_STARTSCRIPT > + bool > + default y > + prompt "install /etc/init.d/acpid" > + > +config ACPID_POWEROFF > + bool > + default y > + prompt "install /etc/acpi/events/power_button" > +endif > + > Index: rules/acpid.make > =================================================================== > --- rules/acpid.make (Revision 0) > +++ rules/acpid.make (Revision 0) > @@ -0,0 +1,121 @@ > +# -*-makefile-*- > +# $Id: template-make 9053 2008-11-03 10:58:48Z wsa $ > +# > +# Copyright (C) 2009 by Jan Weitzel > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_ACPID) += acpid > + > +# > +# Paths and names > +# > +ACPID_VERSION := 1.0.10 > +ACPID := acpid-$(ACPID_VERSION) > +ACPID_SUFFIX := tar.gz > +ACPID_URL := > $(PTXCONF_SETUP_SFMIRROR)/acpid/$(ACPID).$(ACPID_SUFFIX) > +ACPID_SOURCE := $(SRCDIR)/$(ACPID).$(ACPID_SUFFIX) > +ACPID_DIR := $(BUILDDIR)/$(ACPID) > + > +# > ---------------------------------------------------------------------------- > +# Get > +# > ---------------------------------------------------------------------------- > + > +$(ACPID_SOURCE): > + @$(call targetinfo) > + @$(call get, ACPID) > + > +# > ---------------------------------------------------------------------------- > +# Extract > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/acpid.extract: > + @$(call targetinfo) > + @$(call clean, $(ACPID_DIR)) > + @$(call extract, ACPID) > + @$(call patchin, ACPID) > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +ACPID_PATH := PATH=$(CROSS_PATH) > +ACPID_ENV := $(CROSS_ENV) > + > +# > +# autoconf > +# > +ACPID_AUTOCONF := $(CROSS_AUTOCONF_USR) > + > +$(STATEDIR)/acpid.prepare: > + @$(call targetinfo) > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Compile > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/acpid.compile: > + @$(call targetinfo) > + cd $(ACPID_DIR) && $(ACPID_PATH) $(MAKE) $(PARALLELMFLAGS) > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/acpid.install: > + @$(call targetinfo) > + @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/acpid.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, acpid) > + @$(call install_fixup, acpid,PACKAGE,acpid) > + @$(call install_fixup, acpid,PRIORITY,optional) > + @$(call install_fixup, acpid,VERSION,$(ACPID_VERSION)) > + @$(call install_fixup, acpid,SECTION,base) > + @$(call install_fixup, acpid,AUTHOR,"Jan Weitzel, Juergen Kilb") > + @$(call install_fixup, acpid,DEPENDS,) > + @$(call install_fixup, acpid,DESCRIPTION,missing) > + > + @$(call install_copy, acpid, 0, 0, 0750, $(ACPID_DIR)/acpid, > /usr/sbin/acpid) > + @$(call install_copy, acpid, 0, 0, 0755, $(ACPID_DIR)/acpi_listen, > /usr/bin/acpi_listen) > + @$(call install_copy, acpid, 0, 0, 0755, > $(ACPID_DIR)/samples/sample.conf, /etc/acpi/events/sample.conf)
why is this file installed? is it actually used? it consists only of commented-out lines. cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list ptxdist@pengutronix.de