cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jrceokura
Adventurer
Adventurer
301 Views
Registered: ‎07-17-2018

modules's build errors while added patch to kernel source.

Jump to solution

Hi, all!

I added patch to recipes-kernel.

and I executed petalinux- build.

Then, build errors have occured.

I don't understand this errors, because the error file is unrelate to added patch.

My added patch is stop print message by watchdog, attachment stop-wdt-msg.patch.

My errors are attachment errors.txt.

Could you teach me the reason?

Why does errors happen in unrelated module while  I just only added #if0 and #endif to watchdog_dev.c?

 
Best regards 
0 Kudos
1 Solution

Accepted Solutions
jrceokura
Adventurer
Adventurer
54 Views
Registered: ‎07-17-2018

Hi all.

I avoided the error in the following way

petalinux-build -c kernel -x clean
( or petalinux-build -c kernel -x cleanall)

petalinux-build -c kernel -x compile -f

petalinux-build -c kernel -x package

petalinux-build

 

Best regards.

View solution in original post

0 Kudos
1 Reply
jrceokura
Adventurer
Adventurer
55 Views
Registered: ‎07-17-2018

Hi all.

I avoided the error in the following way

petalinux-build -c kernel -x clean
( or petalinux-build -c kernel -x cleanall)

petalinux-build -c kernel -x compile -f

petalinux-build -c kernel -x package

petalinux-build

 

Best regards.

View solution in original post

0 Kudos