How to add a header file in yocto project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add a header file in yocto project

2,074 Views
karthikeyanraju
Contributor III

Hi All,

Currently i am working on Yocto bsp. I want to add my own header file (ex: status.h) in u-boot source code. I found some code like,

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"   SRC_URI += "file://status.h"   do_install_append() {      install -m 644 ${WORKDIR}/status.h ${D}${sysconfdir}  }

I tried this but its not working... Can anyone help me to solve it.
Labels (1)
0 Kudos
Reply
1 Reply

1,323 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Karthikeyan,

can you share the error you have after bitbake?

Carlos

0 Kudos
Reply