summaryrefslogtreecommitdiffstats
path: root/tools/power/acpi/Makefile
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2012-09-22 23:34:35 -0400
committerLen Brown <len.brown@intel.com>2012-09-22 23:34:35 -0400
commit8fa6b970ff424539df074d71591fac6aa9d64b1f (patch)
tree5af154950d45ec3cce3e5dabaf99db7baf20a9f2 /tools/power/acpi/Makefile
parentabd4c92003ce21c37ca0e6d9d62b93eb22ec118b (diff)
parent0e7cc27935cda92c7a39a00791d0d4bbffeab117 (diff)
downloadblackbird-op-linux-8fa6b970ff424539df074d71591fac6aa9d64b1f.tar.gz
blackbird-op-linux-8fa6b970ff424539df074d71591fac6aa9d64b1f.zip
Merge branch 'acpidump' into acpica
Diffstat (limited to 'tools/power/acpi/Makefile')
-rw-r--r--tools/power/acpi/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/power/acpi/Makefile b/tools/power/acpi/Makefile
new file mode 100644
index 000000000000..6b9cf7a987c7
--- /dev/null
+++ b/tools/power/acpi/Makefile
@@ -0,0 +1,18 @@
+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/bin/acpidump
+ install acpidump.8 /usr/share/man/man8
+
OpenPOWER on IntegriCloud