Don't use gcc, use $(CC).
Ross
On Thu, 17 Jan 2019 at 14:50, Maytar Byle wrote:
>
> Hey all,
>
> I've wrote a basic recipe to compile few C files and when i compile it, i get
> the above error. I looked in 'sysroots/qemux86-64/usr/include/linux/' and it
> contains bpf.h.
>
> The recipe:
>
Hey all,
I've wrote a basic recipe to compile few C files and when i compile it, i
get the above error. I looked in 'sysroots/qemux86-64/usr/include/linux/'
and it contains bpf.h.
The recipe:
SRC_URI = "file://dir"
S = "${WORKDIR}/dir"
do_install() {
install -d ${D}/home/user/dir