Commit aea1945
committed
[nrf fromtree] cmake: make TARGET optional in set_linker_property()
The `check_set_linker_property()` and `set_linker_property()` takes a
target argument. Make the target argument optional and use the target
`linker` as default target.
The function name `set_linker_property()` already implies that we are
setting a property and the linker target.
Remove the need to specify `TARGET linker` when using the default linker
property target.
Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit 102b3fc)1 parent 2bd8b4b commit aea1945
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2441 | 2441 | | |
2442 | 2442 | | |
2443 | 2443 | | |
2444 | | - | |
| 2444 | + | |
2445 | 2445 | | |
2446 | 2446 | | |
2447 | 2447 | | |
| |||
2454 | 2454 | | |
2455 | 2455 | | |
2456 | 2456 | | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
2457 | 2461 | | |
2458 | 2462 | | |
2459 | 2463 | | |
| |||
2473 | 2477 | | |
2474 | 2478 | | |
2475 | 2479 | | |
2476 | | - | |
| 2480 | + | |
2477 | 2481 | | |
2478 | 2482 | | |
2479 | 2483 | | |
| |||
2486 | 2490 | | |
2487 | 2491 | | |
2488 | 2492 | | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
2489 | 2497 | | |
2490 | 2498 | | |
2491 | 2499 | | |
| |||
0 commit comments