examples/rtai/Makefile
branchstable-1.0
changeset 1620 9d7453c16ade
parent 1619 0d4119024f55
child 1621 4bbe090553f7
equal deleted inserted replaced
1619:0d4119024f55 1620:9d7453c16ade
    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