builds and runs on intel-x86 and rpi4 with acceptable realtime performance
This commit is contained in:
1 parent
2bce6fa556
commit
3faf544f0b
120 files changed
+6317
-1
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# transfer "SECURITY_CFLAGS:pn-recipe = ..." to
|
||||
# "SECURITY_CFLAGS:pn-mlib-recipe = ..." and
|
||||
# transfer "SECURITY_CFLAGS:pn-recipe:powerpc = ..."
|
||||
# to "SECURITY_CFLAGS:pn-mlib-recipe:powerpc = ..."
|
||||
|
||||
python transfer_security_cflags () {
|
||||
mlprefix = e.data.getVar('MLPREFIX', True)
|
||||
|
||||
if mlprefix:
|
||||
pn = e.data.getVar('PN', True)
|
||||
bpn = e.data.getVar('BPN', True)
|
||||
cflags = e.data.getVar("SECURITY_CFLAGS:pn-%s" % bpn, True)
|
||||
if cflags is not None:
|
||||
e.data.setVar("SECURITY_CFLAGS:pn-%s" % pn, cflags)
|
||||
|
||||
arch = e.data.getVar('HOST_ARCH', True)
|
||||
cflags = e.data.getVar("SECURITY_CFLAGS:pn-%s:%s" %(bpn, arch), True)
|
||||
if cflags is not None:
|
||||
e.data.setVar("SECURITY_CFLAGS:pn-%s:%s" %(pn, arch), cflags)
|
||||
}
|
||||
|
||||
addhandler transfer_security_cflags
|
||||
transfer_security_cflags[eventmask] = "bb.event.RecipeParsed"
|
||||
Reference in new issue
Block a user