scripts/dts/gen_defines.py: generalize string escape
Add str2str to make the conversion of a string into a C literal with all
necessary escapes and enclosing double quotes available outside a
function that emits a define.
Signed-off-by:
Peter A. Bigot <pab@pabigot.com>
Loading
Please sign in to comment