On Thu, Oct 26, 2023 at 08:41:08AM +0000, Luca Fancellu wrote:
> Any thought about this?

For the sake of consistency, can you please implement something like
this instead?

commit d3dd51ba611802d7cbb28631cb943cb882fa4aac
Author: Changqing Li <changqing...@windriver.com>
Date:   Wed Nov 23 08:23:46 2022 +0800

    makefile: use conditional assignment for KBUILD_OUTPUT

    Refer [1],from make 4.4, all variables that are marked as export will
    also be passed to the shell started by the shell function. use "=" will
    make KBUILD_OUTPUT always empty for shell function, use "?=" to make
    "export KBUILD_OUTPUT" in enrironment can work.

    [snip of 4.4 NEWS]
    * WARNING: Backward-incompatibility!
       Previously makefile variables marked as export were not exported to 
commands
       started by the $(shell ...) function.  Now, all exported variables are
       exported to $(shell ...).
    [snip]


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to