summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAppana Durga Kedareswara rao <appana.durga.rao@xilinx.com>2020-04-03 22:37:21 +0530
committerMark Hatle <mark.hatle@xilinx.com>2020-04-04 07:54:28 -0700
commit4aa858bab9169725c0b5a8655e4d49e14b70700c (patch)
tree70fd6b541261d6b91e3d4e2327bf1066dad5639e
parentd19766541358a887e205db99d10f0e13923d445d (diff)
downloadmeta-xilinx-4aa858bab9169725c0b5a8655e4d49e14b70700c.tar.gz
meta-xilinx-standalone: classes: esw: Remove unneeded DISTRO check
This patch removes the unneeded DISTRO check from the class. Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-standalone/classes/esw.bbclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta-xilinx-standalone/classes/esw.bbclass b/meta-xilinx-standalone/classes/esw.bbclass
index 4d33b654..c5001491 100644
--- a/meta-xilinx-standalone/classes/esw.bbclass
+++ b/meta-xilinx-standalone/classes/esw.bbclass
@@ -92,9 +92,6 @@ CFLAGS_append = " ${ESW_CFLAGS}"
92# recurse a maximum of x times, could be fancier but it gets complicated since 92# recurse a maximum of x times, could be fancier but it gets complicated since
93# we dont know for certain we are running devtool or just externalsrc 93# we dont know for certain we are running devtool or just externalsrc
94python(){ 94python(){
95 if not d.getVar('DISTRO').startswith('xilinx-standalone'):
96 raise bb.parse.SkipRecipe('Recipe is only compatible with xilinx-standalone')
97
98 import os.path 95 import os.path
99 if bb.data.inherits_class('externalsrc', d) and d.getVar('EXTERNALSRC'): 96 if bb.data.inherits_class('externalsrc', d) and d.getVar('EXTERNALSRC'):
100 externalsrc = d.getVar('EXTERNALSRC') 97 externalsrc = d.getVar('EXTERNALSRC')