Patch "scripts/dtc: Call pkg-config POSIXly correct" has been added to the 5.17-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    scripts/dtc: Call pkg-config POSIXly correct

to the 5.17-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     scripts-dtc-call-pkg-config-posixly-correct.patch
and it can be found in the queue-5.17 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 5be8ba390e2ee3630e0ddb54aeaa7300aac7cf73
Author: Thomas Bracht Laumann Jespersen <t@xxxxxxxxxxx>
Date:   Mon Jan 31 12:20:28 2022 +0100

    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@xxxxxxxxxxx>
    Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220131112028.7907-1-t@xxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile
index 95aaf7431bff..1cba78e1dce6 100644
--- a/scripts/dtc/Makefile
+++ b/scripts/dtc/Makefile
@@ -29,7 +29,7 @@ dtc-objs	+= yamltree.o
 # To include <yaml.h> installed in a non-default path
 HOSTCFLAGS_yamltree.o := $(shell pkg-config --cflags yaml-0.1)
 # To link libyaml installed in a non-default path
-HOSTLDLIBS_dtc	:= $(shell pkg-config yaml-0.1 --libs)
+HOSTLDLIBS_dtc	:= $(shell pkg-config --libs yaml-0.1)
 endif
 
 # Generated files need one more search path to include headers in source tree



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux