AnsweredAssumed Answered

How to add a header file in yocto project

Question asked by Karthikeyan Raju on Feb 12, 2017
Latest reply on Feb 16, 2017 by Carlos_Musich

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.