do_install error while running custom bitbake in poky build

前端 未结 1 823
Happy的楠姐
Happy的楠姐 2021-02-10 03:38

I am using latest poky-am335x to build simple helloworld application. With some workaround I can able to compile the application. I am doing lot of trails to install binaries bu

1条回答
  •  悲哀的现实
    2021-02-10 04:00

    The basic differences are the below.

    S = "${WORKDIR}/helloworld/"
    EXTRA_OEMAKE = 'all -C ${S}'
    

    "EXTRA_OEMAKE" is the key macro which I didn't used before.

    I have changed the bitbake file helloworld.bb file like below.

    DESCRIPTION = "Simple helloworld application"
    SECTION = "examples"
    LICENSE = "MIT"
    LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
    PR = "r0"
    
    S = "${WORKDIR}/helloworld/"
    EXTRA_OEMAKE = 'all -C ${S}'
    
    SRC_URI = "file://helloworld.tar"
    
    inherit autotools gettext
    

    0 讨论(0)
提交回复
热议问题