Commit 60dafe5
cmake: package_helper: add -R option to run additional commands
The 'package_helper.cmake' script is used to load a certain subset of
Zephyr modules, as required by the caller. Some use cases may require
additional commands to be executed in the same context after the modules
have been loaded, because not enough information is reported or saved
in the build directory by default.
This patch adds a new '-R' option to 'package_helper.cmake', which
allows the caller to specify a script to be executed in the current
context after the modules have been loaded.
Signed-off-by: Luca Burelli <l.burelli@arduino.cc>1 parent 08497a2 commit 60dafe5
1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | | - | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
79 | 94 | | |
80 | 95 | | |
81 | 96 | | |
| |||
99 | 114 | | |
100 | 115 | | |
101 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
0 commit comments