crosstool-ng/config/kernel
Chris Packham 4442dc87dd 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>
2023-12-18 16:28:14 +13:00
..
bare-metal.in Make comp.libs use generated templates, too 2017-11-29 23:44:49 -08:00
linux.in config: Detect rsync presence at config time 2023-12-18 16:28:14 +13:00
windows.in Select KERNEL_SUPPORTS_SHARED_LIBS on Windows 2022-08-19 22:00:58 +12:00