From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com ([192.55.52.88]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QvcUP-0006ye-3m for openembedded-core@lists.openembedded.org; Mon, 22 Aug 2011 23:57:01 +0200 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 22 Aug 2011 14:52:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.68,265,1312182000"; d="scan'208";a="43970292" Received: from unknown (HELO swold-MOBL.lan) ([10.255.13.234]) by fmsmga001.fm.intel.com with ESMTP; 22 Aug 2011 14:52:15 -0700 From: Saul Wold To: openembedded-core@lists.openembedded.org Date: Mon, 22 Aug 2011 14:51:59 -0700 Message-Id: <41ceda910baaa22b52bf7f79665c8d74421c9ef4.1314043945.git.sgw@linux.intel.com> X-Mailer: git-send-email 1.7.6 In-Reply-To: References: In-Reply-To: References: Subject: [CONSOLIDATED PULL 14/19] kernel.bbclass: save kernel image name into $kerneldir X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2011 21:57:01 -0000 From: Otavio Salvador Save the kernel image name into sysroot so it can be used during image build if need. This is used by O.S. Systems products and probably useful to others. Signed-off-by: Otavio Salvador --- meta/classes/kernel.bbclass | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index a2b10f2..894ffb3 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -129,6 +129,12 @@ kernel_do_install() { echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion # + # Store kernel image name to allow use during image generation + # + + echo "${KERNEL_IMAGE_BASE_NAME}" >$kerneldir/kernel-image-name + + # # Copy the entire source tree. In case an external build directory is # used, copy the build directory over first, then copy over the source # dir. This ensures the original Makefiles are used and not the -- 1.7.6