about toolchain selection

Brenden Lai Brenden_Lai at jabil.com
Wed Jan 30 23:59:33 AEDT 2019


Hi all ,

I am curious about how bitbake knows which toolchain should be use for specific architecture.
Then I try to find certain build tool (ex: arm-openbmc-linux-gnueabi-strip), Surprisingly , it located in a lot of recipe folders as below

./build/tmp/work/armv6-openbmc-linux-gnueabi/python-pytest/3.4.2-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/python-pytest/3.4.2-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/udev-aspeed-vuart/1.0-r1/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/udev-aspeed-vuart/1.0-r1/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/nbd/3.17-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/nbd/3.17-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/op-proc-control/1.0+gitAUTOINC+729521fef4-r1/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/op-proc-control/1.0+gitAUTOINC+729521fef4-r1/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/base-passwd/3.5.29-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/base-passwd/3.5.29-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/pixman/1_0.34.0-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/pixman/1_0.34.0-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/net-snmp/5.8-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/net-snmp/5.8-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/liblogging/1.0.6-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/liblogging/1.0.6-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/libpcre/8.42-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/libpcre/8.42-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-dbus-monitor/1.0+gitAUTOINC+12789e6c66-r1/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-dbus-monitor/1.0+gitAUTOINC+12789e6c66-r1/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-user-manager/1.0+gitAUTOINC+f5c2df5eef-r1/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-user-manager/1.0+gitAUTOINC+f5c2df5eef-r1/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/slpd-lite/1.0+gitAUTOINC+a592888328-r1/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/slpd-lite/1.0+gitAUTOINC+a592888328-r1/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/pdbg/2.0+gitAUTOINC+59ebe397a3-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/pdbg/2.0+gitAUTOINC+59ebe397a3-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/openldap/2.4.46-r0/recipe-sysroot-native/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/8.2.0/arm-openbmc-linux-gnueabi-strip
./build/tmp/work/armv6-openbmc-linux-gnueabi/openldap/2.4.46-r0/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-strip


  1.  Does it make sense for duplicate toolchain ?
  2.  How to write recipe to add new packages(ex:Net-snmp , ipmitool ) into OpenBmc ?



Brenden Lai
SR. BMC Design Engineer
E&I, Jabil Design Services

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190130/179d93b8/attachment-0001.html>


More information about the openbmc mailing list