From ed11c87c2cc56fe40f6d4503cf0cc56e7ed841f7 Mon Sep 17 00:00:00 2001 From: Burt P Date: Wed, 16 Aug 2017 18:06:02 -0500 Subject: Create dmi_util.c and move *_util.c to hardinfo/ These stand alone interfaces and are used across modules, so just make them available to any module by default. Signed-off-by: Burt P --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d4c60fec..5cd014d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,13 +137,11 @@ set(MODULE_computer_SOURCES ) set(MODULE_devices_SOURCES modules/devices.c - modules/devices/cpu_util.c modules/devices/${HARDINFO_ARCH}/processor.c modules/devices/battery.c modules/devices/devmemory.c modules/devices/dmi.c modules/devices/devicetree.c - modules/devices/devicetree/dt_util.c modules/devices/inputdevices.c modules/devices/pci.c modules/devices/printers.c @@ -222,6 +220,9 @@ add_executable(hardinfo hardinfo/util.c hardinfo/vendor.c hardinfo/info.c + hardinfo/cpu_util.c + hardinfo/dmi_util.c + hardinfo/dt_util.c shell/callbacks.c shell/iconcache.c shell/menu.c @@ -247,6 +248,9 @@ add_executable(hardinfo hardinfo/util.c hardinfo/vendor.c hardinfo/info.c + hardinfo/cpu_util.c + hardinfo/dmi_util.c + hardinfo/dt_util.c shell/callbacks.c shell/iconcache.c shell/menu.c -- cgit v1.2.3