Line
Link Here
|
0 |
-- acpidump/Makefile.orig |
0 |
++ acpidump/Makefile |
Lines 1-11
Link Here
|
1 |
PROG= acpidump |
1 |
PROG= acpidump |
2 |
SRCS= acpidump.c |
2 |
SRCS= acpidump.c |
3 |
KERNEL_INCLUDE := ../include |
3 |
KERNEL_INCLUDE := ../include |
4 |
CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Os -s -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) |
4 |
CFLAGS += -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D_LINUX -DDEFINE_ALTERNATE_TYPES -I$(KERNEL_INCLUDE) |
5 |
|
5 |
|
6 |
all: acpidump |
6 |
all: acpidump |
7 |
$(PROG) : $(SRCS) |
7 |
$(PROG) : $(SRCS) |
8 |
$(CC) $(CFLAGS) $(SRCS) -o $(PROG) |
8 |
$(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG) |
9 |
|
9 |
|
10 |
CLEANFILES= $(PROG) |
10 |
CLEANFILES= $(PROG) |
11 |
|
11 |
|
12 |
-- acpixtract/Makefile.orig |
12 |
++ acpixtract/Makefile |
Lines 6-12
Link Here
|
6 |
all: $(PROG) |
6 |
all: $(PROG) |
7 |
|
7 |
|
8 |
$(PROG) : $(SRCS) |
8 |
$(PROG) : $(SRCS) |
9 |
$(CC) $(CFLAGS) $(SRCS) -o $(PROG) |
9 |
$(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG) |
10 |
|
10 |
|
11 |
CLEANFILES= $(PROG) |
11 |
CLEANFILES= $(PROG) |
12 |
|
12 |
|
13 |
-- madt/Makefile.orig |
13 |
++ madt/Makefile |
Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
all: madt |
4 |
all: madt |
5 |
$(PROG) : $(SRCS) |
5 |
$(PROG) : $(SRCS) |
6 |
$(CC) $(CFLAGS) $(SRCS) -o $(PROG) |
6 |
$(CC) $(CFLAGS) $(LDFLAGS) $(SRCS) -o $(PROG) |
7 |
|
7 |
|
8 |
test: madt |
8 |
test: madt |
9 |
./madt < example.APIC.dat |
9 |
./madt < example.APIC.dat |