How to add a header file in yocto project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to add a header file in yocto project

2,145件の閲覧回数
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.
ラベル(1)
0 件の賞賛
返信
1 返信

1,394件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi Karthikeyan,

can you share the error you have after bitbake?

Carlos

0 件の賞賛
返信