acpid: build also on arm

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2018-04-14 18:42:00 +02:00
parent 9a2ac6c3da
commit 69acde2ecd
5 changed files with 6 additions and 22 deletions

View File

@@ -3,6 +3,7 @@ etc/init.d
#etc/rc.d/helper
etc/rc.d/helper/getdnsfromdhcpc.pl
#etc/rc.d/init.d
etc/rc.d/init.d/acpid
etc/rc.d/init.d/apache
etc/rc.d/init.d/beep
etc/rc.d/init.d/checkfs
@@ -108,6 +109,7 @@ etc/rc.d/rc0.d/K80network
etc/rc.d/rc0.d/K82wlanclient
#etc/rc.d/rc0.d/K84bluetooth
#etc/rc.d/rc0.d/K85messagebus
etc/rc.d/rc0.d/K87acpid
etc/rc.d/rc0.d/K90sysklogd
etc/rc.d/rc0.d/S60sendsignals
etc/rc.d/rc0.d/S70localnet
@@ -118,6 +120,7 @@ etc/rc.d/rc0.d/S99halt
etc/rc.d/rc3.d/S01vnstat
etc/rc.d/rc3.d/S10sysklogd
etc/rc.d/rc3.d/S11unbound
etc/rc.d/rc3.d/S12acpid
etc/rc.d/rc3.d/S15fireinfo
#etc/rc.d/rc3.d/S15messagebus
#etc/rc.d/rc3.d/S16bluetooth
@@ -157,6 +160,7 @@ etc/rc.d/rc6.d/K80network
etc/rc.d/rc6.d/K82wlanclient
#etc/rc.d/rc6.d/K84bluetooth
#etc/rc.d/rc6.d/K85messagebus
etc/rc.d/rc6.d/K87acpid
etc/rc.d/rc6.d/K90sysklogd
etc/rc.d/rc6.d/S60sendsignals
etc/rc.d/rc6.d/S70mountfs

View File

@@ -1,17 +0,0 @@
etc/acpi
etc/acpi/actions
etc/acpi/actions/power.sh
etc/acpi/events
etc/acpi/events/power
usr/bin/acpi_listen
usr/sbin/acpid
#usr/sbin/kacpimon
#usr/share/doc/acpid-2.0.26
#usr/share/doc/acpid-2.0.26/COPYING
#usr/share/doc/acpid-2.0.26/Changelog
#usr/share/doc/acpid-2.0.26/README
#usr/share/doc/acpid-2.0.26/TESTPLAN
#usr/share/doc/acpid-2.0.26/TODO
#usr/share/man/man8/acpi_listen.8
#usr/share/man/man8/acpid.8
#usr/share/man/man8/kacpimon.8

View File

@@ -31,7 +31,6 @@ DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = x86_64 i586
###############################################################################
# Top-level Rules

View File

@@ -196,15 +196,13 @@ $(TARGET) :
ln -sf any /etc/rc.d/init.d/networking/$$i; \
done
# ARM does not need acpid, intel no swconfig
# intel intel no swconfig
ifeq "$(BUILD_PLATFORM)" "arm"
rm -vf /etc/rc.d/init.d/acpid
ln -sf ../init.d/swconfig /etc/rc.d/rcsysinit.d/S73swconfig
else
rm -vf /etc/rc.d/init.d/swconfig
endif
ln -sf ../init.d/acpid /etc/rc.d/rc3.d/S12acpid
ln -sf ../init.d/acpid /etc/rc.d/rc0.d/K87acpid
ln -sf ../init.d/acpid /etc/rc.d/rc6.d/K87acpid
endif
@$(POSTBUILD)