mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00: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
|
|
|