diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-11-14 21:24:03 +1300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2021-11-30 19:56:44 +1300 |
commit | f441a6bf0dc7031145a1383e8037daf48f7c60ca (patch) | |
tree | f2ca720c4dbf6c5f5a0c7a27242f5b9b864d7a53 /config | |
parent | 4dc9d643f94720bb11a7b4fa0c39729a684be5bb (diff) | |
download | crosstool-ng-f441a6bf0dc7031145a1383e8037daf48f7c60ca.tar.gz crosstool-ng-f441a6bf0dc7031145a1383e8037daf48f7c60ca.tar.bz2 crosstool-ng-f441a6bf0dc7031145a1383e8037daf48f7c60ca.zip |
linux: Add dependency on rsync for Linux >= 5.3
As of Linux v5.3 rsync is used as part of the build process. Add Linux
5.3 as a milestone, configure detection of rsync and a dependency on
rsync for Linux 5.3 and newer. Add a comment in so that users can tell
why they can't select a newer version.
Fixes #1628
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/configure.in.in | 3 | ||||
-rw-r--r-- | config/kernel/linux.in | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/config/configure.in.in b/config/configure.in.in index 526064bb..a43fb61b 100644 --- a/config/configure.in.in +++ b/config/configure.in.in @@ -21,6 +21,9 @@ config CONFIGURE_has_meson config CONFIGURE_has_ninja @KCONFIG_ninja@ +config CONFIGURE_has_rsync + @KCONFIG_rsync@ + config CONFIGURE_has_make_3_81_or_newer @KCONFIG_make_3_81_or_newer@ diff --git a/config/kernel/linux.in b/config/kernel/linux.in index 6ff81924..a6cd40f0 100644 --- a/config/kernel/linux.in +++ b/config/kernel/linux.in @@ -12,6 +12,13 @@ # (including versions in between) until the EOL dates indicated below. # Such pinned versions are indicated in version.desc files with a comment. +config KERNEL_DEP_RSYNC + def_bool y + select LINUX_REQUIRE_older_than_5_3 if !CONFIGURE_has_rsync + +comment "Linux >=5.3 requires rsync" + depends on !CONFIGURE_has_rsync + choice bool prompt "Kernel verbosity:" |