Skip to contentSkip to conversation

gator: Add new package

RFC PATCH In review Clément Péron 4 participants 10 messages Apr 24, 2021 – Apr 26, 2021

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 gator: Add new package

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24 +++++++++++++++++++
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +24 -0
new file mode 100644
index 000000000000..8e59fffa1fc2
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug
+
+---
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5),1)
+ 	CXXFLAGS += -fno-sized-deallocation
+ endif
+ 
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+-- 
+2.25.1
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +22 -0
new file mode 100644
index 000000000000..8e15b1ca5fc5
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline Performance Analyzer."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE_libsensors = "LGPL-2.1-or-later"
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=master \
+	   file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+	  "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}'"
+
+do_install() {
+	install -d ${D}${sbindir}
+	install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
Signature · 1 line
2.25.1
#1 lore raw

Hi,

I have some questions regarding my patch.

Quoted 3 lines · Clément Péron

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

Is gator the correct name for this package? or would gatord be better?

Quoted 45 lines
---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24 +++++++++++++++++++
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +24 -0
new file mode 100644
index 000000000000..8e59fffa1fc2
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug
+
+---
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5),1)
+       CXXFLAGS += -fno-sized-deallocation
+ endif
+
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+--
+2.25.1
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +0 -0
new file mode 100644
index 000000000000..8e15b1ca5fc5

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 6

Quoted 6 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +6 -0
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline Performance Analyzer."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE_libsensors = "LGPL-2.1-or-later"

Gator git specifies that:

-libsensors source code in daemon/libsensors licensed under LGPL-2.1-or-later -mxml source code in daemon/mxml licensed under APACHE-2.0 WITH Mini-XML-exception
-perf_event.h from Linux userspace kernel headers in daemon/k licensed under GPL-2.0-only WITH Linux-syscall-note.

I'm not sure how to properly reflect this in the recipe.

Thanks for your help,
Clement

Quoted 19 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +16 -1
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=master \
+          file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+         "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}'"
+
+do_install() {
+       install -d ${D}${sbindir}
+       install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
--

2.25.1

#2 lore raw

Why do you want to build only the daemon?

There are already 4 variants of this recipe in various layers (at least by what's reported on layerindex):
http://git.linaro.org/openembedded/meta-linaro.git/tree/meta-linaro/recipes-kernel/gator/gator_git.bb?h=master
https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-core/gator/gator_git.bb
https://github.com/kratsg/meta-l1calo/blob/master/recipes-kernel/gator/gator_git.bb
https://github.com/robseb/meta-intelfpga/blob/master/recipes-devtools/gator/gator_git.bb

so sharing some recipe which would suit most of these needs in meta-oe is definitely welcome, but starting with just a daemon will just complicate things to these layers.

But I understand that building the kernel modules for wider range of kernels in different MACHINEs is quite pain (been there:
https://github.com/shr-project/meta-webosose/commit/f4674ac6fa18a0a96cefefa49ebf397a383a88f1
and given up shortly after:
https://github.com/shr-project/meta-webosose/commit/d4bc575623dfbfad780fc39fef47d55d4d6e698d
as I don't really use gator, it was just one of many build issues in 'bitbake world' I was looking at).

Regards,

Quoted 111 lines · Clément Péron

Hi,

I have some questions regarding my patch.

Quoted 3 lines · Clément Péron

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

Is gator the correct name for this package? or would gatord be better?

Quoted 7 lines
---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24 +++++++++++++++++++
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644

meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch

Quoted 3 lines
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb

diff --git

a/meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch b/meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch

Quoted 4 lines

new file mode 100644
index 000000000000..8e59fffa1fc2
--- /dev/null
+++

b/meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch

Quoted 5 lines
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +4 -0
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug

meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch line 14

Quoted 10 lines
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +10 -0
+
+---
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1

-d.` \>= 5),1)

Review

Quoted 11 lines
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +10 -0
+       CXXFLAGS += -fno-sized-deallocation
+ endif
+
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+--
+2.25.1
(quoted diff) +0 -0

b/meta-oe/recipes-devtools/gator/gator_7.5.0.bb

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 2

Quoted 7 lines

new file mode 100644
index 000000000000..8e15b1ca5fc5

meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +2 -0
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline

Performance Analyzer."

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 6

Quoted 4 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +4 -0
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE_libsensors = "LGPL-2.1-or-later"

Gator git specifies that:

-libsensors source code in daemon/libsensors licensed under LGPL-2.1-or-later
-mxml source code in daemon/mxml licensed under APACHE-2.0 WITH Mini-XML-exception
-perf_event.h from Linux userspace kernel headers in daemon/k licensed under GPL-2.0-only WITH Linux-syscall-note.

I'm not sure how to properly reflect this in the recipe.

Thanks for your help,
Clement

meta-oe/recipes-devtools/gator/gator_7.5.0.bb

Quoted 3 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +3 -0
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://

github.com/ARM-software/gator.git;protocol=http;branch=master \

meta-oe/recipes-devtools/gator/gator_7.5.0.bb

Quoted 6 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +6 -0
+          file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+         "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE

-DETCDIR=\"${sysconfdir}\"' \

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 16

Quoted 1 line
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +1 -0
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}'

'CROSS_COMPILE=${TARGET_PREFIX}' \

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 17

Quoted 1 line
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +1 -0
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}'

CXX='${CXX}'"

Quoted 8 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +5 -1
+
+do_install() {
+       install -d ${D}${sbindir}
+       install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
--

2.25.1

#3 lore raw

Hi Martin,

Quoted 10 lines · Martin Jansa

Why do you want to build only the daemon?

There are already 4 variants of this recipe in various layers (at least by what's reported on layerindex):
http://git.linaro.org/openembedded/meta-linaro.git/tree/meta-linaro/recipes-kernel/gator/gator_git.bb?h=master
https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-core/gator/gator_git.bb
https://github.com/kratsg/meta-l1calo/blob/master/recipes-kernel/gator/gator_git.bb
https://github.com/robseb/meta-intelfpga/blob/master/recipes-devtools/gator/gator_git.bb

so sharing some recipe which would suit most of these needs in meta-oe is definitely welcome, but starting with just a daemon will just complicate things to these layers.

New gator daemon doesn't need a kernel module anymore, it's now fully userspace.

Regards,
Clement

Quoted 109 lines

But I understand that building the kernel modules for wider range of kernels in different MACHINEs is quite pain (been there:
https://github.com/shr-project/meta-webosose/commit/f4674ac6fa18a0a96cefefa49ebf397a383a88f1
and given up shortly after:
https://github.com/shr-project/meta-webosose/commit/d4bc575623dfbfad780fc39fef47d55d4d6e698d
as I don't really use gator, it was just one of many build issues in 'bitbake world' I was looking at).

Regards,

Quoted 99 lines · Clément Péron

Hi,

I have some questions regarding my patch.

Quoted 3 lines · Clément Péron

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

Is gator the correct name for this package? or would gatord be better?

Quoted 45 lines
---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24 +++++++++++++++++++
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +24 -0
new file mode 100644
index 000000000000..8e59fffa1fc2
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug
+
+---
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5),1)
+       CXXFLAGS += -fno-sized-deallocation
+ endif
+
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+--
+2.25.1
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +0 -0
new file mode 100644
index 000000000000..8e15b1ca5fc5

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 6

Quoted 6 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +6 -0
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline Performance Analyzer."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE_libsensors = "LGPL-2.1-or-later"

Gator git specifies that:

(quoted diff) +0 -2
-libsensors source code in daemon/libsensors licensed under LGPL-2.1-or-later
-mxml source code in daemon/mxml licensed under APACHE-2.0 WITH

Mini-XML-exception
-perf_event.h from Linux userspace kernel headers in daemon/k licensed under GPL-2.0-only WITH Linux-syscall-note.

I'm not sure how to properly reflect this in the recipe.

Thanks for your help,
Clement

Quoted 19 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +16 -1
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=master \
+          file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+         "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}'"
+
+do_install() {
+       install -d ${D}${sbindir}
+       install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
--

2.25.1

#4 lore raw

Ah, even better than, but I would keep the recipe name as gator, if it's going to completely replace these older gator versions in other layers.

Quoted 158 lines · Clément Péron

Hi Martin,

Quoted 4 lines · Martin Jansa

Why do you want to build only the daemon?

There are already 4 variants of this recipe in various layers (at least

by what's reported on layerindex):

Quoted 1 line

http://git.linaro.org/openembedded/meta-linaro.git/tree/meta-linaro/recipes-kernel/gator/gator_git.bb?h=master

Quoted 1 line

https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-core/gator/gator_git.bb

Quoted 1 line

https://github.com/kratsg/meta-l1calo/blob/master/recipes-kernel/gator/gator_git.bb

Quoted 1 line

https://github.com/robseb/meta-intelfpga/blob/master/recipes-devtools/gator/gator_git.bb

Quoted 2 lines

so sharing some recipe which would suit most of these needs in meta-oe

is definitely welcome, but starting with just a daemon will just complicate things to these layers.

New gator daemon doesn't need a kernel module anymore, it's now fully userspace.

Regards,
Clement

Quoted 2 lines

But I understand that building the kernel modules for wider range of

kernels in different MACHINEs is quite pain (been there:

Quoted 1 line

https://github.com/shr-project/meta-webosose/commit/f4674ac6fa18a0a96cefefa49ebf397a383a88f1

Quoted 2 lines

and given up shortly after:

https://github.com/shr-project/meta-webosose/commit/d4bc575623dfbfad780fc39fef47d55d4d6e698d

Quoted 1 line

as I don't really use gator, it was just one of many build issues in

'bitbake world' I was looking at).

Quoted 4 lines

Regards,

On Sat, Apr 24, 2021 at 3:29 AM Clément Péron <[email protected]>

Quoted 6 lines · wrote:
Quoted 6 lines

Hi,

I have some questions regarding my patch.

On Sat, 24 Apr 2021 at 12:24, Clément Péron <[email protected]>

Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 3 lines

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

Is gator the correct name for this package? or would gatord be better?

Quoted 4 lines
---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24

+++++++++++++++++++

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644

meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb

diff --git

a/meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch b/meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

new file mode 100644
index 000000000000..8e59fffa1fc2
--- /dev/null
+++

b/meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch

Quoted 2 lines
Quoted 2 lines

Review line 1

Quoted 2 lines
(quoted diff) +1 -0
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00

2001

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +5 -0
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug
+
+---
Quoted 8 lines
Quoted 8 lines

meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch

Quoted 8 lines
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +8 -0
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1

-d.` \>= 5),1)

Quoted 11 lines
Quoted 11 lines

Review

Quoted 11 lines
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +10 -0
+       CXXFLAGS += -fno-sized-deallocation
+ endif
+
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+--
+2.25.1
(quoted diff) +0 -0

b/meta-oe/recipes-devtools/gator/gator_7.5.0.bb

Quoted 7 lines
Quoted 7 lines

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 2

Quoted 7 lines

new file mode 100644
index 000000000000..8e15b1ca5fc5

meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +2 -0
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline

Performance Analyzer."

Quoted 3 lines
Quoted 3 lines

meta-oe/recipes-devtools/gator/gator_7.5.0.bb

Quoted 3 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +3 -0
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

Quoted 5 lines
Quoted 5 lines

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 6

Quoted 1 line
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +1 -0
+LICENSE_libsensors = "LGPL-2.1-or-later"

Gator git specifies that:

-libsensors source code in daemon/libsensors licensed under

LGPL-2.1-or-later

Quoted 5 lines
Quoted 5 lines

-mxml source code in daemon/mxml licensed under APACHE-2.0 WITH Mini-XML-exception
-perf_event.h from Linux userspace kernel headers in daemon/k licensed under GPL-2.0-only WITH Linux-syscall-note.

Quoted 8 lines
Quoted 8 lines

I'm not sure how to properly reflect this in the recipe.

Thanks for your help,
Clement

meta-oe/recipes-devtools/gator/gator_7.5.0.bb

Quoted 3 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +3 -0
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://

github.com/ARM-software/gator.git;protocol=http;branch=master \

Quoted 6 lines
Quoted 6 lines

meta-oe/recipes-devtools/gator/gator_7.5.0.bb

Quoted 6 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +6 -0
+          file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+         "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH}

-D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \

Quoted 1 line
Quoted 1 line

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 16

Quoted 1 line
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +1 -0
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}'

'CROSS_COMPILE=${TARGET_PREFIX}' \

Quoted 1 line
Quoted 1 line

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 17

Quoted 1 line
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +1 -0
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}'

CXX='${CXX}'"

Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +5 -1
+
+do_install() {
+       install -d ${D}${sbindir}
+       install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
--

2.25.1

#5 lore raw

To be honest, as this is Arm-specific I'd encourage adding it to meta-arm instead of meta-oe.

(speaking as the meta-arm co-maintainer)

Ross

Quoted 137 lines · Martin Jansa

Ah, even better than, but I would keep the recipe name as gator, if it's going to completely replace these older gator versions in other layers.

Quoted 129 lines · Clément Péron

Hi Martin,

Quoted 10 lines · Martin Jansa

Why do you want to build only the daemon?

There are already 4 variants of this recipe in various layers (at least by what's reported on layerindex):
http://git.linaro.org/openembedded/meta-linaro.git/tree/meta-linaro/recipes-kernel/gator/gator_git.bb?h=master
https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-core/gator/gator_git.bb
https://github.com/kratsg/meta-l1calo/blob/master/recipes-kernel/gator/gator_git.bb
https://github.com/robseb/meta-intelfpga/blob/master/recipes-devtools/gator/gator_git.bb

so sharing some recipe which would suit most of these needs in meta-oe is definitely welcome, but starting with just a daemon will just complicate things to these layers.

New gator daemon doesn't need a kernel module anymore, it's now fully userspace.

Regards,
Clement

Quoted 109 lines

But I understand that building the kernel modules for wider range of kernels in different MACHINEs is quite pain (been there:
https://github.com/shr-project/meta-webosose/commit/f4674ac6fa18a0a96cefefa49ebf397a383a88f1
and given up shortly after:
https://github.com/shr-project/meta-webosose/commit/d4bc575623dfbfad780fc39fef47d55d4d6e698d
as I don't really use gator, it was just one of many build issues in 'bitbake world' I was looking at).

Regards,

Quoted 99 lines · Clément Péron

Hi,

I have some questions regarding my patch.

Quoted 3 lines · Clément Péron

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

Is gator the correct name for this package? or would gatord be better?

Quoted 45 lines
---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24 +++++++++++++++++++
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +24 -0
new file mode 100644
index 000000000000..8e59fffa1fc2
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug
+
+---
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5),1)
+       CXXFLAGS += -fno-sized-deallocation
+ endif
+
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+--
+2.25.1
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +0 -0
new file mode 100644
index 000000000000..8e15b1ca5fc5

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 6

Quoted 6 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +6 -0
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline Performance Analyzer."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE_libsensors = "LGPL-2.1-or-later"

Gator git specifies that:

(quoted diff) +0 -2
-libsensors source code in daemon/libsensors licensed under LGPL-2.1-or-later
-mxml source code in daemon/mxml licensed under APACHE-2.0 WITH

Mini-XML-exception
-perf_event.h from Linux userspace kernel headers in daemon/k licensed under GPL-2.0-only WITH Linux-syscall-note.

I'm not sure how to properly reflect this in the recipe.

Thanks for your help,
Clement

Quoted 19 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +16 -1
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=master \
+          file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+         "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}'"
+
+do_install() {
+       install -d ${D}${sbindir}
+       install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
--

2.25.1

#6 lore raw
Quoted 3 lines · Ross Burton

To be honest, as this is Arm-specific I'd encourage adding it to meta-arm instead of meta-oe.

I would tend to agree, although there is something to consider it also means all arm SOCs will have to depend on meta-arm for this recipe which may not be a bad thing but some BSP layers for ARM based SOCs are independent

Quoted 146 lines

(speaking as the meta-arm co-maintainer)

Ross

Quoted 137 lines · Martin Jansa

Ah, even better than, but I would keep the recipe name as gator, if it's going to completely replace these older gator versions in other layers.

Quoted 129 lines · Clément Péron

Hi Martin,

Quoted 10 lines · Martin Jansa

Why do you want to build only the daemon?

There are already 4 variants of this recipe in various layers (at least by what's reported on layerindex):
http://git.linaro.org/openembedded/meta-linaro.git/tree/meta-linaro/recipes-kernel/gator/gator_git.bb?h=master
https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-core/gator/gator_git.bb
https://github.com/kratsg/meta-l1calo/blob/master/recipes-kernel/gator/gator_git.bb
https://github.com/robseb/meta-intelfpga/blob/master/recipes-devtools/gator/gator_git.bb

so sharing some recipe which would suit most of these needs in meta-oe is definitely welcome, but starting with just a daemon will just complicate things to these layers.

New gator daemon doesn't need a kernel module anymore, it's now fully userspace.

Regards,
Clement

Quoted 109 lines

But I understand that building the kernel modules for wider range of kernels in different MACHINEs is quite pain (been there:
https://github.com/shr-project/meta-webosose/commit/f4674ac6fa18a0a96cefefa49ebf397a383a88f1
and given up shortly after:
https://github.com/shr-project/meta-webosose/commit/d4bc575623dfbfad780fc39fef47d55d4d6e698d
as I don't really use gator, it was just one of many build issues in 'bitbake world' I was looking at).

Regards,

Quoted 99 lines · Clément Péron

Hi,

I have some questions regarding my patch.

Quoted 3 lines · Clément Péron

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

Is gator the correct name for this package? or would gatord be better?

Quoted 45 lines
---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24 +++++++++++++++++++
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +24 -0
new file mode 100644
index 000000000000..8e59fffa1fc2
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug
+
+---
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5),1)
+       CXXFLAGS += -fno-sized-deallocation
+ endif
+
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+--
+2.25.1
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +0 -0
new file mode 100644
index 000000000000..8e15b1ca5fc5

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 6

Quoted 6 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +6 -0
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline Performance Analyzer."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE_libsensors = "LGPL-2.1-or-later"

Gator git specifies that:

(quoted diff) +0 -2
-libsensors source code in daemon/libsensors licensed under LGPL-2.1-or-later
-mxml source code in daemon/mxml licensed under APACHE-2.0 WITH

Mini-XML-exception
-perf_event.h from Linux userspace kernel headers in daemon/k licensed under GPL-2.0-only WITH Linux-syscall-note.

I'm not sure how to properly reflect this in the recipe.

Thanks for your help,
Clement

Quoted 19 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +16 -1
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=master \
+          file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+         "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}'"
+
+do_install() {
+       install -d ${D}${sbindir}
+       install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
--

2.25.1

#7 lore raw

Hi,

Quoted 10 lines · Khem Raj
Quoted 3 lines · Ross Burton

To be honest, as this is Arm-specific I'd encourage adding it to meta-arm instead of meta-oe.

I would tend to agree, although there is something to consider it also means all arm SOCs will have to depend on meta-arm for this recipe which may not be a bad thing but some BSP layers for ARM based SOCs are independent

Ok, so I will submit this patch to meta-arm.

Clement

Quoted 147 lines
Quoted 147 lines

(speaking as the meta-arm co-maintainer)

Ross

Quoted 137 lines · Martin Jansa

Ah, even better than, but I would keep the recipe name as gator, if it's going to completely replace these older gator versions in other layers.

Quoted 129 lines · Clément Péron

Hi Martin,

Quoted 10 lines · Martin Jansa

Why do you want to build only the daemon?

There are already 4 variants of this recipe in various layers (at least by what's reported on layerindex):
http://git.linaro.org/openembedded/meta-linaro.git/tree/meta-linaro/recipes-kernel/gator/gator_git.bb?h=master
https://github.com/webosose/meta-webosose/blob/master/meta-webos/recipes-core/gator/gator_git.bb
https://github.com/kratsg/meta-l1calo/blob/master/recipes-kernel/gator/gator_git.bb
https://github.com/robseb/meta-intelfpga/blob/master/recipes-devtools/gator/gator_git.bb

so sharing some recipe which would suit most of these needs in meta-oe is definitely welcome, but starting with just a daemon will just complicate things to these layers.

New gator daemon doesn't need a kernel module anymore, it's now fully userspace.

Regards,
Clement

Quoted 109 lines

But I understand that building the kernel modules for wider range of kernels in different MACHINEs is quite pain (been there:
https://github.com/shr-project/meta-webosose/commit/f4674ac6fa18a0a96cefefa49ebf397a383a88f1
and given up shortly after:
https://github.com/shr-project/meta-webosose/commit/d4bc575623dfbfad780fc39fef47d55d4d6e698d
as I don't really use gator, it was just one of many build issues in 'bitbake world' I was looking at).

Regards,

Quoted 99 lines · Clément Péron

Hi,

I have some questions regarding my patch.

Quoted 3 lines · Clément Péron

To communicate with the target device, Streamline requires the gator daemon, gatord, to be running on the device.

Is gator the correct name for this package? or would gatord be better?

Quoted 45 lines
---
 .../gator/0001-gator-don-t-strip-debug.patch  | 24 +++++++++++++++++++
 meta-oe/recipes-devtools/gator/gator_7.5.0.bb | 22 +++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch
 create mode 100644 meta-oe/recipes-devtools/gator/gator_7.5.0.bb
meta-oe/recipes-devtools/gator/gator/0001-gator-don-t-strip-debug.patch new file +24 -0
new file mode 100644
index 000000000000..8e59fffa1fc2
@@ -0,0 +1,24 @@
+From 370e9c97f1bc07a63aa87e954823c0063058aad7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <[email protected]>
+Date: Fri, 16 Apr 2021 15:27:16 +0200
+Subject: [PATCH] gator: don't strip debug
+
+---
+ daemon/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/daemon/Makefile b/daemon/Makefile
+index ba5f29cfeb10..6807948310f9 100644
+--- a/daemon/Makefile
++++ b/daemon/Makefile
+@@ -26,8 +26,6 @@ ifeq ($(shell expr `$(CXX) -dumpversion | cut -f1 -d.` \>= 5),1)
+       CXXFLAGS += -fno-sized-deallocation
+ endif
+
+-# -s strips the binary of debug info
+-LDFLAGS     += -s
+ LDLIBS      += -lrt -lm -pthread
+ TARGET      := $(OBJ_DIR)gatord
+ ESCAPE_EXE  := $(OBJ_DIR)escape/escape
+--
+2.25.1
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +0 -0
new file mode 100644
index 000000000000..8e15b1ca5fc5

meta-oe/recipes-devtools/gator/gator_7.5.0.bb line 6

Quoted 6 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +6 -0
@@ -0,0 +1,22 @@
+SUMMARY = "DS-5 Streamine Gator daemon"
+DESCRIPTION = "Target-side daemon gathering data for ARM Streamline Performance Analyzer."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+LICENSE_libsensors = "LGPL-2.1-or-later"

Gator git specifies that:

(quoted diff) +0 -2
-libsensors source code in daemon/libsensors licensed under LGPL-2.1-or-later
-mxml source code in daemon/mxml licensed under APACHE-2.0 WITH

Mini-XML-exception
-perf_event.h from Linux userspace kernel headers in daemon/k licensed under GPL-2.0-only WITH Linux-syscall-note.

I'm not sure how to properly reflect this in the recipe.

Thanks for your help,
Clement

Quoted 19 lines
meta-oe/recipes-devtools/gator/gator_7.5.0.bb new file +16 -1
+
+SRCREV = "6088d3533146d7b7c9700b8e396292053240b25f"
+SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=master \
+          file://0001-gator-don-t-strip-debug.patch;patchdir=.. \
+         "
+
+S = "${WORKDIR}/git/daemon"
+
+EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
+    'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
+    'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}'"
+
+do_install() {
+       install -d ${D}${sbindir}
+       install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
+}
--

2.25.1

#8 lore raw
In reply to Khem Raj
Quoted 10 lines · Khem Raj
Quoted 3 lines · Ross Burton

To be honest, as this is Arm-specific I'd encourage adding it to meta-arm instead of meta-oe.

I would tend to agree, although there is something to consider it also means all arm SOCs will have to depend on meta-arm for this recipe which may not be a bad thing but some BSP layers for ARM based SOCs are independent

The meta-arm layer itself doesn't have any machine-specific recipes and is simply a repository of common recipes. There should be no barriers to an Arm BSP using meta-arm.

Ross

#9 lore raw
Quoted 7 lines · Ross Burton
Quoted 6 lines · Khem Raj
Quoted 3 lines · Ross Burton

To be honest, as this is Arm-specific I'd encourage adding it to meta-arm instead of meta-oe.

Quoted 8 lines
Quoted 4 lines

I would tend to agree, although there is something to consider it also means all arm SOCs will have to depend on meta-arm for this recipe which may not be a bad thing but some BSP layers for ARM based SOCs are independent

The meta-arm layer itself doesn't have any machine-specific recipes and is simply a repository of common recipes. There should be no barriers to an Arm BSP using meta-arm.

sounds good to me.

Quoted 3 lines

Ross