On Sat, Jul 13, 2024 at 8:32 AM gavrosc via lists.yoctoproject.org <gavrosc=
yahoo....@lists.yoctoproject.org> wrote:

> Hi
> i am using ubuntu 22.04.4 LTS, bitbake 2.8.0, poky scarthgap branch and
> beaglebone black. I have created my own layer and my own helloworld recipe
> which contain a helloworld.c. I would like to execute it in beaglebone
> black. When i am trying to execute 'bitbake helloworld' i am getting the
> error arm-poky-linux-gnueabi-gcc: not found.
>
> Do i have to install arm-poky-linux-gnueabi-gcc or am i missing something
> else?
>
> Here is the helloworld.bb file:
>
> =======================
>
> DESCRIPTION = "Hello World application"
>
> SECTION = "examples"
> LICENSE = "MIT"
> LIC_FILES_CHKSUM = 
> "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
>
>
> SRC_URI = "file://helloworld.c"
>
> S = "${WORKDIR}"
>
> do_compile() {
>     ${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
> }
>
> do_install() {
>     install -d ${D}${bindir}
>     install -m 0755 helloworld ${D}${bindir}
> }
>
> # Disable default dependency checks (including SHA256)
> INHIBIT_DEFAULT_DEPS = "1"
>
> this variable means that default dependencies are not desired and you will
add them manually if you removed this option it should work

>
>
>
>
> =======================
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63484): https://lists.yoctoproject.org/g/yocto/message/63484
Mute This Topic: https://lists.yoctoproject.org/mt/107200784/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to