]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:57:34 +0000 (11:57 +0200)
commit59ab5eee4f72ed37bdb6fdd6b71ec93bddb3e216
tree01ad3122e6323ec76f7451dbe3781a9cde68ff85
parentcb71ec9016888a760c524069ce357edcdab99ec3
scripts/dtc: Call pkg-config POSIXly correct

BugLink: https://bugs.launchpad.net/bugs/1969110
[ 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>
(cherry picked from commit 34bed8dae12a9090f252055c328f36e0d0ff1f71)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
scripts/dtc/Makefile