Lines 1-3
Link Here
|
|
|
1 |
KSRC=/usr/src/linux |
1 |
KINCLUDES = /usr/src/linux/include |
2 |
KINCLUDES = /usr/src/linux/include |
2 |
BRISTUFFBASE = $(shell dirname `pwd`) |
3 |
BRISTUFFBASE = $(shell dirname `pwd`) |
3 |
|
4 |
|
Lines 33-40
Link Here
|
33 |
sync |
34 |
sync |
34 |
|
35 |
|
35 |
linux26: |
36 |
linux26: |
36 |
@if ! [ -d /usr/src/linux-2.6 ]; then echo "Link /usr/src/linux-2.6 to your kernel sources first!"; exit 1 ; fi |
37 |
@if ! [ -d $(KSRC) ]; then echo "Link $(KSRC) to your kernel sources first!"; exit 1 ; fi |
37 |
make -C /usr/src/linux-2.6 SUBDIRS=$(PWD) ZAP=$(ZAP) modules |
38 |
make -C $(KSRC) SUBDIRS=$(PWD) ZAP=$(ZAP) modules |
38 |
obj-m := $(OBJS) |
39 |
obj-m := $(OBJS) |
39 |
|
40 |
|
40 |
ztgsm.o: ztgsm.c ztgsm.h |
41 |
ztgsm.o: ztgsm.c ztgsm.h |