]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts/dtc: Call pkg-config POSIXly correct
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>
Mon, 31 Jan 2022 11:20:28 +0000 (12:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:58:03 +0000 (13:58 +0200)
commit4c4c2471e1378c5b51df6989e85624d4fe49e970
tree5ec9707c620becd54afbd5790f1c6d47cdfbcb1d
parent0e3637e146769c8b493bdfcd0af27554c3016620
scripts/dtc: Call pkg-config POSIXly correct

[ Upstream commit a8b309ce9760943486e0585285e0125588a31650 ]

Running with POSIXLY_CORRECT=1 in the environment the scripts/dtc build
fails, because pkg-config doesn't output anything when the flags come
after the arguments.

Fixes: 067c650c456e ("dtc: Use pkg-config to locate libyaml")
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220131112028.7907-1-t@laumann.xyz
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/dtc/Makefile