diff options
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-makefile-use-conditional-assignment-for-KBUILD_OUTPU.patch | 42 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-makefile-use-conditional-assignment-for-KBUILD_OUTPU.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-makefile-use-conditional-assignment-for-KBUILD_OUTPU.patch new file mode 100644 index 0000000000..83bdae858f --- /dev/null +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-makefile-use-conditional-assignment-for-KBUILD_OUTPU.patch | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | From dfd38cb29c0768692f886d3ab9158bd2b3132582 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Changqing Li <changqing.li@windriver.com> | ||
| 3 | Date: Tue, 22 Nov 2022 15:20:48 +0800 | ||
| 4 | Subject: [PATCH] makefile: use conditional assignment for KBUILD_OUTPUT | ||
| 5 | |||
| 6 | Refer [1],from make 4.4, all variables that are marked as export will | ||
| 7 | also be passed to the shell started by the shell function. use "=" will | ||
| 8 | make KBUILD_OUTPUT always empty for shell function, use "?=" to make | ||
| 9 | "export KBUILD_OUTPUT" in enrironment can work. | ||
| 10 | |||
| 11 | [snip of 4.4 NEWS] | ||
| 12 | * WARNING: Backward-incompatibility! | ||
| 13 | Previously makefile variables marked as export were not exported to commands | ||
| 14 | started by the $(shell ...) function. Now, all exported variables are | ||
| 15 | exported to $(shell ...). | ||
| 16 | [snip] | ||
| 17 | |||
| 18 | [1] https://git.savannah.gnu.org/cgit/make.git/tree/NEWS?h=4.4&id=ed493f6c9116cc217b99c2cfa6a95f15803235a2#n74 | ||
| 19 | |||
| 20 | Upstream-Status: Backport [d3dd51ba611802d7cbb28631cb943cb882fa4aac] | ||
| 21 | |||
| 22 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 23 | --- | ||
| 24 | makefile | 2 +- | ||
| 25 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 26 | |||
| 27 | diff --git a/makefile b/makefile | ||
| 28 | index 529d8a0..3db60fa 100644 | ||
| 29 | --- a/makefile | ||
| 30 | +++ b/makefile | ||
| 31 | @@ -15,7 +15,7 @@ | ||
| 32 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
| 33 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 34 | |||
| 35 | -KBUILD_OUTPUT = | ||
| 36 | +KBUILD_OUTPUT ?= | ||
| 37 | |||
| 38 | DEBUG = | ||
| 39 | CC ?= $(CROSS_COMPILE)gcc | ||
| 40 | -- | ||
| 41 | 2.25.1 | ||
| 42 | |||
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb index 9c0f56e736..9c8e649b1a 100644 --- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb | |||
| @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
| 6 | SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v3.1/linuxptp-${PV}.tgz \ | 6 | SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v3.1/linuxptp-${PV}.tgz \ |
| 7 | file://build-Allow-CC-and-prefix-to-be-overriden.patch \ | 7 | file://build-Allow-CC-and-prefix-to-be-overriden.patch \ |
| 8 | file://Use-cross-cpp-in-incdefs.patch \ | 8 | file://Use-cross-cpp-in-incdefs.patch \ |
| 9 | file://0001-makefile-use-conditional-assignment-for-KBUILD_OUTPU.patch \ | ||
| 9 | " | 10 | " |
| 10 | 11 | ||
| 11 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/linuxptp/files/" | 12 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/linuxptp/files/" |
