examples/rtai/Makefile
changeset 284 7eed6020d5cf
parent 267 88177083f137
equal deleted inserted replaced
283:a480a0703c58 284:7eed6020d5cf
    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 KERNEL_DIR := /lib/modules/`uname -r`/build
    61 KERNEL_DIR := /lib/modules/$(shell uname -r)/build
    62 endif
    62 endif
    63 
    63 
    64 CURRENT_DIR := $(shell pwd)
    64 CURRENT_DIR := $(shell pwd)
    65 
    65 
    66 modules:
    66 modules: