diff options
author | Ron Yorston <rmy@pobox.com> | 2024-01-20 09:35:50 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-01-20 09:35:50 +0000 |
commit | 35f59d8ec0025647f75563c0bedecfc8e082a971 (patch) | |
tree | c532a05eb29cbfe08cee09fc2292c6070b26fc07 /Config.in | |
parent | 042520e46621e434c9bd2da6b100b32ccdee55a5 (diff) | |
download | busybox-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.in | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -689,6 +689,18 @@ config CROSS_COMPILER_PREFIX | |||
689 | 689 | ||
690 | Native builds leave this empty. | 690 | Native builds leave this empty. |
691 | 691 | ||
692 | config HOST_COMPILER | ||
693 | string "Host compiler" | ||
694 | default "gcc" | ||
695 | help | ||
696 | Name of the compiler to use for host binaries. | ||
697 | |||
698 | config CROSS_COMPILER | ||
699 | string "Cross compiler" | ||
700 | default "gcc" | ||
701 | help | ||
702 | Name of the compiler to use for cross compilation. | ||
703 | |||
692 | config SYSROOT | 704 | config SYSROOT |
693 | string "Path to sysroot" | 705 | string "Path to sysroot" |
694 | default "" | 706 | default "" |