diff options
Diffstat (limited to 'meta/classes/distrodata.bbclass')
-rw-r--r-- | meta/classes/distrodata.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass index f196df5f56..0da10a1dd1 100644 --- a/meta/classes/distrodata.bbclass +++ b/meta/classes/distrodata.bbclass | |||
@@ -33,10 +33,10 @@ python do_distrodata_np() { | |||
33 | localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True)) | 33 | localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True)) |
34 | bb.data.update_data(localdata) | 34 | bb.data.update_data(localdata) |
35 | 35 | ||
36 | if pn.find("-nativesdk") != -1: | 36 | if pn.find("nativesdk-") != -1: |
37 | pnstripped = pn.split("-nativesdk") | 37 | pnstripped = pn.replace("nativesdk-", "") |
38 | bb.note("Native Split: %s" % pnstripped) | 38 | bb.note("Native Split: %s" % pnstripped) |
39 | localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True)) | 39 | localdata.setVar('OVERRIDES', "pn-" + pnstripped + ":" + d.getVar('OVERRIDES', True)) |
40 | bb.data.update_data(localdata) | 40 | bb.data.update_data(localdata) |
41 | 41 | ||
42 | if pn.find("-cross") != -1: | 42 | if pn.find("-cross") != -1: |