AnsweredAssumed Answered

Recipes go different folders under build/tmp/work/

Question asked by Yang Liu on May 16, 2017
Latest reply on May 16, 2017 by Yang Liu

I believe that PACKAGE_ARCH will control the recipe going into one of the folders under build/tmp/work/. For example, most imx Linux recipes includes kernel.class, where PACKAGE_ARCH is assigned as ${MACHINE_ARCH}, which will make Linux build go to ${MACHINE}-poky-linux-gnueabi directory.


It is easy to understand that some recipes have an explicit assignment for PACKAGE_ARCH. But such as an explicit assignment can't be found in some recipes. For example, alsa-lib, alsa-tools, alsa-state recipes reside in cortexa9hf-neon-mx6qdl-poky-linux-gnueabi, cortexa9hf-neon-poky-linux-gnueabi, and ${MACHINE}-poky-linux-gnueabi directories respectively, but I can't find the explicit assignments in these recipes. They must be assigned implicitly somewhere in class, include, and configuration files.


In the example above, does someone know how trace the PACKAGE_ARCH assignment to control a recipes going into different folders under build/tmp/work? Maybe my believe is wrong?



Yang Liu