aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-01-20 09:35:50 +0000
committerRon Yorston <rmy@pobox.com>2024-01-20 09:35:50 +0000
commit35f59d8ec0025647f75563c0bedecfc8e082a971 (patch)
treec532a05eb29cbfe08cee09fc2292c6070b26fc07 /Config.in
parent042520e46621e434c9bd2da6b100b32ccdee55a5 (diff)
downloadbusybox-w32-35f59d8ec0025647f75563c0bedecfc8e082a971.tar.gz
busybox-w32-35f59d8ec0025647f75563c0bedecfc8e082a971.tar.bz2
busybox-w32-35f59d8ec0025647f75563c0bedecfc8e082a971.zip
build system: make compiler names configurable
The top-level Makefile hardcoded the host and cross compiler name to "gcc". Make it possible to set different values either on the command line (make CROSS_COMPILER=clang) or in the configuration file.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 0a6d57327..f6159b30b 100644
--- a/Config.in
+++ b/Config.in
@@ -689,6 +689,18 @@ config CROSS_COMPILER_PREFIX
689 689
690 Native builds leave this empty. 690 Native builds leave this empty.
691 691
692config HOST_COMPILER
693 string "Host compiler"
694 default "gcc"
695 help
696 Name of the compiler to use for host binaries.
697
698config CROSS_COMPILER
699 string "Cross compiler"
700 default "gcc"
701 help
702 Name of the compiler to use for cross compilation.
703
692config SYSROOT 704config SYSROOT
693 string "Path to sysroot" 705 string "Path to sysroot"
694 default "" 706 default ""