1

I was going through some makefiles and I observed that this statement is used quite often

ifneq ($(KERNELRELEASE),)

to see if the file is invoked from the kernel build system . I have tried going into /usr/src/mykernelheaders and tried a printenv. But I still do not see $KERNELRELEASE defined. Where exactly is it defined in linux?

4

0 回答 0