[meta-xilinx] [meta-xilinx-tools][PATCH] xsctapp.bbclass: Consolidate the license check at one place

Manjukumar Matha manjukumar.harthikote-matha at xilinx.com
Fri Jul 7 15:20:36 PDT 2017


license check can be at bblcass level instead of being in each recipe.

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
 classes/xsctapp.bbclass                 | 3 +++
 recipes-bsp/fsbl/fsbl_git.bb            | 3 ---
 recipes-bsp/fsboot/fs-boot_git.bb       | 3 ---
 recipes-bsp/pmu/pmu-firmware_git.bb     | 3 ---
 recipes-openamp/examples/openamp-fw.inc | 3 ---
 5 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/classes/xsctapp.bbclass b/classes/xsctapp.bbclass
index cbeb294..46eaddc 100644
--- a/classes/xsctapp.bbclass
+++ b/classes/xsctapp.bbclass
@@ -10,6 +10,9 @@ EMBEDDEDSW_PV ?= "${XILINX_VER_MAIN}+git${SRCPV}"
 
 PACKAGE_ARCH ?= "${MACHINE_ARCH}"
 
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://license.txt;md5=d19cfdb99d9e373dc66709f39fc861fd"
+
 SRC_URI = "${EMBEDDEDSW_SRCURI}"
 SRCREV = "${EMBEDDEDSW_SRCREV}"
 PV = "${EMBEDDEDSW_PV}"
diff --git a/recipes-bsp/fsbl/fsbl_git.bb b/recipes-bsp/fsbl/fsbl_git.bb
index e6e989d..b9ec7e0 100644
--- a/recipes-bsp/fsbl/fsbl_git.bb
+++ b/recipes-bsp/fsbl/fsbl_git.bb
@@ -1,8 +1,5 @@
 DESCRIPTION = "FSBL"
 
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://license.txt;md5=d19cfdb99d9e373dc66709f39fc861fd"
-
 PROVIDES = "virtual/fsbl"
 
 inherit xsctapp xsctyaml deploy
diff --git a/recipes-bsp/fsboot/fs-boot_git.bb b/recipes-bsp/fsboot/fs-boot_git.bb
index ca7a1ce..f9c7b81 100644
--- a/recipes-bsp/fsboot/fs-boot_git.bb
+++ b/recipes-bsp/fsboot/fs-boot_git.bb
@@ -1,8 +1,5 @@
 DESCRIPTION = "FS-BOOT generator"
 
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://license.txt;md5=d19cfdb99d9e373dc66709f39fc861fd"
-
 PROVIDES = "virtual/fsboot"
 
 inherit xsctfsboot deploy
diff --git a/recipes-bsp/pmu/pmu-firmware_git.bb b/recipes-bsp/pmu/pmu-firmware_git.bb
index b7233e8..196b257 100644
--- a/recipes-bsp/pmu/pmu-firmware_git.bb
+++ b/recipes-bsp/pmu/pmu-firmware_git.bb
@@ -1,8 +1,5 @@
 DESCRIPTION = "PMU Firmware"
 
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://license.txt;md5=d19cfdb99d9e373dc66709f39fc861fd"
-
 PROVIDES = "virtual/pmufw"
 
 inherit xsctapp xsctyaml deploy
diff --git a/recipes-openamp/examples/openamp-fw.inc b/recipes-openamp/examples/openamp-fw.inc
index 6695952..b4dbb58 100644
--- a/recipes-openamp/examples/openamp-fw.inc
+++ b/recipes-openamp/examples/openamp-fw.inc
@@ -1,8 +1,5 @@
 DESCRIPTION = "OpenAMP demo firmware"
 
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://license.txt;md5=d19cfdb99d9e373dc66709f39fc861fd"
-
 inherit xsctapp xsctyaml
 
 COMPATIBLE_MACHINE = "^$"
-- 
2.7.4




More information about the meta-xilinx mailing list