How to add a header file in yocto project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add a header file in yocto project

2,137 次查看
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,386 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Karthikeyan,

can you share the error you have after bitbake?

Carlos

0 项奖励
回复