From 2de0ee1a9acbe895e8b7022471b80109f03b1e9a Mon Sep 17 00:00:00 2001
From: Mei Lei <lei.mei@intel.com>
Date: Fri, 26 Nov 2010 15:23:38 +0800
Subject: modutils-collateral:Add license checksum to bb file

Get md5sum of COPYING.MIT file which under the meta directory, because this recipe is a local recipe, so we need to find the license file under the meta.
Import a new varible "L" to record the license file path. [sgw@linux.intel.com: removed]

[sgw@linux.intel.com]: remove changes to insane.bbclass and bitbake.conf, use the ${POKYBASE} variable instead.

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-kernel/modutils/modutils-collateral.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/modutils/modutils-collateral.bb b/meta/recipes-kernel/modutils/modutils-collateral.bb
index 6d010a575..01966244a 100644
--- a/meta/recipes-kernel/modutils/modutils-collateral.bb
+++ b/meta/recipes-kernel/modutils/modutils-collateral.bb
@@ -2,9 +2,9 @@ SECTION = "base"
 DESCRIPTION = "modutils configuration files"
 PR = "r3"
 LICENSE = "MIT"
-
+LIC_FILES_CHKSUM = "file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 SRC_URI = "file://modules \
-	   file://modules.conf"
+	   file://modules.conf" 
 
 do_compile () {
 }
-- 
cgit v1.2.3