linux/drivers/crypto
Michael Ellerman 4ee812f614 crypto: vmx - Avoid weird build failures
In the vmx crypto Makefile we assign to a variable called TARGET and
pass that to the aesp8-ppc.pl and ghashp8-ppc.pl scripts.

The variable is meant to describe what flavour of powerpc we're
building for, eg. either 32 or 64-bit, and big or little endian.

Unfortunately TARGET is a fairly common name for a make variable, and
if it happens that TARGET is specified as a command line parameter to
make, the value specified on the command line will override our value.

In particular this can happen if the kernel Makefile is driven by an
external Makefile that uses TARGET for something.

This leads to weird build failures, eg:
  nonsense  at /build/linux/drivers/crypto/vmx/ghashp8-ppc.pl line 45.
  /linux/drivers/crypto/vmx/Makefile:20: recipe for target 'drivers/crypto/vmx/ghashp8-ppc.S' failed

Which shows that we passed an empty value for $(TARGET) to the perl
script, confirmed with make V=1:

  perl /linux/drivers/crypto/vmx/ghashp8-ppc.pl  > drivers/crypto/vmx/ghashp8-ppc.S

We can avoid this confusion by using override, to tell make that we
don't want anything to override our variable, even a value specified
on the command line. We can also use a less common name, given the
script calls it "flavour", let's use that.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-11-22 18:48:39 +08:00
..
allwinner crypto: sun8i-ce - enable working on big endian 2019-11-22 18:48:38 +08:00
amcc crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr 2019-11-08 23:15:52 +08:00
amlogic crypto: amlogic - enable working on big endian kernel 2019-11-22 18:48:39 +08:00
axis crypto: artpec6 - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:11:58 +10:00
bcm crypto: bcm-spu - switch to skcipher API 2019-11-17 09:02:46 +08:00
caam crypto: skcipher - rename the crypto_blkcipher module and kconfig option 2019-11-01 13:42:47 +08:00
cavium crypto: cavium/cpt - switch to skcipher API 2019-11-17 09:02:47 +08:00
ccp crypto: ccp - add SEV command privilege separation 2019-11-22 18:48:35 +08:00
ccree crypto: ccree - update a stale reference to ablkcipher 2019-11-17 09:02:50 +08:00
chelsio crypto: chelsio - switch to skcipher API 2019-11-17 09:02:47 +08:00
hisilicon crypto: hisilicon - add DebugFS for HiSilicon SEC 2019-11-22 18:48:36 +08:00
inside-secure crypto: inside-secure - Fixed authenc w/ (3)DES fails on Macchiatobin 2019-11-17 09:02:38 +08:00
marvell crypto: marvell/cesa - rename blkcipher to skcipher 2019-11-17 09:02:49 +08:00
mediatek crypto: mediatek - switch to skcipher API 2019-11-17 09:02:47 +08:00
nx crypto: nx - remove stale comment referring to the blkcipher walk API 2019-11-17 09:02:49 +08:00
qat crypto: qat - switch to skcipher API 2019-11-17 09:02:49 +08:00
qce crypto: qce/dma - Use dma_request_chan() directly for channel request 2019-11-22 18:48:35 +08:00
rockchip crypto: rockchip - switch to skcipher API 2019-11-17 09:02:48 +08:00
stm32 crypto: stm32 - switch to skcipher API 2019-11-17 09:02:48 +08:00
ux500 crypto: ux500 - switch to skcipher API 2019-11-17 09:02:46 +08:00
virtio crypto: virtio - switch to skcipher API 2019-11-17 09:02:45 +08:00
vmx crypto: vmx - Avoid weird build failures 2019-11-22 18:48:39 +08:00
atmel-aes-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-aes.c crypto: atmel-aes - Change data type for "lastc" buffer 2019-11-22 18:48:38 +08:00
atmel-authenc.h crypto: atmel - Fix authenc support when it is set to m 2019-11-08 23:00:45 +08:00
atmel-ecc.c crypto: atmel-ecc - factor out code that can be shared 2019-05-30 15:35:45 +08:00
atmel-i2c.c crypto: atmel - Fix -Wunused-const-variable warning 2019-08-30 18:05:31 +10:00
atmel-i2c.h crypto: atmel - Fix -Wunused-const-variable warning 2019-08-30 18:05:31 +10:00
atmel-sha204a.c crypto: atmel-sha204a - Use device-managed registration API 2019-08-02 14:43:59 +10:00
atmel-sha-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-sha.c crypto: atmel - Fix remaining endianess warnings 2019-11-08 23:00:46 +08:00
atmel-tdes-regs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-tdes.c crypto: atmel-tdes - Set the IV after {en,de}crypt 2019-11-22 18:48:37 +08:00
exynos-rng.c crypto: exynos - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:11:59 +10:00
geode-aes.c crypto: geode-aes - convert to skcipher API and make thread-safe 2019-10-23 19:46:56 +11:00
geode-aes.h crypto: geode-aes - convert to skcipher API and make thread-safe 2019-10-23 19:46:56 +11:00
hifn_795x.c crypto: hifn - switch to skcipher API 2019-11-17 09:02:47 +08:00
img-hash.c crypto: img-hash - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:11:59 +10:00
ixp4xx_crypto.c crypto: ixp4xx - switch to skcipher API 2019-11-17 09:02:47 +08:00
Kconfig crypto: atmel - Fix build error of CRYPTO_AUTHENC 2019-11-22 18:48:36 +08:00
Makefile crypto: sun4i-ss - Move to Allwinner directory 2019-11-01 13:38:31 +08:00
mxs-dcp.c crypto: mxs - switch to skcipher API 2019-11-17 09:02:47 +08:00
n2_asm.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
n2_core.c crypto: niagara2 - switch to skcipher API 2019-11-17 09:02:48 +08:00
n2_core.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap-aes-gcm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-aes.c crypto: omap - switch to skcipher API 2019-11-17 09:02:45 +08:00
omap-aes.h crypto: omap - switch to skcipher API 2019-11-17 09:02:45 +08:00
omap-crypto.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-crypto.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-des.c crypto: omap - switch to skcipher API 2019-11-17 09:02:45 +08:00
omap-sham.c crypto: drivers - Remove dev_err() usage after platform_get_irq() 2019-08-09 15:11:38 +10:00
padlock-aes.c crypto: padlock-aes - convert to skcipher API 2019-10-23 19:46:58 +11:00
padlock-sha.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
picoxcell_crypto_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
picoxcell_crypto.c crypto: picoxcell - switch to skcipher API 2019-11-17 09:02:48 +08:00
qcom-rng.c crypto: qcom-rng - use devm_platform_ioremap_resource() to simplify code 2019-08-09 15:12:03 +10:00
s5p-sss.c crypto: s5p - switch to skcipher API 2019-11-17 09:02:46 +08:00
sahara.c crypto: sahara - switch to skcipher API 2019-11-17 09:02:48 +08:00
talitos.c crypto: talitos - switch to skcipher API 2019-11-17 09:02:49 +08:00
talitos.h crypto: talitos - drop icv_ool 2019-07-03 22:13:11 +08:00