Lines 7-16
Link Here
|
7 |
# Variables |
7 |
# Variables |
8 |
# |
8 |
# |
9 |
# ELF_FEATURES= featurelist:path/to/file1 \ |
9 |
# ELF_FEATURES= featurelist:path/to/file1 \ |
10 |
# featurelist:path/to/file1 \ |
10 |
# featurelist:path/to/file2 \ |
11 |
featurelist:path/to/file2 |
11 |
# featurelist:path/to/file3 |
|
|
12 |
# |
13 |
# ELF_FEATURES_STAGE= featurelist:path/to/file1 \ |
14 |
# featurelist:path/to/file2 \ |
15 |
# featurelist:path/to/file3 |
12 |
# |
16 |
# |
13 |
# The file paths listed in ELF_FEATURES are relative to ${BUILD_WRKSRC}. |
17 |
# The file paths listed in ELF_FEATURES are relative to ${BUILD_WRKSRC}. |
|
|
18 |
# The file paths listed in ELF_FEATURES_STAGE are relative to ${STAGEDIR}. |
14 |
# |
19 |
# |
15 |
|
20 |
|
16 |
.if !defined(_INCLUDE_USES_ELFCTL_MK) |
21 |
.if !defined(_INCLUDE_USES_ELFCTL_MK) |
Lines 24-27
elfctl-post-build:
Link Here
|
24 |
. endfor |
29 |
. endfor |
25 |
. endif |
30 |
. endif |
26 |
|
31 |
|
|
|
32 |
. if ! empty(ELF_FEATURES_STAGE) |
33 |
_USES_stage+= 720:elfctl-post-stage |
34 |
elfctl-post-stage: |
35 |
. for feat in ${ELF_FEATURES_STAGE} |
36 |
${ELFCTL} -i -e ${feat:C/:.*//} ${STAGEDIR}/${feat:C/.*://} |
37 |
. endfor |
38 |
. endif |
39 |
|
27 |
.endif |
40 |
.endif |