Need help with bitbake file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi community,

 

I have got some questions on how to write bitbake file:

 

Please see the below lines for Question 1 and 2:

 

do_configure() {

    cd ${WORKDIR}/jpeg-8b/

    cp ${WORKDIR}/../../libtool-cross/2.4.7-r0/libtool-2.4.7/build-aux/config.guess ./

    cp ${WORKDIR}/../../libtool-cross/2.4.7-r0/libtool-2.4.7/build-aux/config.sub ./

    ./configure --prefix=${WORKDIR}/jpeg8b_shared/ --host=aarch64-agl-linux

}

 

Q1, you can see I am copying config.guess and config.sub from libtool, it is because the configure script can not recognize aarch64-agl-linux. So, this file path is relative, how can I get the absolute path of libtool in the bb of jpeg-8b?

 

Q2. During configuration, I provided a fixed “aarch64-agl-linux” value, since it is a raspberrypi4 platform specific demo, but this would throw a error when you build for Qemu or R-Car, it is not good, how to dynamically set the ?host option?

 

Best,

Yan

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#10774) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux