scripts/dtc: Call pkg-config POSIXly correct
stable inclusion from stable-v5.10.110 commit 6f095441f808ee81e669ee03842c05f5c819b573 bugzilla: https://gitee.com/openeuler/kernel/issues/I574AL Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6f095441f808ee81e669ee03842c05f5c819b573 -------------------------------- [ Upstream commit a8b309ce ] 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: 067c650c ("dtc: Use pkg-config to locate libyaml") Signed-off-by: NThomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: NRob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220131112028.7907-1-t@laumann.xyzSigned-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYu Liao <liaoyu15@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录