Skip to contentSkip to conversation

bridge-utils: modify the AR to cross toolchain

PATCH In review Li Zhou 3 participants 3 messages Oct 19, 2017 – Oct 20, 2017

lore
Share & tools
lore

Li Zhou

author
#0 lore raw

PATCH 1/1 bridge-utils: modify the AR to cross toolchain

The Makefile uses the host “ar” tool when it should be using the ar from the target toolchain.

---
 ...ridge-Modifying-the-AR-to-cross-toolchain.patch | 34 ++++++++++++++++++++++
 .../bridge-utils/bridge-utils_1.5.bb               |  1 +
 2 files changed, 35 insertions(+)
 create mode 100644 meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch
meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch new file +34 -0
new file mode 100644
index 0000000..e477f41
@@ -0,0 +1,34 @@
+From 689e24ef05bd1772b2149e4eb48b058ca8361cf4 Mon Sep 17 00:00:00 2001
+From: Li Zhou <[email protected]>
+Date: Thu, 19 Oct 2017 11:34:18 +0800
+Subject: [PATCH 2/2] libbridge: Modifying the AR to cross toolchain
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The Makefile uses the host “ar” tool when it should be using the
+ar from the target toolchain.
+
+Upstream-Status: Pending
+
+Signed-off-by: Li Zhou <[email protected]>
+---
+ libbridge/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libbridge/Makefile.in b/libbridge/Makefile.in
+index 11c0829..59d7355 100644
+--- a/libbridge/Makefile.in
++++ b/libbridge/Makefile.in
+@@ -1,7 +1,7 @@
+ 
+ KERNEL_HEADERS=-I@KERNEL_HEADERS@
+ 
+-AR=ar
++AR?=ar
+ RANLIB=@RANLIB@
+ 
+ CC=@CC@
+-- 
+1.9.1
+
meta-networking/recipes-support/bridge-utils/bridge-utils_1.5.bb +1 -0
index 6032ab0..723ae5f 100644
@@ -7,6 +7,7 @@ SRC_URI += "\
     file://0003-bridge-fix-some-build-time-warnings-errno.h.patch \
     file://0004-libbridge-add-missing-include-s-fix-build-against-mu.patch \
     file://0005-build-don-t-ignore-CFLAGS-from-environment.patch \
+    file://0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch \
 "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 35 lines · Li Zhou

The Makefile uses the host “ar” tool when it should be using the ar from the target toolchain.

---
 ...ridge-Modifying-the-AR-to-cross-toolchain.patch | 34 ++++++++++++++++++++++
 .../bridge-utils/bridge-utils_1.5.bb               |  1 +
 2 files changed, 35 insertions(+)
 create mode 100644 meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch
meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch new file +18 -0
new file mode 100644
index 0000000..e477f41
@@ -0,0 +1,34 @@
+From 689e24ef05bd1772b2149e4eb48b058ca8361cf4 Mon Sep 17 00:00:00 2001
+From: Li Zhou <[email protected]>
+Date: Thu, 19 Oct 2017 11:34:18 +0800
+Subject: [PATCH 2/2] libbridge: Modifying the AR to cross toolchain
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The Makefile uses the host “ar” tool when it should be using the
+ar from the target toolchain.
+
+Upstream-Status: Pending
+
+Signed-off-by: Li Zhou <[email protected]>
+---
+ libbridge/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+

meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch line 28

Quoted 10 lines
meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch new file +10 -0
+diff --git a/libbridge/Makefile.in b/libbridge/Makefile.in
+index 11c0829..59d7355 100644
+--- a/libbridge/Makefile.in
++++ b/libbridge/Makefile.in
+@@ -1,7 +1,7 @@
+
+ KERNEL_HEADERS=-I@KERNEL_HEADERS@
+
+-AR=ar
++AR?=ar

perhaps AR=@AR@ would be better

Quoted 26 lines
meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch new file +6 -0
+ RANLIB=@RANLIB@
+
+ CC=@CC@
+--
+1.9.1
+
meta-networking/recipes-support/bridge-utils/bridge-utils_1.5.bb +1 -1
index 6032ab0..723ae5f 100644
@@ -7,6 +7,7 @@ SRC_URI += "\
     file://0003-bridge-fix-some-build-time-warnings-errno.h.patch \
     file://0004-libbridge-add-missing-include-s-fix-build-against-mu.patch \
     file://0005-build-don-t-ignore-CFLAGS-from-environment.patch \
+    file://0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch \
 "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"
--

1.9.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 40 lines · [Re: [oe] [meta-networking][PATCH] bridge-utils: modify the AR to cross…
Quoted 39 lines · Li Zhou

The Makefile uses the host “ar” tool when it should be using the ar from the target toolchain.

---
 ...ridge-Modifying-the-AR-to-cross-toolchain.patch | 34 ++++++++++++++++++++++
 .../bridge-utils/bridge-utils_1.5.bb               |  1 +
 2 files changed, 35 insertions(+)
 create mode 100644 meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch
meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch new file +22 -0
new file mode 100644
index 0000000..e477f41
@@ -0,0 +1,34 @@
+From 689e24ef05bd1772b2149e4eb48b058ca8361cf4 Mon Sep 17 00:00:00 2001
+From: Li Zhou <[email protected]>
+Date: Thu, 19 Oct 2017 11:34:18 +0800
+Subject: [PATCH 2/2] libbridge: Modifying the AR to cross toolchain
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The Makefile uses the host “ar” tool when it should be using the
+ar from the target toolchain.
+
+Upstream-Status: Pending
+
+Signed-off-by: Li Zhou <[email protected]>
+---
+ libbridge/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libbridge/Makefile.in b/libbridge/Makefile.in
+index 11c0829..59d7355 100644
+--- a/libbridge/Makefile.in
++++ b/libbridge/Makefile.in
Quoted 8 lines

meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch line 28

Quoted 6 lines
meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch new file +6 -0
+@@ -1,7 +1,7 @@
+
+ KERNEL_HEADERS=-I@KERNEL_HEADERS@
+
+-AR=ar
++AR?=ar

perhaps AR=@AR@ would be better

Yeah, I agree.

-J.

Quoted 27 lines
Quoted 27 lines
meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch new file +6 -0
+ RANLIB=@RANLIB@
+
+ CC=@CC@
+--
+1.9.1
+
meta-networking/recipes-support/bridge-utils/bridge-utils_1.5.bb +1 -1
index 6032ab0..723ae5f 100644
@@ -7,6 +7,7 @@ SRC_URI += "\
     file://0003-bridge-fix-some-build-time-warnings-errno.h.patch \
     file://0004-libbridge-add-missing-include-s-fix-build-against-mu.patch \
     file://0005-build-don-t-ignore-CFLAGS-from-environment.patch \
+    file://0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch \
 "
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"
--

1.9.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 2 lines
-Joe MacDonald.
:wq