@@ -5,6 +5,8 @@ CONFIG_64BIT=y
CONFIG_6LOWPAN=m
CONFIG_ABX500_CORE=y
CONFIG_AC97_BUS=m
+CONFIG_ACPI_DEBUGGER=y
+CONFIG_ACPI_DEBUGGER_USER=y
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
CONFIG_ADFS_FS=m
CONFIG_AFFS_FS=m
@@ -17,4 +17,5 @@ do_tools_x86 = true
do_tools_hyperv = true
do_extras_package = true
do_tools_common = true
+do_tools_acpidbg = true
do_zfs = true
@@ -375,6 +375,9 @@ ifeq ($(do_tools_usbip),true)
$(LN) ../../$(src_pkg_name)-tools-$(abi_release)/usbip $(toolspkgdir)/usr/lib/linux-tools/$(abi_release)-$*
$(LN) ../../$(src_pkg_name)-tools-$(abi_release)/usbipd $(toolspkgdir)/usr/lib/linux-tools/$(abi_release)-$*
endif
+ifeq ($(do_tools_acpidbg),true)
+ $(LN) ../../$(src_pkg_name)-tools-$(abi_release)/acpidbg $(toolspkgdir)/usr/lib/linux-tools/$(abi_release)-$*
+endif
ifeq ($(do_tools_cpupower),true)
$(LN) ../../$(src_pkg_name)-tools-$(abi_release)/cpupower $(toolspkgdir)/usr/lib/linux-tools/$(abi_release)-$*
endif
@@ -598,6 +601,9 @@ ifeq ($(do_tools_usbip),true)
cd $(builddirpa)/tools/usb/usbip && ./configure --prefix=$(builddirpa)/tools/usb/usbip/bin
cd $(builddirpa)/tools/usb/usbip && make install CFLAGS="-g -O2 -static" CROSS_COMPILE=$(CROSS_COMPILE)
endif
+ifeq ($(do_tools_acpidbg),true)
+ cd $(builddirpa)/tools/power/acpi && make clean && make CFLAGS="-g -O2 -static -I$(builddirpa)/include" CROSS_COMPILE=$(CROSS_COMPILE) acpidbg
+endif
ifeq ($(do_tools_cpupower),true)
# Allow for multiple installed versions of cpupower and libcpupower.so:
# Override LIB_MIN in order to to generate a versioned .so named
@@ -644,6 +650,10 @@ ifeq ($(do_tools_usbip),true)
install -m755 $(builddirpa)/tools/usb/usbip/bin/sbin/usbipd \
$(toolspkgdir)/usr/lib/$(src_pkg_name)-tools-$(abi_release)
endif
+ifeq ($(do_tools_acpidbg),true)
+ install -m755 $(builddirpa)/tools/power/acpi/acpidbg \
+ $(toolspkgdir)/usr/lib/$(src_pkg_name)-tools-$(abi_release)
+endif
ifeq ($(do_tools_cpupower),true)
install -m755 $(builddirpa)/tools/power/cpupower/cpupower \
$(toolspkgdir)/usr/lib/$(src_pkg_name)-tools-$(abi_release)
@@ -134,6 +134,10 @@ ifeq ($(do_tools_common),true)
install -d $(cloudman)/man8
install -m644 $(CURDIR)/tools/hv/*.8 $(cloudman)/man8
+ifeq ($(do_tools_acpidbg),true)
+ install -m755 debian/tools/generic $(toolsbin)/acpidbg
+endif
+
endif
install-indep: install-tools