lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 7 Sep 2016 16:06:39 +0100
From:   Daniel Thompson <daniel.thompson@...aro.org>
To:     Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@...aro.org>,
        broonie@...nel.org, linux-spi@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools: spi: enable CROSS_COMPILE in Makefile

On 07/09/16 15:28, Jorge Ramirez-Ortiz wrote:
> Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@...aro.org>
> ---
>  tools/spi/Makefile | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/tools/spi/Makefile b/tools/spi/Makefile
> index cd0db62..d1845b0 100644
> --- a/tools/spi/Makefile
> +++ b/tools/spi/Makefile
> @@ -1,4 +1,8 @@
> +CC = $(CROSS_COMPILE)gcc
> +
>  all: spidev_test spidev_fdx
>
> +%: %.c
> +	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<

What is this extra rule for?

The built in rules should already honour both these variables (and more 
besides).


Daniel.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ