Hi ,<br>I am using <b>DISTRO=arago</b>  and <b>MACHINE= omap3axon</b>(same as that of omap3evm ) to compile<b> linux-2.6.22 </b> kernel .<br><br>when I try to execute the following   command <br>tbake finds my .bb file and uses <br>
<br><i style="color: rgb(51, 51, 153);">$&gt; MACHINE=omap3axon  bitbake virtual/kernel</i> <br><br><b>wrong bb file is getting picked up . How to know why a wrong .bb file is picked up(it always picks linux-nokia900-2.6.28.10+gitr0+<a href="http://e93534addfc33a2fefbca13cb86a8f787e4b650c-r92.bb">e93534addfc33a2fefbca13cb86a8f787e4b650c-r92.bb</a> file  ) and which  variable i have to override  so that only my .bb file gets executed .<br>
Is there any thing else which I am missing . <br></b><br>The following  the local.conf ,   omap3axon.conf  <br><br><b style="color: rgb(0, 0, 102);">local.conf  file :</b><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">### local.conf #########</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SCRATCH ?= &quot;${OEBASE}&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DL_DIR = &quot;${SCRATCH}/downloads&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">TMPDIR = &quot;${SCRATCH}/arago-tmp&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">MACHINE = &quot;omap3axon&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DISTRO = &quot;arago&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">ENABLE_BINARY_LOCALE_GENERATION = &quot;0&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">IMAGE_FSTYPES = &quot;jffs2 tar.gz ext2.gz&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">BBDEBUG = &quot;yes&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">PARALLEL_MAKE = &quot;-j 8&quot;</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">BB_NUMBER_THREADS = &quot;4&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">BBINCLUDELOGS = &quot;yes&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">TOOLCHAIN_TYPE = &quot;external&quot;</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">TOOLCHAIN_BRAND = &quot;csl&quot;</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DEFAULT_PREFERENCE = &quot;1&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">####### END local.conf ####</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><b style="color: rgb(0, 0, 102);"><br>MACHINE : omap3axon.conf </b><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">## MACHINE  CONF omap3axon.conf  ##</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">TARGET_ARCH = &quot;arm&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">PREFERRED_PROVIDER_virtual/xserver = &quot;xserver-xorg&quot;</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">XSERVER = &quot;xserver-xorg \</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">           xf86-input-evdev \</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">           xf86-input-mouse \</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">           xf86-input-tslib \</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">           xf86-video-omapfb \</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">           xf86-input-keyboard&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">GUI_MACHINE_CLASS = &quot;smallscreen&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">require conf/machine/include/omap3.inc</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">IMAGE_FSTYPES ?= &quot;jffs2 tar.bz2&quot;</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">EXTRA_IMAGECMD_jffs2 = &quot;-lnp -e 0x20000 -s 2048&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SERIAL_CONSOLE = &quot;115200 ttyS0&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">PREFERRED_PROVIDER_virtual/kernel = &quot;linux-omap3axon-2.6.22-pspaxon&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">UBOOT_ARCH = &quot;arm&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">MACHINE_FEATURES = &quot;kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">KVER= &quot;2.6.22&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">MKUBIFS_ARGS = &quot;-m 2048 -e 129024 -c 1996&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">UBINIZE_ARGS = &quot;-m 2048 -p 128KiB -s 512&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">##END -- MACHINE  CONF omap3axon.conf  ##</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><b style="color: rgb(0, 0, 102);"><a href="http://linux-omap3axon-2.6.22-pspaxon.bb">linux-omap3axon-2.6.22-pspaxon.bb</a></b><span style="color: rgb(0, 0, 102);"> file :</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">#####<a href="http://linux-omap3axon-2.6.22-pspaxon.bb">linux-omap3axon-2.6.22-pspaxon.bb</a> ##</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SRC_URI = &quot;file://linux-2.6.22.tar.gz \</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">           file://defconfig&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">COMPATIBLE_MACHINE = &quot;omap3axon&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">require linux-omap3.inc</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SECTION = &quot;kernel&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">KVER = &quot;2.6.22&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DEFAULT_PREFERENCE = &quot;1&quot;</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">DEFAULT_PREFERENCE_omap3axon = &quot;1&quot;</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">#SRC_URI := &quot;${@oe_filter_out(&#39;file://defconfig&#39;, bb.data.getVar(&#39;SRC_URI&#39;, d, 1), d)}&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DEFAULT_PREFERENCE = &quot;1&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">do_setup_defconfig() {</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">        :</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">}</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">do_configure() {</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">        make omap3evm_defconfig</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">}</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SRCREV = &quot;753&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">MACHINE_KERNEL_PR_append = &quot;+svnr${SRCREV}&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SRC_URI = &quot;file://linux-2.6.22.tar.gz \</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">           file://defconfig&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">addtask quiltfixup before do_patch after do_unpack</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">do_quiltfixup() {</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">          :</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">}</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">S = &quot;${WORKDIR}/kernel/linux-2.6.22&quot;</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">do_install_append() {</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">            install -d ${D}/boot</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">}</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">PACKAGES =+ &quot;omap-dss-doc&quot;</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">FILES_omap-dss-doc = &quot;/boot/DSS&quot;</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">####<a href="http://END----linux-omap3axon-2.6.22-pspaxon.bb">END----linux-omap3axon-2.6.22-pspaxon.bb</a> ####</span><br>
<br><br><br><br>