最佳答案
KDIR ?= $(shell uname -r)
What is the meaning of ?=?
I have understood the difference between :=, += and = from another thread available in Stack Overflow, but unable to find the explanation for ?=.