Skip to content

Commit

Permalink
tools/power/acpi/acpidump: version 20051111
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Len Brown committed Sep 23, 2012
1 parent 28a33cb commit 0efea7b
Show file tree
Hide file tree
Showing 2 changed files with 487 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tools/power/acpi/Makefile
Original file line number Diff line number Diff line change
@@ -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)) *~

Loading

0 comments on commit 0efea7b

Please sign in to comment.