Yocto Project Discussions
 help / color / mirror / Atom feed
* Custom Kernel Recipe Compilation Error.
@ 2025-07-07 20:10 C Larbi
  2025-07-08  9:06 ` [yocto] " Gyorgy Sarvari
  2025-07-14 16:18 ` Quentin Schulz
  0 siblings, 2 replies; 7+ messages in thread
From: C Larbi @ 2025-07-07 20:10 UTC (permalink / raw)
  To: yocto

Hello all
I am a newbie to the yocto project and on a journey to understand the basics.

My reference hardware for my learning journey is the Orange pi 3b (RK3566 soc)

I have created a bsp layer containing my machine configuration and a
recipe to build a custom kernel.

The kernel recipe build throws an error on the "do_compile_kernelmodules" task.
Before writing this, i went through the manual process of compiling
the same kernel source on my machine and i was able to produce a
vmlinux file and build the modules.

This is the error from the yocto build process.

|   GEN     Makefile
|   CALL    /home/cerezo/yocto/tut/poky/build/tmp/work-shared/opi3b/kernel-source/scripts/checksyscalls.sh
|   CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/aiutils.o
|   CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/siutils.o
| /home/cerezo/yocto/tut/poky/build/tmp/work-shared/opi3b/kernel-source/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/aiutils.c:44:10:
fatal error: typedefs.h: No such file or directory
|    44 | #include <typedefs.h>
|       |          ^~~~~~~~~~~~
| compilation terminated.
| make[7]: *** [/home/cerezo/yocto/tut/poky/build/tmp/work-shared/opi3b/kernel-source/scripts/Makefile.build:250:
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/aiutils.o] Error 1
| make[7]: *** Waiting for unfinished jobs....

Will really appreciate if i can get some pointers as to what i may be
doing wrong.

KERNEL RECIPE
https://github.com/AccraNET/meta-orspace-orangepi3b/blob/main/recipes-kernel/linux/linux-orangepi.bb

MACHINE CONFIGURATION
https://github.com/AccraNET/meta-orspace-orangepi3b/blob/main/conf/machine/opi3b.conf

Best Regards
Cerezo


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-14 16:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07 20:10 Custom Kernel Recipe Compilation Error C Larbi
2025-07-08  9:06 ` [yocto] " Gyorgy Sarvari
2025-07-09  9:32   ` C Larbi
2025-07-10  8:36   ` Paul Gortmaker
2025-07-10 14:35     ` C Larbi
2025-07-11 17:20       ` Paul Gortmaker
2025-07-14 16:18 ` Quentin Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox