BLD: Generate L1 symbol flags correctly
This commit is contained in:
parent
b472c06f9c
commit
5599d73f4a
|
@ -184,8 +184,23 @@ kernel_confs = []
|
|||
foreach _kop : base_kops
|
||||
base = _kop['base']
|
||||
modes = _kop['modes']
|
||||
# Generate the symbol flags
|
||||
_ckop_args = []
|
||||
if symb_defs.has_key(base)
|
||||
symb_base = symb_defs[base]
|
||||
if symb_base.has_key('def')
|
||||
foreach _d : symb_base['def']
|
||||
_ckop_args += ('-D' + _d)
|
||||
endforeach
|
||||
endif
|
||||
if symb_base.has_key('undef')
|
||||
foreach _u : symb_base['undef']
|
||||
_ckop_args += ('-U' + _u)
|
||||
endforeach
|
||||
endif
|
||||
endif
|
||||
foreach mode, details : modes
|
||||
__cargs = _cargs
|
||||
__cargs = _cargs + _ckop_args
|
||||
prec_mode = precision_mappings[mode]
|
||||
# Generate the mapping for the type
|
||||
if prec_mode.has_key('def')
|
||||
|
|
Loading…
Reference in New Issue