Return-Path: Received: from astoria.ccjclearline.com (astoria.ccjclearline.com [64.235.106.9]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D4A9BE0070C for ; Wed, 21 Mar 2012 06:33:17 -0700 (PDT) Received: from cpec03f0ed08c7f-cm001ac318e826.cpe.net.cable.rogers.com ([99.241.91.63] helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1SALfA-00061I-NZ for yocto@yoctoproject.org; Wed, 21 Mar 2012 09:33:16 -0400 Date: Wed, 21 Mar 2012 09:33:10 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@oneiric To: Yocto discussion list Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Subject: is it possible to centralize defns of KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 13:33:18 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII poking around the conf files and i noticed the following two files (one from oe-core, obviously) had the following definitions: $ grep -r KERNEL.*IMAGETYPE.*vmlinux * meta/conf/machine/qemumips.conf:KERNEL_IMAGETYPE = "vmlinux" meta/conf/machine/qemumips.conf:KERNEL_ALT_IMAGETYPE = "vmlinux.bin" ... snip ppc line ... meta-yocto/conf/machine/routerstationpro.conf:KERNEL_IMAGETYPE = "vmlinux" meta-yocto/conf/machine/routerstationpro.conf:KERNEL_ALT_IMAGETYPE = "vmlinux.bin" $ obviously, the above represents the MIPS architecture in both cases and, unsurprisingly, assign the same values to those variables. since both of those files contain the line: require conf/machine/include/tune-mips32.inc under what circumstances could you move those common lines down into the corresponding tune-.inc file? i know next to nothing about MIPS cross-compiling so i have no idea whether that's feasible, or whether it's reasonable to set default values and let the BSP override them. does this question make any sense? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================