summaryrefslogtreecommitdiff
path: root/tools/power/acpi/Makefile
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2012-09-22 22:49:25 -0400
committerLen Brown <len.brown@intel.com>2012-09-22 22:49:25 -0400
commit981efe9ab9e91e13ec75836300515428a30017df (patch)
tree185ce51b852487192db051334b68882cdd42e9ea /tools/power/acpi/Makefile
parent4f1004207ed67903c60ed6476da0cc571b19a220 (diff)
tools/power/acpi/acpidump: version 20070714
This is unchanged version 20070714, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/acpi/Makefile')
-rw-r--r--tools/power/acpi/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/power/acpi/Makefile b/tools/power/acpi/Makefile
index faf5ff5c8f8f..dad79a69b679 100644
--- a/tools/power/acpi/Makefile
+++ b/tools/power/acpi/Makefile
@@ -1,11 +1,10 @@
-PROG= acpidump
+PROG= acpidump
SRCS= acpidump.c
KERNEL_INCLUDE := ../../../include
-CFLAGS += -Wall -Wstrict-prototypes -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
+CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE)
all: acpidump
-
-acpidump : $(SRCS)
+$(PROG) : $(SRCS)
$(CC) $(CFLAGS) $(SRCS) -o $(PROG)
CLEANFILES= $(PROG)