Message ID | 21d8c26efd48d6a1ba784d859feb2522751b277f.1692931546.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | cdc671271327ca61e5321b8890921d08ecd8799d |
Headers | show |
Series | [dunfell,01/14] curl: Backport fix CVE-2023-32001 | expand |
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 798cb0cefe..a2c6d052a6 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py @@ -745,6 +745,10 @@ def create_recipe(args): for handler in handlers: handler.process(srctree_use, classes, lines_before, lines_after, handled, extravalues) + # native and nativesdk classes are special and must be inherited last + # If present, put them at the end of the classes list + classes.sort(key=lambda c: c in ("native", "nativesdk")) + extrafiles = extravalues.pop('extrafiles', {}) extra_pn = extravalues.pop('PN', None) extra_pv = extravalues.pop('PV', None)