[LEDE-DEV] [PATCH] package: spidev_test: update location for >Kernel 4.5

Felix Fietkau nbd at nbd.name
Thu May 19 04:50:42 PDT 2016


On 2016-05-19 13:38, Dirk Neukirchen wrote:
> - document indirect source code fixup affecting spidev_test
> 
> Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
> ---
>  package/utils/spidev_test/Makefile | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/package/utils/spidev_test/Makefile b/package/utils/spidev_test/Makefile
> index 807039a..382b150 100644
> --- a/package/utils/spidev_test/Makefile
> +++ b/package/utils/spidev_test/Makefile
> @@ -30,9 +30,18 @@ endef
>  define Build/Prepare
>  endef
>  
> +# requires 214-spidev_h_portability.patch
> +# or linux/ioctl.h include on musl
>  define Build/Compile
> +
> +ifneq ($(CONFIG_LINUX_4_5)$(CONFIG_LINUX_4_6),y)
Please make this check for old kernel versions instead of new ones.
This avoids unnecessary churn when we add 4.7 or newer.

- Felix



More information about the Lede-dev mailing list