aboutsummaryrefslogtreecommitdiff
path: root/config/config.in
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-12-10 11:55:22 +1300
committerChris Packham <judge.packham@gmail.com>2023-12-18 16:28:14 +1300
commit4442dc87dd5a7c237e465fd873dc40928749610a (patch)
tree2387066b230ab1f216b90ab4e883eecc09faac43 /config/config.in
parent6d1b6e41e900dfaf7f4fb5ecb3f8a86837acce08 (diff)
downloadcrosstool-ng-4442dc87dd5a7c237e465fd873dc40928749610a.tar.gz
crosstool-ng-4442dc87dd5a7c237e465fd873dc40928749610a.tar.bz2
crosstool-ng-4442dc87dd5a7c237e465fd873dc40928749610a.zip
config: Detect rsync presence at config time
Linux kernel versions newer than 5.3 require rsync in order to export the UAPI headers. Commit f441a6bf ("linux: Add dependency on rsync for Linux >= 5.3") attempted to address this with a check that runs when crosstool-ng is built. That had the downside that if crosstool-ng was built and packaged on a machine that had rsync then run on a machine that didn't then the build would fail due to the missing rsync. Conversely if the first machine didn't have rsync installed when crosstool-ng was built then we would not offer newer kernel versions. We can address this by checking for rsync when the toolchain configuration is updated using some functionality in the newer Kconfig that we've updated to previously. Fixes #1940 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config/config.in')
-rw-r--r--config/config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.in b/config/config.in
index cc349aa0..bbde6a66 100644
--- a/config/config.in
+++ b/config/config.in
@@ -1,4 +1,5 @@
mainmenu "crosstool-NG $(CT_VERSION) Configuration"
+source "config/config_utils.in"
source "config/configure.in"
source "config/global.in"
source "config/target.in"