mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 09:26:45 +07:00
e183fcb344
Change the default location to install acpidump into from /usr/bin to /usr/sbin, as this tool needs to be run as root. [rjw: Subject and changelog] Signed-off-by: Thomas Renninger <trenn@suse.de> Tested-by: Lee, Chun-Yi <jlee@suse.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
19 lines
437 B
Makefile
19 lines
437 B
Makefile
PROG= acpidump
|
|
SRCS= acpidump.c
|
|
KERNEL_INCLUDE := ../../../include
|
|
CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
|
|
|
|
all: acpidump
|
|
$(PROG) : $(SRCS)
|
|
$(CC) $(CFLAGS) $(SRCS) -o $(PROG)
|
|
|
|
CLEANFILES= $(PROG)
|
|
|
|
clean :
|
|
rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
|
|
|
|
install :
|
|
install acpidump /usr/sbin/acpidump
|
|
install acpidump.8 /usr/share/man/man8
|
|
|