The '\s' in the regex for python means whitespace. Also, '\' is used for
escape sequence, so '\s' is ambiguous.
In python, to remove this ambiguity, '\\s' is used for whitespace.
In modify_pc.py script, '\s' is used so python raises warning. To remove
this warning, '\s' is replaced with '\\s'.
Change-Id: Ic879fa46d5919082a4b6ab8a3294dff19e61a0dc
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
include_dir_root_path = "hal_rootstrap_dir"
-regex_assignment = regex_compile("\s*([-_a-zA-Z0-9]+)\s*=\s*([^\s]*)")
-regex_declaration = regex_compile("\s*([-_a-zA-Z0-9]+)\s*:\s*(.+)\s*")
-regex_substitution = regex_compile("\${([-_a-zA-Z0-9]+)}")
+regex_assignment = regex_compile("\\s*([-_a-zA-Z0-9]+)\\s*=\\s*([^\\s]*)")
+regex_declaration = regex_compile("\\s*([-_a-zA-Z0-9]+)\\s*:\\s*(.+)\\s*")
+regex_substitution = regex_compile("\\${([-_a-zA-Z0-9]+)}")
libs = { "-L${" + include_dir_root_path + "}" }
cflags = { "-I${" + include_dir_root_path + "}" }
BuildRequires: cmake
BuildRequires: xmlstarlet
+BuildRequires: python3
BuildRequires: capi-base-common
BuildRequires: capi-base-common-devel