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);">$> 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 ?= "${OEBASE}"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DL_DIR = "${SCRATCH}/downloads"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">TMPDIR = "${SCRATCH}/arago-tmp"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">MACHINE = "omap3axon"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DISTRO = "arago"</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 = "0"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">IMAGE_FSTYPES = "jffs2 tar.gz ext2.gz"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">BBDEBUG = "yes"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">PARALLEL_MAKE = "-j 8"</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">BB_NUMBER_THREADS = "4"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">BBINCLUDELOGS = "yes"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">TOOLCHAIN_TYPE = "external"</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">TOOLCHAIN_BRAND = "csl"</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DEFAULT_PREFERENCE = "1"</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 = "arm"</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 = "xserver-xorg"</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">XSERVER = "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"</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 = "smallscreen"</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 ?= "jffs2 tar.bz2"</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SERIAL_CONSOLE = "115200 ttyS0"</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 = "linux-omap3axon-2.6.22-pspaxon"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">UBOOT_ARCH = "arm"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">KVER= "2.6.22"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"</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 = "file://linux-2.6.22.tar.gz \</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);"> file://defconfig"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">COMPATIBLE_MACHINE = "omap3axon"</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 = "kernel"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">KVER = "2.6.22"</span><br style="color: rgb(0, 0, 102);"><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">DEFAULT_PREFERENCE = "1"</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">DEFAULT_PREFERENCE_omap3axon = "1"</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">#SRC_URI := "${@oe_filter_out('file://defconfig', bb.data.getVar('SRC_URI', d, 1), d)}"</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 = "1"</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 = "753"</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 = "+svnr${SRCREV}"</span><br style="color: rgb(0, 0, 102);">
<br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);">SRC_URI = "file://linux-2.6.22.tar.gz \</span><br style="color: rgb(0, 0, 102);"><span style="color: rgb(0, 0, 102);"> file://defconfig"</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 = "${WORKDIR}/kernel/linux-2.6.22"</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 =+ "omap-dss-doc"</span><br style="color: rgb(0, 0, 102);">
<span style="color: rgb(0, 0, 102);">FILES_omap-dss-doc = "/boot/DSS"</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>