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 := /lib/modules/`uname -r`/build |
61 KERNEL_DIR := /lib/modules/`uname -r`/build |
62 endif |
62 endif |
63 |
63 |
|
64 CURRENT_DIR := $(shell pwd) |
|
65 |
64 modules: |
66 modules: |
65 $(MAKE) -C $(KERNELDIR) M=`pwd` |
67 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) |
66 |
68 |
67 clean: |
69 clean: |
68 $(MAKE) -C $(KERNELDIR) M=`pwd` clean |
70 $(MAKE) -C $(KERNEL_DIR) M=$(CURRENT_DIR) clean |
69 |
71 |
70 #------------------------------------------------------------------------------ |
72 #------------------------------------------------------------------------------ |
71 |
73 |
72 endif |
74 endif |