llvm.org GIT mirror llvm / ebfbf93
[bpf] enable BPF backend in autoconf build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239425 91177308-0d34-0410-b5e6-96231b3b80d8 Alexei Starovoitov 4 years ago
2 changed file(s) with 7 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
10961096 fi
10971097
10981098 dnl List all possible targets
1099 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend NVPTX Hexagon SystemZ R600"
1099 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend NVPTX Hexagon SystemZ R600 BPF"
11001100 AC_SUBST(ALL_TARGETS,$ALL_TARGETS)
11011101
11021102 dnl Allow specific targets to be specified for building (or not)
11041104 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
11051105 [Build specific host targets: all or target1,target2,... Valid targets are:
11061106 host, x86, x86_64, sparc, powerpc, arm64, arm, aarch64, mips, hexagon,
1107 xcore, msp430, nvptx, systemz, r600, and cpp (default=all)]),,
1107 xcore, msp430, nvptx, systemz, r600, bpf, and cpp (default=all)]),,
11081108 enableval=all)
11091109 if test "$enableval" = host-only ; then
11101110 enableval=host
11201120 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
11211121 arm64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
11221122 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
1123 bpf) TARGETS_TO_BUILD="BPF $TARGETS_TO_BUILD" ;;
11231124 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
11241125 mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
11251126 mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
14611461 --enable-targets Build specific host targets: all or
14621462 target1,target2,... Valid targets are: host, x86,
14631463 x86_64, sparc, powerpc, arm64, arm, aarch64, mips,
1464 hexagon, xcore, msp430, nvptx, systemz, r600, and
1465 cpp (default=all)
1464 hexagon, xcore, msp430, nvptx, systemz, r600, bpf,
1465 and cpp (default=all)
14661466 --enable-experimental-targets
14671467 Build experimental host targets: disable or
14681468 target1,target2,... (default=disable)
56275627
56285628 fi
56295629
5630 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend NVPTX Hexagon SystemZ R600"
5630 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend NVPTX Hexagon SystemZ R600 BPF"
56315631 ALL_TARGETS=$ALL_TARGETS
56325632
56335633
56535653 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
56545654 arm64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;;
56555655 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
5656 bpf) TARGETS_TO_BUILD="BPF $TARGETS_TO_BUILD" ;;
56565657 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
56575658 mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
56585659 mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;