User Tools

Site Tools


Translations:
en

en:bpi-r64:kernel

Kernel

make-command

debug

dev_info(gsw->dev,"%s:%d 0x%x",__FUNCTION__,__LINE__,val);
printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__);
#define onelinedbg(dev,fmt,...) {if (dev) dev_info(dev,"%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);else printk(KERN_INFO "%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);}

makefile:

$(info $$var is [${var}])
en/bpi-r64/kernel.txt · Last modified: 2020/08/29 17:14 (external edit)