summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
blob: 60e53621b500fbd7051712a13c0bc2dd6ea4f8c2 (plain)
1
2
3
4
5
6
7
ifneq ($(KERNELRELEASE),)
include Kbuild
else
KERNELDIR := /lib/modules/`uname -r`/build
all::
	$(MAKE) -C $KERNELDIR M=`pwd` $@
endif