Skip to content

Commit aa924c1

Browse files
committed
crossdev: special-case bpf
Avoid needing to pass -s1/-s2 manually: C-only and no linux-headers. Signed-off-by: Sam James <sam@gentoo.org>
1 parent 3345d02 commit aa924c1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

crossdev

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,13 @@ parse_target() {
270270
WITH_DEF_HEADERS="no"
271271
;;
272272

273+
bpf*)
274+
# Doesn't support C++ and friends
275+
STAGE_DEFAULT=${STAGE_C_ONLY}
276+
# No linux-headers needed/required
277+
WITH_DEF_HEADERS="no"
278+
;;
279+
273280
# Has no glibc support yet (or even ABI defined). Can
274281
# only compile linux kernel:
275282
# https://parisc.wiki.kernel.org/index.php/Userspace64

0 commit comments

Comments
 (0)