Files
LibreELEC.tv/packages/debug/pmtools/patches/pmtools-madt.patch
Stephan Raue 86724c9b87 pmtools: update to pmtools-20110323
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-04-16 16:16:10 +02:00

26 lines
552 B
Diff

diff -Naur pmtools/madt/Makefile pmtools.patch/madt/Makefile
--- pmtools/madt/Makefile 2005-11-11 18:07:04.000000000 +0100
+++ pmtools.patch/madt/Makefile 2007-11-16 19:48:56.000000000 +0100
@@ -1,6 +1,16 @@
+PROG= madt
+SRCS= madt.c
+
+all: madt
+$(PROG) : $(SRCS)
+ $(CC) $(CFLAGS) $(SRCS) -o $(PROG)
+
test: madt
- ./madt < APIC
-madt: madt.c acpi.h tables.c
- cc -o madt madt.c
-clean:
- rm madt
+ ./madt < example.APIC.dat
+ ./madt < example.APIC.bad.dat
+
+CLEANFILES= $(PROG)
+
+clean :
+ rm -f $(CLEANFILES) $(patsubst %.c,%.o, $(SRCS)) *~
+