equal
deleted
inserted
replaced
56 #------------------------------------------------------------------------------ |
56 #------------------------------------------------------------------------------ |
57 |
57 |
58 ifneq ($(wildcard kernel.conf),) |
58 ifneq ($(wildcard kernel.conf),) |
59 include kernel.conf |
59 include kernel.conf |
60 else |
60 else |
61 KERNELDIR = /usr/src/linux |
61 KERNELDIR := /lib/modules/`uname -r`/build |
62 endif |
62 endif |
63 |
63 |
64 modules: |
64 modules: |
65 $(MAKE) -C $(KERNELDIR) M=`pwd` |
65 $(MAKE) -C $(KERNELDIR) M=`pwd` |
66 |
66 |