diff options
author | Len Brown <len.brown@intel.com> | 2012-09-22 22:33:19 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-09-22 22:33:19 -0400 |
commit | 0efea7b6b2ac2a6e7d7b223a6c70299099285103 (patch) | |
tree | 1e986cac111fe407839efa46b1d881a5c3dfa9d6 /tools/power/acpi/Makefile | |
parent | 28a33cbc24e4256c143dce96c7d93bf423229f92 (diff) |
tools/power/acpi/acpidump: version 20051111
This is unchanged version 20051111, 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/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/power/acpi/Makefile b/tools/power/acpi/Makefile new file mode 100644 index 000000000000..faf5ff5c8f8f --- /dev/null +++ b/tools/power/acpi/Makefile @@ -0,0 +1,15 @@ +PROG= acpidump +SRCS= acpidump.c +KERNEL_INCLUDE := ../../../include +CFLAGS += -Wall -Wstrict-prototypes -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) + +all: acpidump + +acpidump : $(SRCS) + $(CC) $(CFLAGS) $(SRCS) -o $(PROG) + +CLEANFILES= $(PROG) + +clean : + rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~ + |