Skip to contentSkip to conversation

meta-fsl-ppc SDK updates

PATCH In review Matthew McClintock 6 participants 69 messages Nov 29, 2012 – Dec 4, 2012

lore
Share & tools
lore
#0 lore raw

cover meta-fsl-ppc SDK updates

This series brings master up to date for our latest SDK release, I'm still build testing these and these do not include any separate of our BSP support vs. our DISTRO which will come next.

Similiar patches will be pushed to denzil and danny, but I won't post them here since they are so similiar AND development focus for these branches will drop off significantly.

Matthew McClintock (12):
u-boot_git.bb: hack in support for building 32-bit u-boot with 64-bit
machine
u-boot_git.bb: libgcc is required for multilib builds too lxc_0.8.0-rc1.bb: point lxc at kernel source lxc_0.8.0-rc1.bb: fix parallel makefile issue
qemu_1.0.bb: lock down SHA
qemu_1.0.bb: lock down SHA for release
rcw_git.bb: lock down SHA for release
u-boot_git.bb: lock down SHA for release
linux-qoriq-sdk: lock down SHA for release
update README
README: add message about git.freescale.com vs. git.yp.org
linux-qoriq-sdk: move patches to default search path

Stuart Yoder (3):
lxc: remove dhcp from busybox template
lxc: remove hwaddr from vlan config
lxc: create the /var/lib/lxc directory

Ting Liu (1):
u-boot: add additional image for p5040ds

Zhenhua Luo (11):
u-boot: fix nand image name issue for different core type
sysvinit: move bbappend from meta-fsl-ppc-private to meta-fsl-ppc
lm_sensors: added recipe for v3.3.2
lio-utils: fix runtime issue
oprofile: add 0.9.6
set preferred version of oprofile to 0.9.6 for e500mc targets
lmsensors-apps: add required runtime dependencies
set preferred version of oprofile to 0.9.6 for e5500/e5500-64b
targets
hv-cfg: lock down SHA for release
flib: add recipe to build external git tree
libxml: update the version number to 2.9.0 to match the upgrade in
poky

 README                                             |   41 ++++
 conf/machine/e500mc.inc                            |    1 +
 conf/machine/e5500-64b.inc                         |    1 +
 conf/machine/e5500.inc                             |    1 +
 conf/machine/p5040ds-64b.conf                      |    2 +-
 conf/machine/p5040ds.conf                          |    2 +-
 recipes-append/libxml/libxml2_2.8.0.bbappend       |    3 -
 recipes-append/libxml/libxml2_2.9.0.bbappend       |    3 +
 .../sysvinit/files/auto-detect-hostname.patch      |   16 ++
 recipes-append/sysvinit/sysvinit_2.88dsf.bbappend  |    5 +
 recipes-devtools/qemu/qemu_1.0.bb                  |    3 +-
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |   50 +++++
 ...Undef-before-redefining-__attribute_const.patch |   28 ---
 ...-build-dependencies-for-c-files-requiring.patch |   44 ----
 ...Undef-before-redefining-__attribute_const.patch |   28 +++
 ...-build-dependencies-for-c-files-requiring.patch |   44 ++++
 recipes-kernel/linux/linux-qoriq-sdk.inc           |    8 +-
 ...ile-0.9.6-add-e500mc-support-in-op_events.patch |   17 ++
 .../oprofile/oprofile-0.9.6-e500mc-support-2.patch |   37 +++
 .../oprofile/oprofile-0.9.6-e500mc-support.patch   |  171 ++++++++++++++
 .../oprofile/oprofile-no-query-modules.patch       |   29 +++
 recipes-kernel/oprofile/oprofile/opstart.patch     |  237 ++++++++++++++++++++
 recipes-kernel/oprofile/oprofile_0.9.6.bb          |   35 +++
 recipes-kernel/u-boot/u-boot_git.bb                |   22 +-
 recipes-tools/flib/flib_git.bb                     |   13 ++
 recipes-tools/hv-cfg/hv-cfg_git.bb                 |    4 +-
 .../files/lio-utils-install-more-modules.patch     |   15 ++
 recipes-tools/lio-utils/lio-utils_4.0.bb           |   16 +-
 recipes-tools/lxc/busybox_remove_dhcp.patch        |   12 +
 recipes-tools/lxc/files/fix_setns_deps.patch       |   12 +
 recipes-tools/lxc/lxc_0.8.0-rc1.bb                 |   14 +-
 recipes-tools/lxc/remove_vlan_hwaddr.patch         |   11 +
 recipes-tools/rcw/rcw_git.bb                       |    4 +-
 33 files changed, 826 insertions(+), 103 deletions(-)
 delete mode 100644 recipes-append/libxml/libxml2_2.8.0.bbappend
 create mode 100644 recipes-append/libxml/libxml2_2.9.0.bbappend
 create mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch
 create mode 100644 recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
 create mode 100644 recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb
 delete mode 100644 recipes-kernel/linux/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 delete mode 100644 recipes-kernel/linux/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch
 create mode 100644 recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 create mode 100644 recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-0.9.6-add-e500mc-support-in-op_events.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-0.9.6-e500mc-support-2.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-0.9.6-e500mc-support.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-no-query-modules.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/opstart.patch
 create mode 100644 recipes-kernel/oprofile/oprofile_0.9.6.bb
 create mode 100644 recipes-tools/flib/flib_git.bb
 create mode 100644 recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch
 create mode 100644 recipes-tools/lxc/busybox_remove_dhcp.patch
 create mode 100644 recipes-tools/lxc/files/fix_setns_deps.patch
 create mode 100644 recipes-tools/lxc/remove_vlan_hwaddr.patch
Signature · 1 line
1.7.9.7
#1 lore raw

PATCH 1/27 u-boot: fix nand image name issue for different core type

From: Zhenhua Luo <[email protected]>

Final nand u-boot image is named differently in u-boot source. That is:
"u-boot-nand.bin" for e500v2 boards, "u-boot.bin" for other boards.

---
 recipes-kernel/u-boot/u-boot_git.bb |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
recipes-kernel/u-boot/u-boot_git.bb +11 -9
index c0de2ec..207a6ff 100644
@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
-PR = "r26"
+PR = "r27"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
 
@@ -69,18 +69,20 @@ do_compile () {
 		esac
 
 		if [ "x${UBOOT_TARGET}" != "x" ]; then
-			if [ "${MACHINE_ARCH}" == "p1023rds" ] || \
-				[ "${MACHINE_ARCH}" == "p2041rdb" ] || \
-	                        [ "${MACHINE_ARCH}" == "p3041ds" ] || \
-        	                [ "${MACHINE_ARCH}" == "p4080ds" ] || \
-                	        [ "${MACHINE_ARCH}" == "p5020ds" ] || \
-                	        [ "${UBOOT_TARGET}" == "u-boot-sd" ] || \
-				[ "${UBOOT_TARGET}" == "u-boot-nand" ]; then
+			if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then
 				cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
+            elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then
+				if [ "${DEFAULTTUNE}" != "ppce500v2" ];then
+                    cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
+                fi
 			else
-				${STAGING_BINDIR_NATIVE}/boot_format \
+				if [ -n "${BOOTFORMAT_CONFIG}" ];then
+                    ${STAGING_BINDIR_NATIVE}/boot_format \
 					${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
 					${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin
+                else
+                    cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
+                fi
 			fi 
 		fi
 	done
Signature · 1 line
1.7.9.7
Reviewed-by on v1 1/27
#2 lore raw

Re: [PATCH 01/27] u-boot: fix nand image name issue for different core type

Quoted 8 lines · Matthew McClintock

From: Zhenhua Luo <[email protected]>

Final nand u-boot image is named differently in u-boot source. That is:
"u-boot-nand.bin" for e500v2 boards, "u-boot.bin" for other boards.

---

Quoted 53 lines
 recipes-kernel/u-boot/u-boot_git.bb |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
recipes-kernel/u-boot/u-boot_git.bb +11 -10
index c0de2ec..207a6ff 100644
@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
-PR = "r26"
+PR = "r27"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
 
@@ -69,18 +69,20 @@ do_compile () {
                esac
 
                if [ "x${UBOOT_TARGET}" != "x" ]; then
-                       if [ "${MACHINE_ARCH}" == "p1023rds" ] || \
-                               [ "${MACHINE_ARCH}" == "p2041rdb" ] || \
-                               [ "${MACHINE_ARCH}" == "p3041ds" ] || \
-                               [ "${MACHINE_ARCH}" == "p4080ds" ] || \
-                               [ "${MACHINE_ARCH}" == "p5020ds" ] || \
-                               [ "${UBOOT_TARGET}" == "u-boot-sd" ] || \
-                               [ "${UBOOT_TARGET}" == "u-boot-nand" ]; then
+                       if [ "${UBOOT_TARGET}" == "u-boot-sd" ]; then
                                cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
+            elif [ "${UBOOT_TARGET}" == "u-boot-nand" ];then
+                               if [ "${DEFAULTTUNE}" != "ppce500v2" ];then
+                    cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
+                fi
                        else
-                               ${STAGING_BINDIR_NATIVE}/boot_format \
+                               if [ -n "${BOOTFORMAT_CONFIG}" ];then
+                    ${STAGING_BINDIR_NATIVE}/boot_format \
                                        ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \
                                        ${S}/${board}/u-boot.bin -spi ${S}/${board}/${UBOOT_TARGET}.bin
+                else
+                    cp ${S}/${board}/u-boot.bin  ${S}/${board}/${UBOOT_TARGET}.bin
+                fi
                        fi
                fi
        done
--

1.7.9.7

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#3 lore raw

PATCH 2/27 u-boot: add additional image for p5040ds

In reply to Matthew McClintock

From: Ting Liu <[email protected]>

---
 conf/machine/p5040ds-64b.conf |    2 +-
 conf/machine/p5040ds.conf     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
conf/machine/p5040ds-64b.conf +1 -1
index c73815b..9e6b770 100644
@@ -3,7 +3,7 @@
 
 require e5500-64b.inc
 
-UBOOT_MACHINES ?= "P5040DS"
+UBOOT_MACHINES ?= "P5040DS  P5040DS_NAND P5040DS_SECURE_BOOT"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig"
conf/machine/p5040ds.conf +1 -1
index b9f08a5..7c982fd 100644
@@ -3,7 +3,7 @@
 
 require e5500.inc
 
-UBOOT_MACHINES ?= "P5040DS"
+UBOOT_MACHINES ?= "P5040DS P5040DS_NAND P5040DS_SECURE_BOOT"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
Signature · 1 line
1.7.9.7
#4 lore raw

Re: [PATCH 02/27] u-boot: add additional image for p5040ds

it looks ok to me
Daiane

#5 lore raw

PATCH 3/27 sysvinit: move bbappend from meta-fsl-ppc-private to meta-fsl-ppc

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

the bbappend is appled for fsl machines

---
 .../sysvinit/files/auto-detect-hostname.patch      |   16 ++++++++++++++++
 recipes-append/sysvinit/sysvinit_2.88dsf.bbappend  |    5 +++++
 2 files changed, 21 insertions(+)
 create mode 100644 recipes-append/sysvinit/files/auto-detect-hostname.patch
 create mode 100644 recipes-append/sysvinit/sysvinit_2.88dsf.bbappend
recipes-append/sysvinit/files/auto-detect-hostname.patch new file +16 -0
new file mode 100644
index 0000000..da70184
@@ -0,0 +1,16 @@
+diff --git a/rcS b/rcS
+index 080b04f..51425ff 100755
+--- a/rcS
++++ b/rcS
+@@ -22,6 +22,11 @@ export PATH runlevel prevlevel
+ . /etc/default/rcS
+ 
+ #
++#       Update the hostname according to actual board type
++#
++echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"` > /etc/hostname
++
++#
+ #	Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
+ #
+ trap ":" INT QUIT TSTP
recipes-append/sysvinit/sysvinit_2.88dsf.bbappend new file +5 -0
new file mode 100644
index 0000000..9c9dc75
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:"
+
+PR_fsl .= "+${DISTRO}.1"
+
+SRC_URI_append_fsl = " file://auto-detect-hostname.patch;patchdir=../"
Signature · 1 line
1.7.9.7
#7 lore raw

PATCH 4/27 lm_sensors: added recipe for v3.3.2

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

the patch is generated based on http://patches.openembedded.org/patch/27213/
which is submitted by Jackie Huang <[email protected]>
* Adapted from the recipe for v3.2.0
* Added MANDIR in EXTRA_OEMAKE instead of the moving operation for manuals in do_install
* put .a files in _staticdev package

---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |   48 ++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +48 -0
new file mode 100644
index 0000000..57a6f3e
@@ -0,0 +1,48 @@
+SUMMARY = "A hardware health monitoring package for Linux"
+DESCRIPTION = "Lm-sensors is a hardware health monitoring package for Linux. \
+               It allows you to access information from temperature, voltage, \
+               and fan speed sensors."
+HOMEPAGE = "http://www.lm-sensors.org/"
+DEPENDS = "sysfsutils virtual/libiconv \
+           bison-native flex-native"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+                    file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
+
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578"
+SRC_URI[sha256sum] = "f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1"
+
+S = "${WORKDIR}/lm_sensors-${PV}"
+
+EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \
+		MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" \
+		AR="${AR}" MANDIR=${mandir}'
+
+do_compile() {
+	oe_runmake user PROG_EXTRA=sensors
+}
+
+do_install() {
+	oe_runmake user_install DESTDIR=${D}
+}
+
+PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc"
+PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg lmsensors-sensors-doc"
+PACKAGES =+ "lmsensors-scripts"
+
+FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"
+RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+
+FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}"
+FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors"
+FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5"
+FILES_libsensors = "${libdir}/libsensors.so.*"
+FILES_libsensors-dbg += "${libdir}/.debug"
+FILES_libsensors-dev = "${libdir}/libsensors.so ${includedir}"
+FILES_libsensors-staticdev = "${libdir}/libsensors.a"
+FILES_libsensors-doc = "${mandir}/man3"
Signature · 1 line
1.7.9.7
#8 lore raw

Re: [PATCH 04/27] lm_sensors: added recipe for v3.3.2

Quoted 31 lines · Matthew McClintock

From: Zhenhua Luo <[email protected]>

the patch is generated based on http://patches.openembedded.org/patch/27213/
which is submitted by Jackie Huang <[email protected]>
* Adapted from the recipe for v3.2.0
* Added MANDIR in EXTRA_OEMAKE instead of the moving operation for manuals in do_install
* put .a files in _staticdev package

---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |   48 ++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +10 -0
new file mode 100644
index 0000000..57a6f3e
@@ -0,0 +1,48 @@
+SUMMARY = "A hardware health monitoring package for Linux"
+DESCRIPTION = "Lm-sensors is a hardware health monitoring package for Linux. \
+               It allows you to access information from temperature, voltage, \
+               and fan speed sensors."
+HOMEPAGE = "http://www.lm-sensors.org/"
+DEPENDS = "sysfsutils virtual/libiconv \
+           bison-native flex-native"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
+                    file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 20

Quoted 10 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +10 -0
+
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578"
+SRC_URI[sha256sum] = "f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1"
+
+S = "${WORKDIR}/lm_sensors-${PV}"

Is this a must or is it optional?
I only want to understand. Because it looks like it´s defined just like default value would be.

Quoted 32 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +28 -1
+
+EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \
+               MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" \
+               AR="${AR}" MANDIR=${mandir}'
+
+do_compile() {
+       oe_runmake user PROG_EXTRA=sensors
+}
+
+do_install() {
+       oe_runmake user_install DESTDIR=${D}
+}
+
+PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev libsensors-dbg libsensors-doc"
+PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg lmsensors-sensors-doc"
+PACKAGES =+ "lmsensors-scripts"
+
+FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"
+RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+
+FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}"
+FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors"
+FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5"
+FILES_libsensors = "${libdir}/libsensors.so.*"
+FILES_libsensors-dbg += "${libdir}/.debug"
+FILES_libsensors-dev = "${libdir}/libsensors.so ${includedir}"
+FILES_libsensors-staticdev = "${libdir}/libsensors.a"
+FILES_libsensors-doc = "${mandir}/man3"
--

1.7.9.7

Quoted 4 lines

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

It looks great to me.

Daiane

#9 lore raw

Re: [PATCH 04/27] lm_sensors: added recipe for v3.3.2

Quoted 50 lines · Daiane Angolini
Quoted 3 lines · Matthew McClintock

From: Zhenhua Luo <[email protected]>

the patch is generated based on

http://patches.openembedded.org/patch/27213/

Quoted 9 lines

which is submitted by Jackie Huang <[email protected]>
* Adapted from the recipe for v3.2.0
* Added MANDIR in EXTRA_OEMAKE instead of the moving operation for manuals in do_install
* put .a files in _staticdev package

---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |   48

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

Review

Quoted 4 lines
 1 file changed, 48 insertions(+)
 create mode 100644 recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb
(quoted diff) +0 -0

lmsensors-apps_3.3.2.bb

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 2

Quoted 7 lines

new file mode 100644
index 0000000..57a6f3e

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +2 -0
@@ -0,0 +1,48 @@
+SUMMARY = "A hardware health monitoring package for Linux"
+DESCRIPTION = "Lm-sensors is a hardware health monitoring package for

Linux. \

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 3

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +1 -0
+               It allows you to access information from temperature,

voltage, \

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 6 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +6 -0
+               and fan speed sensors."
+HOMEPAGE = "http://www.lm-sensors.org/"
+DEPENDS = "sysfsutils virtual/libiconv \
+           bison-native flex-native"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe

\

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 10

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +1 -0
+

file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 5 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +5 -0
+
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "

http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 3 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +3 -0
+
+SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578"
+SRC_URI[sha256sum] =

"f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1"

Quoted 6 lines

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 20

Quoted 2 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +2 -0
+
+S = "${WORKDIR}/lm_sensors-${PV}"

Is this a must or is it optional?
I only want to understand. Because it looks like it´s defined just like default value would be.

It is need because PN in this case expands to lm-sensors.

Quoted 47 lines
Quoted 4 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +4 -0
+
+EXTRA_OEMAKE = 'LINUX=${STAGING_KERNEL_DIR} EXLDFLAGS="${LDFLAGS}" \
+               MACHINE=${TARGET_ARCH} PREFIX=${prefix} CC="${CC}" \
+               AR="${AR}" MANDIR=${mandir}'

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 10 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +10 -0
+
+do_compile() {
+       oe_runmake user PROG_EXTRA=sensors
+}
+
+do_install() {
+       oe_runmake user_install DESTDIR=${D}
+}
+
+PACKAGES =+ "libsensors libsensors-dev libsensors-staticdev

libsensors-dbg libsensors-doc"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 35

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +1 -0
+PACKAGES =+ "lmsensors-sensors lmsensors-sensors-dbg

lmsensors-sensors-doc"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 3 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +3 -0
+PACKAGES =+ "lmsensors-scripts"
+
+FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon

${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"

Quoted 14 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +10 -1
+RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+
+FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}"
+FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors"
+FILES_lmsensors-sensors-doc = "${mandir}/man1 ${mandir}/man5"
+FILES_libsensors = "${libdir}/libsensors.so.*"
+FILES_libsensors-dbg += "${libdir}/.debug"
+FILES_libsensors-dev = "${libdir}/libsensors.so ${includedir}"
+FILES_libsensors-staticdev = "${libdir}/libsensors.a"
+FILES_libsensors-doc = "${mandir}/man3"
--

1.7.9.7

Quoted 4 lines

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

It looks great to me.

Daiane
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#10 lore raw

Re: [PATCH 04/27] lm_sensors: added recipe for v3.3.2

In reply to Daiane Angolini
Quoted 51 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Daiane Angolini

Quoted 2 lines

the patch is generated based on

http://patches.openembedded.org/patch/27213/

Quoted 9 lines

which is submitted by Jackie Huang <[email protected]>
* Adapted from the recipe for v3.2.0
* Added MANDIR in EXTRA_OEMAKE instead of the moving operation for manuals in do_install
* put .a files in _staticdev package

---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |   48

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

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 2

Quoted 13 lines
 1 file changed, 48 insertions(+)
 create mode 100644

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +2 -0
new file mode 100644
index 0000000..57a6f3e
@@ -0,0 +1,48 @@
+SUMMARY = "A hardware health monitoring package for Linux"
+DESCRIPTION = "Lm-sensors is a hardware health monitoring package for

Linux. \

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 3

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +1 -0
+               It allows you to access information from temperature,

voltage, \

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 6 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +6 -0
+               and fan speed sensors."
+HOMEPAGE = "http://www.lm-sensors.org/"
+DEPENDS = "sysfsutils virtual/libiconv \
+           bison-native flex-native"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 10

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +1 -0
+

file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 5 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +5 -0
+
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-

${PV}.tar.bz2"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb

Quoted 3 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +3 -0
+
+SRC_URI[md5sum] = "f357ba00b080ab102a170f7bf8bb2578"
+SRC_URI[sha256sum] =

"f13dd885406841a7352ccfb8b9ccb23c4c057abe3de4258da5444c149a9e3ae1"

Quoted 6 lines

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb line 20

Quoted 2 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb new file +2 -0
+
+S = "${WORKDIR}/lm_sensors-${PV}"

Is this a must or is it optional?
I only want to understand. Because it looks like it´s defined just like default value would be.

[Luo Zhenhua-B19537] the default value is lmsensors-apps, what we want is lmsensors.

Best Regards,

Zhenhua

#11 lore raw

PATCH 5/27 u-boot_git.bb: hack in support for building 32-bit u-boot with 64-bit machine

In reply to Matthew McClintock

This really was already partially applied, so it's just adding more dependencies

---
 recipes-kernel/u-boot/u-boot_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/u-boot/u-boot_git.bb +1 -1
index 207a6ff..a8b58a5 100644
@@ -33,7 +33,7 @@ TOOLCHAIN_OPTIONS_append_e5500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"
 WRAP_TARGET_PREFIX_e5500-64b = "powerpc${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}-"
 
-DEPENDS_append_e6500-64b = " lib32-gcc-cross lib32-libgcc"
+DEPENDS_append_e6500-64b = " lib32-gcc-cross"
 PATH_append_e6500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/"
 TOOLCHAIN_OPTIONS_append_e6500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"
Signature · 1 line
1.7.9.7
#12 lore raw

Re: [PATCH 05/27] u-boot_git.bb: hack in support for building 32-bit u-boot with 64-bit machine

Quoted 13 lines · Matthew McClintock

This really was already partially applied, so it's just adding more dependencies

---
 recipes-kernel/u-boot/u-boot_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/u-boot/u-boot_git.bb +0 -0
index 207a6ff..a8b58a5 100644

recipes-kernel/u-boot/u-boot_git.bb TOOLCHAIN_OPTIONS_append_e5500-64b = "/../lib32-${MACHINE}" · line 39

Quoted 8 lines
recipes-kernel/u-boot/u-boot_git.bb +1 -1
@@ -33,7 +33,7 @@ TOOLCHAIN_OPTIONS_append_e5500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"
 WRAP_TARGET_PREFIX_e5500-64b = "powerpc${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}-"
 
-DEPENDS_append_e6500-64b = " lib32-gcc-cross lib32-libgcc"
+DEPENDS_append_e6500-64b = " lib32-gcc-cross"
 PATH_append_e6500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/"
 TOOLCHAIN_OPTIONS_append_e6500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"

This patch does not BUMP PR.

#13 lore raw

Re: [PATCH 05/27] u-boot_git.bb: hack in support for building 32-bit u-boot with 64-bit machine

Quoted 21 lines · Daiane Angolini

Review

Quoted 9 lines · Matthew McClintock

This really was already partially applied, so it's just adding more dependencies

---
 recipes-kernel/u-boot/u-boot_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

u-boot_git.bb

recipes-kernel/u-boot/u-boot_git.bb TOOLCHAIN_OPTIONS_append_e5500-64b =

Quoted 4 lines

index 207a6ff..a8b58a5 100644

recipes-kernel/u-boot/u-boot_git.bb +0 -0
@@ -33,7 +33,7 @@ TOOLCHAIN_OPTIONS_append_e5500-64b =

"/../lib32-${MACHINE}"

recipes-kernel/u-boot/u-boot_git.bb TOOLCHAIN_OPTIONS_append_e5500-64b = · line 34

Quoted 2 lines
recipes-kernel/u-boot/u-boot_git.bb +0 -0
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"
 WRAP_TARGET_PREFIX_e5500-64b =

"powerpc${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}-"

Quoted 1 line
Quoted 8 lines

recipes-kernel/u-boot/u-boot_git.bb TOOLCHAIN_OPTIONS_append_e5500-64b = "/../lib32-${MACHINE}"

Quoted 3 lines
recipes-kernel/u-boot/u-boot_git.bb +1 -1
-DEPENDS_append_e6500-64b = " lib32-gcc-cross lib32-libgcc"
+DEPENDS_append_e6500-64b = " lib32-gcc-cross"
 PATH_append_e6500-64b =

":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/"

Quoted 2 lines

TOOLCHAIN_OPTIONS_append_e6500-64b = "/../lib32-${MACHINE}" TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"

This patch does not BUMP PR.

This patch can be dropped as the next patch redo the change and also do more changes. So seems better to squash them.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#14 lore raw

Re: [PATCH 05/27] u-boot_git.bb: hack in support for building 32-bit u-boot with 64-bit machine

Quoted 37 lines · Otavio Salvador
Quoted 22 lines · Daiane Angolini
Quoted 19 lines · Matthew McClintock

This really was already partially applied, so it's just adding more dependencies

---
 recipes-kernel/u-boot/u-boot_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/u-boot/u-boot_git.bb +0 -0
index 207a6ff..a8b58a5 100644
@@ -33,7 +33,7 @@ TOOLCHAIN_OPTIONS_append_e5500-64b =

"/../lib32-${MACHINE}"
TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32" WRAP_TARGET_PREFIX_e5500-64b =
"powerpc${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}-"

Quoted 8 lines
Quoted 6 lines
recipes-kernel/u-boot/u-boot_git.bb +1 -1
-DEPENDS_append_e6500-64b = " lib32-gcc-cross lib32-libgcc"
+DEPENDS_append_e6500-64b = " lib32-gcc-cross"
 PATH_append_e6500-64b =

":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/"
TOOLCHAIN_OPTIONS_append_e6500-64b = "/../lib32-${MACHINE}"
TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"

This patch does not BUMP PR.

Quoted 2 lines

This patch can be dropped as the next patch redo the change and also do more changes. So seems better to squash them.

Actually these two patches just opposite so if I squash it goes to nothing but a PR bump... not sure why this came to to be... dropping both patches for now.

-M

#15 lore raw

Re: [PATCH 05/27] u-boot_git.bb: hack in support for building 32-bit u-boot with 64-bit machine

In reply to Daiane Angolini
Quoted 17 lines · Daiane Angolini
Quoted 16 lines · Matthew McClintock

This really was already partially applied, so it's just adding more dependencies

---
 recipes-kernel/u-boot/u-boot_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/u-boot/u-boot_git.bb +0 -0
index 207a6ff..a8b58a5 100644
@@ -33,7 +33,7 @@ TOOLCHAIN_OPTIONS_append_e5500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"
 WRAP_TARGET_PREFIX_e5500-64b = "powerpc${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}-"
 
Quoted 7 lines

recipes-kernel/u-boot/u-boot_git.bb TOOLCHAIN_OPTIONS_append_e5500-64b = "/../lib32-${MACHINE}" · line 39

Quoted 5 lines
recipes-kernel/u-boot/u-boot_git.bb +1 -1
-DEPENDS_append_e6500-64b = " lib32-gcc-cross lib32-libgcc"
+DEPENDS_append_e6500-64b = " lib32-gcc-cross"
 PATH_append_e6500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/"
 TOOLCHAIN_OPTIONS_append_e6500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"

This patch does not BUMP PR.

The next patch does...

-M

#16 lore raw

PATCH 6/27 u-boot_git.bb: libgcc is required for multilib builds too

In reply to Matthew McClintock
---
 recipes-kernel/u-boot/u-boot_git.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/u-boot/u-boot_git.bb +2 -2
index a8b58a5..e0b99a6 100644
@@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
-PR = "r27"
+PR = "r28"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
 
@@ -33,7 +33,7 @@ TOOLCHAIN_OPTIONS_append_e5500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"
 WRAP_TARGET_PREFIX_e5500-64b = "powerpc${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}-"
 
-DEPENDS_append_e6500-64b = " lib32-gcc-cross"
+DEPENDS_append_e6500-64b = " lib32-gcc-cross lib32-libgcc"
 PATH_append_e6500-64b = ":${STAGING_BINDIR_NATIVE}/${DEFAULTTUNE_virtclass-multilib-lib32}${TARGET_VENDOR_virtclass-multilib-lib32}-${HOST_OS}/"
 TOOLCHAIN_OPTIONS_append_e6500-64b = "/../lib32-${MACHINE}"
 TARGET_VENDOR_virtclass-multilib-lib32 ?= "-${DISTRO}mllib32"
Signature · 1 line
1.7.9.7
#17 lore raw

Re: [PATCH 06/27] u-boot_git.bb: libgcc is required for multilib builds too

it looks ok to me
Daiane

#18 lore raw

PATCH 7/27 lio-utils: fix runtime issue

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

1. add rumtime dependency for lio-utils
2. use commit ID to fix offline build issue
3. install rc.target

---
 .../files/lio-utils-install-more-modules.patch     |   15 +++++++++++++++
 recipes-tools/lio-utils/lio-utils_4.0.bb           |   16 +++++++++++++---
 2 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch
recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch new file +15 -0
new file mode 100644
index 0000000..7f9b02d
@@ -0,0 +1,15 @@
+Upstream-Status: Pending
+
+install tcm_snap module
+
+Signed-off-by: Zhenhua Luo <[email protected]>
+--- a/tcm-py/setup.py	2012-09-27 04:21:14.984705400 -0500
++++ b/tcm-py/setup.py	2012-09-27 04:20:18.387604661 -0500
+@@ -12,6 +12,6 @@
+       author_email='[email protected]',
+       url='http://linux-iscsi.org',
+       license='GPL',
+-      py_modules=['tcm_dump', 'tcm_fileio','tcm_iblock','tcm_node','tcm_pscsi','tcm_ramdisk','tcm_loop','tcm_fabric']
++      py_modules=['tcm_dump', 'tcm_fileio','tcm_iblock','tcm_node','tcm_pscsi','tcm_ramdisk','tcm_loop','tcm_fabric', 'tcm_snap']
+ )
+ 
recipes-tools/lio-utils/lio-utils_4.0.bb +13 -3
index d461350..31aa4fa 100644
@@ -4,8 +4,11 @@ HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df"
 
-SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git"
-SRCREV = "lio-4.0"
+PR = "r1"
+
+SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \
+    file://lio-utils-install-more-modules.patch "
+SRCREV = "300d9df5e5fa29d7168fb8f0c84a4d9d57436fad"
 S = "${WORKDIR}/git"
 
 inherit distutils
@@ -43,6 +46,13 @@ do_install() {
     if test -d ${S}/tools; then
         oe_runmake install
     fi
+
+    install -d ${D}/etc/init.d/
+    install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/
 }
 
-FILES_${PN} += "${sbindir}/*"
+RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ 
+    python-datetime python-textutils python-crypt python-netclient python-email"
+
+
+FILES_${PN} += "${sbindir}/* /etc/init.d/*"
Signature · 1 line
1.7.9.7
#19 lore raw

Re: [PATCH 07/27] lio-utils: fix runtime issue

it looks great to me
Daiane

#20 lore raw

PATCH 8/27 oprofile: add 0.9.6

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

oprofile-0.9.7 doesn't support e500mc, the patches of e500mc support
are only available for oprofile-0.9.6

---
 ...ile-0.9.6-add-e500mc-support-in-op_events.patch |   17 ++
 .../oprofile/oprofile-0.9.6-e500mc-support-2.patch |   37 +++
 .../oprofile/oprofile-0.9.6-e500mc-support.patch   |  171 ++++++++++++++
 .../oprofile/oprofile-no-query-modules.patch       |   29 +++
 recipes-kernel/oprofile/oprofile/opstart.patch     |  237 ++++++++++++++++++++
 recipes-kernel/oprofile/oprofile_0.9.6.bb          |   35 +++
 6 files changed, 526 insertions(+)
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-0.9.6-add-e500mc-support-in-op_events.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-0.9.6-e500mc-support-2.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-0.9.6-e500mc-support.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/oprofile-no-query-modules.patch
 create mode 100644 recipes-kernel/oprofile/oprofile/opstart.patch
 create mode 100644 recipes-kernel/oprofile/oprofile_0.9.6.bb
recipes-kernel/oprofile/oprofile/oprofile-0.9.6-add-e500mc-support-in-op_events.patch new file +17 -0
new file mode 100644
index 0000000..2409a63
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Add e500mc support in libop/op_events.c
+
+Signed-off-by: Zhenhua Luo <[email protected]>
+===============================================================================
+diff -urN oprofile-0.9.6/libop/op_events.c oprofile-0.9.6-new/libop/op_events.c
+--- oprofile-0.9.6/libop/op_events.c	2009-11-24 23:25:17.000000000 +0800
++++ oprofile-0.9.6-new/libop/op_events.c	2010-08-19 11:13:15.000000000 +0800
+@@ -1062,6 +1062,7 @@
+ 
+ 		case CPU_PPC_E500:
+ 		case CPU_PPC_E500_2:
++		case CPU_PPC_E500MC:
+ 		case CPU_PPC_E300:
+ 			descr->name = "CPU_CLK";
+ 			break;
recipes-kernel/oprofile/oprofile/oprofile-0.9.6-e500mc-support-2.patch new file +37 -0
new file mode 100644
index 0000000..297b954
@@ -0,0 +1,37 @@
+Upstream-Status: Pending
+
+Add e500mc event in oprofile Makefile to add e500mc support
+
+Signed-off-by: Luo Zhenhua <[email protected]>
+===============================================================================
+diff -urN oprofile-0.9.6-old/events/Makefile.am oprofile-0.9.6/events/Makefile.am
+--- oprofile-0.9.6-old/events/Makefile.am	2009-11-24 23:25:18.000000000 +0800
++++ oprofile-0.9.6/events/Makefile.am	2010-08-13 15:23:24.000000000 +0800
+@@ -55,6 +55,7 @@
+ 	mips/vr5500/events mips/vr5500/unit_masks \
+ 	ppc/7450/events ppc/7450/unit_masks \
+ 	ppc/e500/events ppc/e500/unit_masks \
++	ppc/e500mc/events ppc/e500mc/unit_masks \
+ 	ppc/e500v2/events ppc/e500v2/unit_masks \
+ 	ppc/e300/events ppc/e300/unit_masks
+ 
+diff -urN oprofile-0.9.6-old/events/Makefile.in oprofile-0.9.6/events/Makefile.in
+--- oprofile-0.9.6-old/events/Makefile.in	2009-11-24 23:25:48.000000000 +0800
++++ oprofile-0.9.6/events/Makefile.in	2010-08-13 15:23:03.000000000 +0800
+@@ -258,6 +258,7 @@
+ 	mips/vr5500/events mips/vr5500/unit_masks \
+ 	ppc/7450/events ppc/7450/unit_masks \
+ 	ppc/e500/events ppc/e500/unit_masks \
++	ppc/e500mc/events ppc/e500mc/unit_masks \
+ 	ppc/e500v2/events ppc/e500v2/unit_masks \
+ 	ppc/e300/events ppc/e300/unit_masks
+ 
+@@ -312,7 +313,7 @@
+ 
+ 
+ distdir: $(DISTFILES)
+-	$(mkdir_p) $(distdir)/alpha/ev4 $(distdir)/alpha/ev5 $(distdir)/alpha/ev6 $(distdir)/alpha/ev67 $(distdir)/alpha/pca56 $(distdir)/arm/armv6 $(distdir)/arm/armv7 $(distdir)/arm/mpcore $(distdir)/arm/xscale1 $(distdir)/arm/xscale2 $(distdir)/avr32 $(distdir)/i386/arch_perfmon $(distdir)/i386/athlon $(distdir)/i386/atom $(distdir)/i386/core $(distdir)/i386/core_2 $(distdir)/i386/core_i7 $(distdir)/i386/nehalem $(distdir)/i386/p4 $(distdir)/i386/p4-ht $(distdir)/i386/p6_mobile $(distdir)/i386/pii $(distdir)/i386/piii $(distdir)/i386/ppro $(distdir)/ia64/ia64 $(distdir)/ia64/itanium $(distdir)/ia64/itanium2 $(distdir)/mips/20K $(distdir)/mips/24K $(distdir)/mips/25K $(distdir)/mips/34K $(distdir)/mips/5K $(distdir)/mips/r10000 $(distdir)/mips/r12000 $(distdir)/mips/rm7000 $(distdir)/mips/rm9000 $(distdir)/mips/sb1 $(distdir)/mips/vr5432 $(distdir)/mips/vr5500 $(distdir)/ppc/7450 $(distdir)/ppc/e300 $(distdir)/ppc/e500 $(distdir)/ppc/e500v2 $(distdir)/ppc64/970 $(distdir)/ppc64/970MP $(distdir)/ppc64/cell-be $(distdir)/ppc64/ibm-compat-v1 $(distdir)/ppc64/pa6t $(distdir)/ppc64/power4 $(distdir)/ppc64/power5 $(distdir)/ppc64/power5+ $(distdir)/ppc64/power5++ $(distdir)/ppc64/power6 $(distdir)/ppc64/power7 $(distdir)/rtc $(distdir)/x86-64/family10 $(distdir)/x86-64/family11h $(distdir)/x86-64/hammer
++	$(mkdir_p) $(distdir)/alpha/ev4 $(distdir)/alpha/ev5 $(distdir)/alpha/ev6 $(distdir)/alpha/ev67 $(distdir)/alpha/pca56 $(distdir)/arm/armv6 $(distdir)/arm/armv7 $(distdir)/arm/mpcore $(distdir)/arm/xscale1 $(distdir)/arm/xscale2 $(distdir)/avr32 $(distdir)/i386/arch_perfmon $(distdir)/i386/athlon $(distdir)/i386/atom $(distdir)/i386/core $(distdir)/i386/core_2 $(distdir)/i386/core_i7 $(distdir)/i386/nehalem $(distdir)/i386/p4 $(distdir)/i386/p4-ht $(distdir)/i386/p6_mobile $(distdir)/i386/pii $(distdir)/i386/piii $(distdir)/i386/ppro $(distdir)/ia64/ia64 $(distdir)/ia64/itanium $(distdir)/ia64/itanium2 $(distdir)/mips/20K $(distdir)/mips/24K $(distdir)/mips/25K $(distdir)/mips/34K $(distdir)/mips/5K $(distdir)/mips/r10000 $(distdir)/mips/r12000 $(distdir)/mips/rm7000 $(distdir)/mips/rm9000 $(distdir)/mips/sb1 $(distdir)/mips/vr5432 $(distdir)/mips/vr5500 $(distdir)/ppc/7450 $(distdir)/ppc/e300 $(distdir)/ppc/e500 $(distdir)/ppc/e500mc $(distdir)/ppc/e500v2 $(distdir)/ppc64/970 $(distdir)/ppc64/970MP $(distdir)/ppc64/cell-be $(distdir)/ppc64/ibm-compat-v1 $(distdir)/ppc64/pa6t $(distdir)/ppc64/power4 $(distdir)/ppc64/power5 $(distdir)/ppc64/power5+ $(distdir)/ppc64/power5++ $(distdir)/ppc64/power6 $(distdir)/ppc64/power7 $(distdir)/rtc $(distdir)/x86-64/family10 $(distdir)/x86-64/family11h $(distdir)/x86-64/hammer
+ 	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ 	list='$(DISTFILES)'; for file in $$list; do \
recipes-kernel/oprofile/oprofile/oprofile-0.9.6-e500mc-support.patch new file +171 -0

171 lines not on this page · raw message

recipes-kernel/oprofile/oprofile/oprofile-no-query-modules.patch new file +29 -0
new file mode 100644
index 0000000..c9d7cd6
@@ -0,0 +1,29 @@
+disable portions which use query_module on 2.6 kernel this is not available
+in OE we dont support 2.4 anyway
+
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <[email protected]>
+
+Index: oprofile-0.9.6/daemon/liblegacy/opd_kernel.c
+===================================================================
+--- oprofile-0.9.6.orig/daemon/liblegacy/opd_kernel.c	2009-11-24 07:25:17.000000000 -0800
++++ oprofile-0.9.6/daemon/liblegacy/opd_kernel.c	2011-07-18 10:08:39.863798825 -0700
+@@ -270,6 +270,9 @@
+  */
+ static void opd_drop_module_sample(unsigned long eip)
+ {
++	verbprintf(vmodule, "query_module not available on linux-2.6: %s\n", strerror(EPERM));
++
++#if	0
+ 	char * module_names;
+ 	char * name;
+ 	size_t size = 1024;
+@@ -307,6 +310,7 @@
+ 
+ 	if (module_names)
+ 		free(module_names);
++#endif
+ }
+ 
+ 
recipes-kernel/oprofile/oprofile/opstart.patch new file +237 -0

237 lines not on this page · raw message

recipes-kernel/oprofile/oprofile_0.9.6.bb new file +35 -0
new file mode 100644
index 0000000..6664c89
@@ -0,0 +1,35 @@
+SUMMARY = "System-Wide Profiler"
+DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
+of profiling all running code at low overhead."
+HOMEPAGE = "http://oprofile.sourceforge.net/news/"
+BUGTRACKER = "http://sourceforge.net/tracker/?group_id=16191&atid=116191"
+
+LICENSE = "LGPLv2.1+ & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
+                    file://libopagent/opagent.h;beginline=5;endline=26;md5=4f16f72c7a493d8a4704aa18d03d15c6 \
+                    file://daemon/liblegacy/p_module.h;beginline=2;endline=20;md5=fc23a43455edf185307274a99730b6e4"
+
+SECTION = "devel"
+
+DEPENDS = "popt binutils"
+RDEPENDS_${PN} = "binutils-symlinks"
+RRECOMMENDS_${PN} = "kernel-vmlinux"
+
+FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*.so.* ${datadir}/${BPN}"
+FILES_${PN}-dev += "${libdir}/${BPN}/lib*.so ${libdir}/${BPN}/lib*.la"
+FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
+           file://opstart.patch \
+           file://oprofile-no-query-modules.patch \
+           file://oprofile-0.9.6-e500mc-support.patch \
+           file://oprofile-0.9.6-e500mc-support-2.patch \
+           file://oprofile-0.9.6-add-e500mc-support-in-op_events.patch"
+
+SRC_URI[md5sum] = "4e407093ac06200185d5a5e6437d7242"
+SRC_URI[sha256sum] = "3f0dd40a7749fc650d25d79d42ebbff8f3b6db310c36e7c3839696cc09077880"
+S = "${WORKDIR}/oprofile-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-kernel-support --without-x"
Signature · 1 line
1.7.9.7
#21 lore raw

Re: [PATCH 08/27] oprofile: add 0.9.6

Quoted 4 lines · Matthew McClintock

From: Zhenhua Luo <[email protected]>

oprofile-0.9.7 doesn't support e500mc, the patches of e500mc support
are only available for oprofile-0.9.6

it looks OK to me

Daiane

#22 lore raw

PATCH 9/27 set preferred version of oprofile to 0.9.6 for e500mc targets

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

---
 conf/machine/e500mc.inc |    1 +
 1 file changed, 1 insertion(+)
conf/machine/e500mc.inc +1 -0
index 505d805..9aa0b3e 100644
@@ -9,6 +9,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk"
 PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers"
 PREFERRED_VERSION_qemu = "1.0+fsl"
+PREFERRED_VERSION_oprofile = "0.9.6"
 
 KERNEL_IMAGETYPE ?= "uImage"
 # disable the images below for now
Signature · 1 line
1.7.9.7
#23 lore raw

Re: [PATCH 09/27] set preferred version of oprofile to 0.9.6 for e500mc targets

it looks OK to me.

Daiane

#24 lore raw

PATCH 10/27 lxc: remove dhcp from busybox template

In reply to Matthew McClintock

From: Stuart Yoder <[email protected]>

-the dhcp which is started by default in a container
causes our default examples various issues..including vlans not working right, and screwing up host network interfaces if networking isn't virtualized

-we do not know yet what the right upstream fix
is for this with more testing and characterization needed

---
 recipes-tools/lxc/busybox_remove_dhcp.patch |   12 ++++++++++++
 recipes-tools/lxc/lxc_0.8.0-rc1.bb          |    3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 recipes-tools/lxc/busybox_remove_dhcp.patch
recipes-tools/lxc/busybox_remove_dhcp.patch new file +12 -0
new file mode 100644
index 0000000..d28fda8
@@ -0,0 +1,12 @@
+diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
+index a94eaa3..29b87ce 100644
+--- a/templates/lxc-busybox.in
++++ b/templates/lxc-busybox.in
+@@ -80,7 +80,6 @@ EOF
+ #!/bin/sh
+ /bin/syslogd
+ /bin/mount -a
+-/bin/udhcpc
+ EOF
+ 
+     # executable
recipes-tools/lxc/lxc_0.8.0-rc1.bb +2 -1
index 51a34f4..e6ed2d6 100644
@@ -3,7 +3,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r1"
+PR = "r2"
 DEPENDS = "libxml2 libcap"
 RDEPENDS_${PN} = " \
 		rsync \
@@ -22,6 +22,7 @@ RDEPENDS_${PN} = " \
 SRC_URI = "http://lxc.sourceforge.net/download/lxc/${PN}-${PV}.tar.gz \
 	file://noldconfig.patch \
 	file://libmounts.patch \
+	file://busybox_remove_dhcp.patch \
 	"
 
 SRC_URI[md5sum] ="06ceecf4dbe1be988fc903ad8dd34d29"
Signature · 1 line
1.7.9.7
#25 lore raw

Re: [PATCH 10/27] lxc: remove dhcp from busybox template

It looks OK to me

Daiane

#26 lore raw

PATCH 11/27 lxc: remove hwaddr from vlan config

In reply to Matthew McClintock

From: Stuart Yoder <[email protected]>

-to get vlan working with the FSL SDK we need to
remove the hwaddr. This was found by trial and error. Upstream discussion is started as to when the hwaddr might be needed, but for now remove it

---
 recipes-tools/lxc/lxc_0.8.0-rc1.bb         |    3 ++-
 recipes-tools/lxc/remove_vlan_hwaddr.patch |   11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 recipes-tools/lxc/remove_vlan_hwaddr.patch
recipes-tools/lxc/lxc_0.8.0-rc1.bb +2 -1
index e6ed2d6..c8d90ae 100644
@@ -3,7 +3,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r2"
+PR = "r3"
 DEPENDS = "libxml2 libcap"
 RDEPENDS_${PN} = " \
 		rsync \
@@ -23,6 +23,7 @@ SRC_URI = "http://lxc.sourceforge.net/download/lxc/${PN}-${PV}.tar.gz \
 	file://noldconfig.patch \
 	file://libmounts.patch \
 	file://busybox_remove_dhcp.patch \
+	file://remove_vlan_hwaddr.patch \
 	"
 
 SRC_URI[md5sum] ="06ceecf4dbe1be988fc903ad8dd34d29"
recipes-tools/lxc/remove_vlan_hwaddr.patch new file +11 -0
new file mode 100644
index 0000000..d3883bd
@@ -0,0 +1,11 @@
+diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in
+index 4404439..231d618 100644
+--- a/doc/examples/lxc-vlan.conf.in
++++ b/doc/examples/lxc-vlan.conf.in
+@@ -4,6 +4,5 @@ lxc.network.type = vlan
+ lxc.network.vlan.id = 1234
+ lxc.network.flags = up
+ lxc.network.link = eth0
+-lxc.network.hwaddr = 4a:49:43:49:79:bd
+ lxc.network.ipv4 = 1.2.3.4/24
+ lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
Signature · 1 line
1.7.9.7
#27 lore raw

Re: [PATCH 11/27] lxc: remove hwaddr from vlan config

Quoted 6 lines · Matthew McClintock

From: Stuart Yoder <[email protected]>

-to get vlan working with the FSL SDK we need to
remove the hwaddr. This was found by trial and error. Upstream discussion is started as to when the hwaddr might be needed, but for now remove it

I´m OK with this explanation

And the patch looks OK to me

Daiane

#28 lore raw

PATCH 12/27 lxc: create the /var/lib/lxc directory

In reply to Matthew McClintock

From: Stuart Yoder <[email protected]>

-lxc requires this directory to be present

-this patch is a workaround for the issue, plan is to
submit a patch upstream to fix this and see what feedback we receive

---
 recipes-tools/lxc/lxc_0.8.0-rc1.bb |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-tools/lxc/lxc_0.8.0-rc1.bb +6 -1
index c8d90ae..64f36b3 100644
@@ -3,7 +3,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r3"
+PR = "r4"
 DEPENDS = "libxml2 libcap"
 RDEPENDS_${PN} = " \
 		rsync \
@@ -36,3 +36,8 @@ EXTRA_OECONF = "--disable-doc --disable-rpath"
 inherit autotools
 
 FILES_${PN}-dbg += "${libexecdir}/lxc/.debug"
+
+# create empty dir needed by lxc
+do_install_append() {
+	install -d ${D}${localstatedir}/lib/lxc
+}
Signature · 1 line
1.7.9.7
#29 lore raw

Re: [PATCH 12/27] lxc: create the /var/lib/lxc directory

Review

Quoted 7 lines · Matthew McClintock

From: Stuart Yoder <[email protected]>

(quoted diff) +0 -2
-lxc requires this directory to be present
 
-this patch is a workaround for the issue, plan is to
 submit a patch upstream to fix this and see what
 feedback we receive

I think it´s fine until fix it not up-streamed .

Daiane

Quoted 35 lines
---
 recipes-tools/lxc/lxc_0.8.0-rc1.bb |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-tools/lxc/lxc_0.8.0-rc1.bb +6 -2
index c8d90ae..64f36b3 100644
@@ -3,7 +3,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r3"
+PR = "r4"
 DEPENDS = "libxml2 libcap"
 RDEPENDS_${PN} = " \
                rsync \
@@ -36,3 +36,8 @@ EXTRA_OECONF = "--disable-doc --disable-rpath"
 inherit autotools
 
 FILES_${PN}-dbg += "${libexecdir}/lxc/.debug"
+
+# create empty dir needed by lxc
+do_install_append() {
+       install -d ${D}${localstatedir}/lib/lxc
+}
--

1.7.9.7

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#30 lore raw

PATCH 13/27 lmsensors-apps: add required runtime dependencies

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +3 -1
index 57a6f3e..62da814 100644
@@ -9,7 +9,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
 
-PR = "r1"
+PR = "r2"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2"
@@ -37,6 +37,8 @@ PACKAGES =+ "lmsensors-scripts"
 
 FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"
 RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+RDEPENDS_lmsensors-apps += "perl-module-strict perl-module-vars perl-module-warnings-register perl-module-warnings"
+RDEPENDS_lmsensors-scripts += "perl-module-fcntl perl-module-exporter perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant"
 
 FILES_lmsensors-sensors = "${bindir}/sensors ${sysconfdir}"
 FILES_lmsensors-sensors-dbg += "${bindir}/.debug/sensors"
Signature · 1 line
1.7.9.7
#31 lore raw

Re: [PATCH 13/27] lmsensors-apps: add required runtime dependencies

Quoted 21 lines · Matthew McClintock

From: Zhenhua Luo <[email protected]>

---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -1
index 57a6f3e..62da814 100644
@@ -9,7 +9,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
 
-PR = "r1"
+PR = "r2"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 41

Quoted 5 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +2 -0
@@ -37,6 +37,8 @@ PACKAGES =+ "lmsensors-scripts"
 
 FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"
 RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+RDEPENDS_lmsensors-apps += "perl-module-strict perl-module-vars perl-module-warnings-register perl-module-warnings"
+RDEPENDS_lmsensors-scripts += "perl-module-fcntl perl-module-exporter perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant"

You added runtime dependencies for lmsensors-scritps, but from subject only lmsensors-apps is changed

Daiane

#32 lore raw

Re: [PATCH 13/27] lmsensors-apps: add required runtime dependencies

Quoted 23 lines · Daiane Angolini
Quoted 22 lines · Matthew McClintock

From: Zhenhua Luo <[email protected]>

---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -1
index 57a6f3e..62da814 100644
@@ -9,7 +9,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
 
-PR = "r1"
+PR = "r2"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${PV}.tar.bz2"
@@ -37,6 +37,8 @@ PACKAGES =+ "lmsensors-scripts"
 
Quoted 6 lines

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 41

Quoted 4 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +2 -0
 FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon ${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"
 RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+RDEPENDS_lmsensors-apps += "perl-module-strict perl-module-vars perl-module-warnings-register perl-module-warnings"
+RDEPENDS_lmsensors-scripts += "perl-module-fcntl perl-module-exporter perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant"

You added runtime dependencies for lmsensors-scritps, but from subject only lmsensors-apps is changed

lmsensors-apps is all that's changed, it just not requires lmsensors-scripts? I'm not catching the issue here.

-M

Quoted 8 lines

Daiane
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#33 lore raw

Re: [PATCH 13/27] lmsensors-apps: add required runtime dependencies

In reply to Daiane Angolini
Quoted 30 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Daiane Angolini

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb LICENSE = "GPLv2 & LGPLv2.1" · line 9

Quoted 13 lines
---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +0 -0
index 57a6f3e..62da814 100644
@@ -9,7 +9,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \

Quoted 1 line

file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb LICENSE = "GPLv2 & LGPLv2.1"

Quoted 6 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -1
-PR = "r1"
+PR = "r2"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-

${PV}.tar.bz2"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 38

Quoted 3 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +0 -0
@@ -37,6 +37,8 @@ PACKAGES =+ "lmsensors-scripts"
 
 FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon

${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"

Quoted 8 lines

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 40

Quoted 2 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -0
 RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+RDEPENDS_lmsensors-apps += "perl-module-strict perl-module-vars perl-

module-warnings-register perl-module-warnings"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 41

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -0
+RDEPENDS_lmsensors-scripts += "perl-module-fcntl perl-module-exporter

perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant"
You added runtime dependencies for lmsensors-scritps, but from subject only lmsensors-apps is changed

[Luo Zhenhua-B19537] the prefix of the subject means the name of updated recipe, if the name of all impacted binary packages is required to be indicated in the subject, I can re-create a patch.

Best Regards,

Zhenhua

#34 lore raw

Re: [PATCH 13/27] lmsensors-apps: add required runtime dependencies

Quoted 32 lines · On Fri, Nov 30, 2012 at 1:57 AM, Luo Zhenhua-B19537 <[email protected]>…
Quoted 32 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Daiane Angolini

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb LICENSE = "GPLv2 & LGPLv2.1" · line 9

Quoted 13 lines
---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +0 -0
index 57a6f3e..62da814 100644
@@ -9,7 +9,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \

Quoted 1 line

file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb LICENSE = "GPLv2 & LGPLv2.1"

Quoted 6 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -1
-PR = "r1"
+PR = "r2"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-

${PV}.tar.bz2"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 38

Quoted 3 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +0 -0
@@ -37,6 +37,8 @@ PACKAGES =+ "lmsensors-scripts"
 
 FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon

${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"

Quoted 2 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -0
 RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+RDEPENDS_lmsensors-apps += "perl-module-strict perl-module-vars perl-
Quoted 7 lines
Quoted 6 lines

module-warnings-register perl-module-warnings"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 41

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -0
+RDEPENDS_lmsensors-scripts += "perl-module-fcntl perl-module-exporter

perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant"
You added runtime dependencies for lmsensors-scritps, but from subject only lmsensors-apps is changed

[Luo Zhenhua-B19537] the prefix of the subject means the name of updated recipe, if the name of all impacted binary packages is required to be indicated in the subject, I can re-create a patch.

Maybe mention the impacted binary packages in the commit log. But it´s up to you.

Daiane

Quoted 6 lines

Best Regards,

Zhenhua

#35 lore raw

Re: [PATCH 13/27] lmsensors-apps: add required runtime dependencies

In reply to Luo Zhenhua-B19537
Quoted 33 lines · On Fri, Nov 30, 2012 at 1:57 AM, Luo Zhenhua-B19537 <[email protected]>wrote:
Quoted 33 lines

-----Original Message-----
From: [email protected] [mailto:meta-freescale- [email protected]] On Behalf Of Daiane Angolini

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb LICENSE = "GPLv2 & LGPLv2.1" · line 9

Quoted 13 lines
---
 .../lm_sensors/lmsensors-apps_3.3.2.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +0 -0
index 57a6f3e..62da814 100644
@@ -9,7 +9,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \

Quoted 1 line

file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb LICENSE = "GPLv2 & LGPLv2.1"

Quoted 6 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -1
-PR = "r1"
+PR = "r2"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-

${PV}.tar.bz2"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 38

Quoted 3 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +0 -0
@@ -37,6 +37,8 @@ PACKAGES =+ "lmsensors-scripts"
 
 FILES_lmsensors-scripts = "${bindir}/*.pl ${bindir}/ddcmon

${sbindir}/fancontrol* ${sbindir}/pwmconfig ${sbindir}/sensors-detect"

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 40

Quoted 2 lines
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -0
 RDEPENDS_lmsensors-scripts += "lmsensors-sensors perl bash"
+RDEPENDS_lmsensors-apps += "perl-module-strict perl-module-vars perl-

module-warnings-register perl-module-warnings"

Quoted 9 lines
Quoted 5 lines

recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb PACKAGES =+ "lmsensors-scripts" · line 41

Quoted 1 line
recipes-extended/lm_sensors/lmsensors-apps_3.3.2.bb +1 -0
+RDEPENDS_lmsensors-scripts += "perl-module-fcntl perl-module-exporter

perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant"
You added runtime dependencies for lmsensors-scritps, but from subject only lmsensors-apps is changed

[Luo Zhenhua-B19537] the prefix of the subject means the name of updated recipe, if the name of all impacted binary packages is required to be indicated in the subject, I can re-create a patch.

In the shortlog (the subject) you may include it when it is easy to express it but when it is difficult to come with a short description that describes it properly you can do it in long commitlog

From the patch, I'd use:

--3<--
lmsensors-apps: Add required rdepends of perl modules to lmsensors-{apps,scripts}

* lmsensors-apps: Add perl-module-strict perl-module-vars
perl-module-warnings-register
perl-module-warnings
* lmsensors-scripts: perl-module-fcntl perl-module-exporter
perl-module-xsloader
perl-module-exporter-heavy perl-module-file-basename perl-module-constant -- 3<--

But it is up to you. The point in describe it is when in future someone wants to find who or why a change has been done. The more descriptive the commit log is the easier is to find the need information in future.

Regards,

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#36 lore raw

Re: [PATCH 13/27] lmsensors-apps: add required runtime dependencies

Quoted 8 lines · Otavio Salvador

lmsensors-apps: Add required rdepends of perl modules to lmsensors-{apps,scripts}

* lmsensors-apps: Add perl-module-strict perl-module-vars
perl-module-warnings-register perl-module-warnings
* lmsensors-scripts: perl-module-fcntl perl-module-exporter
perl-module-xsloader perl-module-exporter-heavy perl-module-file-basename perl-module-constant

Updated commit message.

-M

#37 lore raw

PATCH 14/27 lxc_0.8.0-rc1.bb: point lxc at kernel source

In reply to Matthew McClintock

Fixes:

| powerpc-fsl-linux-gcc: error: default/arch/powerpc/include/asm/unistd.h: No such file or directory
| powerpc-fsl-linux-gcc: fatal error: no input files
| compilation terminated.
| attach.c:45:19: fatal error: setns.h: No such file or directory
| compilation terminated.
| make[3]: [setns.h] Error 1 (ignored)
| powerpc-fsl-linux-gcc -E --sysroot=/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/sysroots/p4080ds  -m32 -mhard-float  -mcpu=e500mc  -dM default/arch/powerpc/include/asm/unistd.h |grep setns > setns.h
| make[3]: *** [liblxc_so-attach.o] Error 1
| make[3]: *** Waiting for unfinished jobs....
| powerpc-fsl-linux-gcc: error: default/arch/powerpc/include/asm/unistd.h: No such file or directory
| powerpc-fsl-linux-gcc: fatal error: no input files
| compilation terminated.
| make[3]: [setns.h] Error 1 (ignored)
| make[3]: Leaving directory `/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/lxc-0.8.0-rc1-r4/lxc-0.8.0-rc1/src/lxc'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/lxc-0.8.0-rc1-r4/lxc-0.8.0-rc1/src'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/opt/yocto/cache-build/p4080ds/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/lxc-0.8.0-rc1-r4/lxc-0.8.0-rc1/src'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
---
 recipes-tools/lxc/lxc_0.8.0-rc1.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-tools/lxc/lxc_0.8.0-rc1.bb +3 -3
index 64f36b3..accc16f 100644
@@ -3,8 +3,8 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r4"
-DEPENDS = "libxml2 libcap"
+PR = "r5"
+DEPENDS = "libxml2 libcap virtual/kernel"
 RDEPENDS_${PN} = " \
 		rsync \
 		gzip \
@@ -31,7 +31,7 @@ SRC_URI[sha256sum] = "32bf83902c07387646c55de440d6d12cf61bd54c97417109c2d1ac47d1
 
 S = "${WORKDIR}/${PN}-${PV}"
 
-EXTRA_OECONF = "--disable-doc --disable-rpath"
+EXTRA_OECONF = "--disable-doc --disable-rpath --with-linuxdir=${STAGING_KERNEL_DIR}"
 
 inherit autotools
 
Signature · 1 line
1.7.9.7
#38 lore raw

Re: [PATCH 14/27] lxc_0.8.0-rc1.bb: point lxc at kernel source

it looks OK to me

Daiane

#39 lore raw

PATCH 15/27 lxc_0.8.0-rc1.bb: fix parallel makefile issue

In reply to Matthew McClintock
---
 recipes-tools/lxc/files/fix_setns_deps.patch |   12 ++++++++++++
 recipes-tools/lxc/lxc_0.8.0-rc1.bb           |    3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 recipes-tools/lxc/files/fix_setns_deps.patch
recipes-tools/lxc/files/fix_setns_deps.patch new file +12 -0
new file mode 100644
index 0000000..7ec875c
@@ -0,0 +1,12 @@
+Index: lxc-0.8.0-rc1/src/lxc/Makefile.am
+===================================================================
+--- lxc-0.8.0-rc1.orig/src/lxc/Makefile.am
++++ lxc-0.8.0-rc1/src/lxc/Makefile.am
+@@ -133,6 +133,7 @@ uninstall-local:
+ 	$(RM) $(DESTDIR)$(libdir)/liblxc.so*
+ 
+ namespace.c: setns.h
++attach.c: setns.h
+ 
+ setns.h:
+ 	-$(CC) $(CPPFLAGS) -M -MT$@ $(LINUX_DIR)/arch/$(LINUX_SRCARCH)/include/asm/unistd.h >setns.P
recipes-tools/lxc/lxc_0.8.0-rc1.bb +2 -1
index accc16f..5100937 100644
@@ -3,7 +3,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r5"
+PR = "r6"
 DEPENDS = "libxml2 libcap virtual/kernel"
 RDEPENDS_${PN} = " \
 		rsync \
@@ -24,6 +24,7 @@ SRC_URI = "http://lxc.sourceforge.net/download/lxc/${PN}-${PV}.tar.gz \
 	file://libmounts.patch \
 	file://busybox_remove_dhcp.patch \
 	file://remove_vlan_hwaddr.patch \
+	file://fix_setns_deps.patch \
 	"
 
 SRC_URI[md5sum] ="06ceecf4dbe1be988fc903ad8dd34d29"
Signature · 1 line
1.7.9.7
#41 lore raw

PATCH 16/27 qemu_1.0.bb: lock down SHA

In reply to Matthew McClintock
---
 recipes-devtools/qemu/qemu_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/qemu/qemu_1.0.bb +1 -1
index 7a6e545..91a12dc 100644
@@ -9,7 +9,7 @@ PV = "1.0+fsl"
 DEPENDS += "dtc"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
-SRCREV = "${AUTOREV}"
+SRCREV = "deccbc3b81951f826df805f10c0a0318a80af011"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.9.7
#42 lore raw

Re: [PATCH 16/27] qemu_1.0.bb: lock down SHA

Quoted 10 lines · Matthew McClintock
---
 recipes-devtools/qemu/qemu_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/qemu/qemu_1.0.bb +0 -0
index 7a6e545..91a12dc 100644

recipes-devtools/qemu/qemu_1.0.bb PV = "1.0+fsl" · line 12

Quoted 5 lines
recipes-devtools/qemu/qemu_1.0.bb +1 -1
@@ -9,7 +9,7 @@ PV = "1.0+fsl"
 DEPENDS += "dtc"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
-SRCREV = "${AUTOREV}"
+SRCREV = "deccbc3b81951f826df805f10c0a0318a80af011"

You could include a commit log to describe which version is this SHA. Is this SHA some release?

For anything else, this patch looks OK to me

Daiane

#43 lore raw

Re: [PATCH 16/27] qemu_1.0.bb: lock down SHA

Quoted 13 lines · Daiane Angolini
Quoted 12 lines · Matthew McClintock
---
 recipes-devtools/qemu/qemu_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/qemu/qemu_1.0.bb +0 -0
index 7a6e545..91a12dc 100644
@@ -9,7 +9,7 @@ PV = "1.0+fsl"
 DEPENDS += "dtc"
 
Quoted 5 lines

recipes-devtools/qemu/qemu_1.0.bb PV = "1.0+fsl" · line 12

Quoted 3 lines
recipes-devtools/qemu/qemu_1.0.bb +1 -1
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
-SRCREV = "${AUTOREV}"
+SRCREV = "deccbc3b81951f826df805f10c0a0318a80af011"

You could include a commit log to describe which version is this SHA. Is this SHA some release?

This is from our own forked qemu on git.freescale.com. In fact this looks wrong-ish

deccbc3b81951f826df805f10c0a0318a80af011 is not the tagged release for fsl-sdk-v1.3 which is 7feabd47a814214dc4bebfd97d0eaf30dc50a68f

Might have a small issue here. Adding maintainer of repo.

Anyways, what else would you like to see here? It's just point at a specific SHA of our forked qemu.

-M

Quoted 8 lines

For anything else, this patch looks OK to me

Daiane
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#44 lore raw

Re: [PATCH 16/27] qemu_1.0.bb: lock down SHA

Quoted 32 lines

-----Original Message-----
From: McClintock Matthew-B29882
Sent: Thursday, November 29, 2012 5:33 PM
To: Daiane Angolini; Yoder Stuart-B08248
Cc: [email protected]
Subject: Re: [meta-freescale] [PATCH 16/27] qemu_1.0.bb: lock down SHA

Quoted 13 lines · Daiane Angolini
Quoted 12 lines · Matthew McClintock
---
 recipes-devtools/qemu/qemu_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/qemu/qemu_1.0.bb +0 -0
index 7a6e545..91a12dc 100644
@@ -9,7 +9,7 @@ PV = "1.0+fsl"
 DEPENDS += "dtc"
 
Quoted 5 lines

recipes-devtools/qemu/qemu_1.0.bb PV = "1.0+fsl" · line 12

Quoted 3 lines
recipes-devtools/qemu/qemu_1.0.bb +1 -1
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
-SRCREV = "${AUTOREV}"
+SRCREV = "deccbc3b81951f826df805f10c0a0318a80af011"

You could include a commit log to describe which version is this SHA. Is this SHA some release?

This is from our own forked qemu on git.freescale.com. In fact this looks wrong-ish

Quoted 7 lines

deccbc3b81951f826df805f10c0a0318a80af011 is not the tagged release for fsl-sdk-v1.3 which is 7feabd47a814214dc4bebfd97d0eaf30dc50a68f

Might have a small issue here. Adding maintainer of repo.

Anyways, what else would you like to see here? It's just point at a specific SHA of our forked qemu.

7feabd47a814214dc4bebfd97d0eaf30dc50a68f is the correct SHA

Stuart

#45 lore raw

Re: [PATCH 16/27] qemu_1.0.bb: lock down SHA

In reply to McClintock Matthew-B29882
Quoted 23 lines · On Thu, Nov 29, 2012 at 9:32 PM, McClintock Matthew-B29882…
Quoted 13 lines · Daiane Angolini
Quoted 12 lines · Matthew McClintock
---
 recipes-devtools/qemu/qemu_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/qemu/qemu_1.0.bb +0 -0
index 7a6e545..91a12dc 100644
@@ -9,7 +9,7 @@ PV = "1.0+fsl"
 DEPENDS += "dtc"
 
Quoted 5 lines

recipes-devtools/qemu/qemu_1.0.bb PV = "1.0+fsl" · line 12

Quoted 3 lines
recipes-devtools/qemu/qemu_1.0.bb +1 -1
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
-SRCREV = "${AUTOREV}"
+SRCREV = "deccbc3b81951f826df805f10c0a0318a80af011"

You could include a commit log to describe which version is this SHA. Is this SHA some release?

This is from our own forked qemu on git.freescale.com. In fact this looks wrong-ish

Quoted 7 lines

deccbc3b81951f826df805f10c0a0318a80af011 is not the tagged release for fsl-sdk-v1.3 which is 7feabd47a814214dc4bebfd97d0eaf30dc50a68f

Might have a small issue here. Adding maintainer of repo.

Anyways, what else would you like to see here? It's just point at a specific SHA of our forked qemu.

If it does not represent a release, or a git known state, I think there is nothing else to add.

Or include only some information on how tested it was.

Daiane

Quoted 11 lines

-M

Quoted 8 lines

For anything else, this patch looks OK to me

Daiane
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#46 lore raw

Re: [PATCH 16/27] qemu_1.0.bb: lock down SHA

Quoted 31 lines · Daiane Angolini
Quoted 1 line · On Thu, Nov 29, 2012 at 9:32 PM, McClintock Matthew-B29882…

On Thu, Nov 29, 2012 at 5:00 PM, Daiane Angolini <[email protected]>

Quoted 1 line · wrote:
Quoted 1 line

On Thu, Nov 29, 2012 at 5:15 PM, Matthew McClintock <[email protected]>

Quoted 6 lines · wrote:
Quoted 6 lines

Review

Quoted 6 lines
---
 recipes-devtools/qemu/qemu_1.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

qemu_1.0.bb

Quoted 18 lines
Quoted 11 lines

recipes-devtools/qemu/qemu_1.0.bb PV = "1.0+fsl" · line 12

Quoted 9 lines

index 7a6e545..91a12dc 100644

recipes-devtools/qemu/qemu_1.0.bb +1 -1
@@ -9,7 +9,7 @@ PV = "1.0+fsl"
 DEPENDS += "dtc"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
-SRCREV = "${AUTOREV}"
+SRCREV = "deccbc3b81951f826df805f10c0a0318a80af011"

You could include a commit log to describe which version is this SHA. Is this SHA some release?

This is from our own forked qemu on git.freescale.com. In fact this looks wrong-ish

deccbc3b81951f826df805f10c0a0318a80af011 is not the tagged release for fsl-sdk-v1.3 which is 7feabd47a814214dc4bebfd97d0eaf30dc50a68f

Quoted 9 lines
Quoted 4 lines

Might have a small issue here. Adding maintainer of repo.

Anyways, what else would you like to see here? It's just point at a specific SHA of our forked qemu.

If it does not represent a release, or a git known state, I think there is nothing else to add.

Or include only some information on how tested it was.

As it seems to be a revision for 1.3.1 SDK this should be expressed in the commitlog so people know what has been change there.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#47 lore raw

PATCH 17/27 set preferred version of oprofile to 0.9.6 for e5500/e5500-64b targets

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

the patches of e5500/e5500-64b support are only available for oprofile-0.9.6.

---
 conf/machine/e5500-64b.inc |    1 +
 conf/machine/e5500.inc     |    1 +
 2 files changed, 2 insertions(+)
conf/machine/e5500-64b.inc +1 -0
index 650585f..b3ed424 100644
@@ -10,6 +10,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk"
 PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers"
 PREFERRED_VERSION_qemu = "1.0+fsl"
+PREFERRED_VERSION_oprofile = "0.9.6"
 
 KERNEL_IMAGETYPE ?= "uImage"
 # disable the images below for now
conf/machine/e5500.inc +1 -0
index 1a1bb20..4e3e8dc 100644
@@ -9,6 +9,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk"
 PREFERRED_VERSION_virtual/kernel ?= "3.0.34"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers"
 PREFERRED_VERSION_qemu = "1.0+fsl"
+PREFERRED_VERSION_oprofile = "0.9.6"
 
 KERNEL_IMAGETYPE ?= "uImage"
 # disable the images below for now
Signature · 1 line
1.7.9.7
#48 lore raw

Re: [PATCH 17/27] set preferred version of oprofile to 0.9.6 for e5500/e5500-64b targets

Quoted 7 lines · Matthew McClintock

From: Zhenhua Luo <[email protected]>

the patches of e5500/e5500-64b support are only available for oprofile-0.9.6.

---
 conf/machine/e5500-64b.inc |    1 +

It looks OK to me

Daiane

#49 lore raw

PATCH 18/27 qemu_1.0.bb: lock down SHA for release

In reply to Matthew McClintock
---
 recipes-devtools/qemu/qemu_1.0.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-devtools/qemu/qemu_1.0.bb +2 -1
index 91a12dc..ff4afde 100644
@@ -5,11 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
 
 # This means v1.0 with FSL specific patches applied
 PV = "1.0+fsl"
+PR = "r2"
 
 DEPENDS += "dtc"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git"
-SRCREV = "deccbc3b81951f826df805f10c0a0318a80af011"
+SRCREV = "7feabd47a814214dc4bebfd97d0eaf30dc50a68f"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.9.7
#50 lore raw

PATCH 19/27 rcw_git.bb: lock down SHA for release

In reply to Matthew McClintock
---
 recipes-tools/rcw/rcw_git.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-tools/rcw/rcw_git.bb +2 -2
index 7451a9e..efccf4c 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Reset Control Words (RCW)"
 SECTION = "rcw"
 LICENSE = "BSD"
-PR = "r5"
+PR = "r6"
 
 LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e"
 
@@ -11,7 +11,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit deploy
 
-SRCREV = "a84434258ac4a1f0c7cb6e9ea709dc8c3267f788"
+SRCREV = "e9529eac512f7dc2ada3c6ff3ef1b934e5afae57"
 SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git"
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.9.7
#51 lore raw

Re: [PATCH 19/27] rcw_git.bb: lock down SHA for release

it looks Ok to me
Daiane

#52 lore raw

PATCH 20/27 u-boot_git.bb: lock down SHA for release

In reply to Matthew McClintock

Also update p5040 u-boot builds and add cst-native dep which is required by some machines

---
 conf/machine/p5040ds-64b.conf       |    2 +-
 conf/machine/p5040ds.conf           |    2 +-
 recipes-kernel/u-boot/u-boot_git.bb |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
conf/machine/p5040ds-64b.conf +1 -1
index 9e6b770..07ed3b2 100644
@@ -3,7 +3,7 @@
 
 require e5500-64b.inc
 
-UBOOT_MACHINES ?= "P5040DS  P5040DS_NAND P5040DS_SECURE_BOOT"
+UBOOT_MACHINES ?= "P5040DS  P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig"
conf/machine/p5040ds.conf +1 -1
index 7c982fd..bda7fac 100644
@@ -3,7 +3,7 @@
 
 require e5500.inc
 
-UBOOT_MACHINES ?= "P5040DS P5040DS_NAND P5040DS_SECURE_BOOT"
+UBOOT_MACHINES ?= "P5040DS P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
 KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
recipes-kernel/u-boot/u-boot_git.bb +2 -2
index e0b99a6..18842d8 100644
@@ -5,13 +5,13 @@ PROVIDES = "virtual/bootloader"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 
-PR = "r28"
+PR = "r29"
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc libgcc"
 
 inherit deploy
 
-SRCREV = "6d1aef1c02ba9472215234696faa8ce8745a40a9"
+SRCREV = "c6d9d502924ade8877f53eecdd5cf37e05d6d6b4"
 SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git"
 
 SRCREV_e6500 = "59852d03867108217fe88e3bfc3e1e9cedfe63c5"
Signature · 1 line
1.7.9.7
#53 lore raw

Re: [PATCH 20/27] u-boot_git.bb: lock down SHA for release

it looks OK to me
Daiane

#54 lore raw

PATCH 21/27 hv-cfg: lock down SHA for release

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/hv-cfg/hv-cfg_git.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-tools/hv-cfg/hv-cfg_git.bb +2 -2
index e137575..3126138 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Hypervisor Config"
 SECTION = "hv-cfg"
 LICENSE = "BSD"
-PR = "r5"
+PR = "r6"
 
 LIC_FILES_CHKSUM = " \
 	file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
@@ -18,7 +18,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit deploy
 
-SRCREV = "102ab848d94f3c04f364ed273d0e00b21b0266f4"
+SRCREV = "deb55b9564ef8fb9e1fda1112233f11ae2a12d4a"
 SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git"
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.9.7
#56 lore raw

PATCH 22/27 linux-qoriq-sdk: lock down SHA for release

In reply to Matthew McClintock
---
 recipes-kernel/linux/linux-qoriq-sdk.inc |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
recipes-kernel/linux/linux-qoriq-sdk.inc +3 -5
index 6cd9cc4..8489ca2 100644
@@ -1,11 +1,9 @@
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+PV = "3.0.48"
+PR = "r9"
 
-
-PV = "3.0.34"
-PR = "r8"
-
-SRCREV = "058c67be272af9ab95b88c941f31fb3eda05a4d3"
+SRCREV = "dd5a5aac3e15b16a4bccbab29c736bda0e7d55e7"
 SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
            file://0001-compiler.h-Undef-before-redefining-__attribute_const.patch \
 	   file://0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch \
Signature · 1 line
1.7.9.7
#57 lore raw

Re: [PATCH 22/27] linux-qoriq-sdk: lock down SHA for release

Quoted 10 lines · Matthew McClintock
---
 recipes-kernel/linux/linux-qoriq-sdk.inc |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
recipes-kernel/linux/linux-qoriq-sdk.inc +0 -0
index 6cd9cc4..8489ca2 100644

recipes-kernel/linux/linux-qoriq-sdk.inc line 7

Quoted 9 lines
recipes-kernel/linux/linux-qoriq-sdk.inc +2 -4
@@ -1,11 +1,9 @@
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+PV = "3.0.48"
+PR = "r9"
 
-
-PV = "3.0.34"
-PR = "r8"
-

I see 2 blank lines being removed.
Is it my email reader being crazy or is it the intention?

For anything else, this patch is OK to me.

Daiane

Quoted 13 lines
recipes-kernel/linux/linux-qoriq-sdk.inc +1 -2
-SRCREV = "058c67be272af9ab95b88c941f31fb3eda05a4d3"
+SRCREV = "dd5a5aac3e15b16a4bccbab29c736bda0e7d55e7"
 SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git \
            file://0001-compiler.h-Undef-before-redefining-__attribute_const.patch \
           file://0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch \
--

1.7.9.7

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#58 lore raw

Re: [PATCH 22/27] linux-qoriq-sdk: lock down SHA for release

Quoted 16 lines · Daiane Angolini
Quoted 15 lines · Matthew McClintock
---
 recipes-kernel/linux/linux-qoriq-sdk.inc |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
recipes-kernel/linux/linux-qoriq-sdk.inc +2 -0
index 6cd9cc4..8489ca2 100644
@@ -1,11 +1,9 @@
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+PV = "3.0.48"
+PR = "r9"
 
Quoted 8 lines

recipes-kernel/linux/linux-qoriq-sdk.inc line 7

Quoted 4 lines
recipes-kernel/linux/linux-qoriq-sdk.inc +0 -4
-
-PV = "3.0.34"
-PR = "r8"
-

I see 2 blank lines being removed.
Is it my email reader being crazy or is it the intention?

For anything else, this patch is OK to me.

It looks like there was excessive spacing.

-M

#59 lore raw

PATCH 23/27 flib: add recipe to build external git tree

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

---
 recipes-tools/flib/flib_git.bb |   13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-tools/flib/flib_git.bb
recipes-tools/flib/flib_git.bb new file +13 -0
new file mode 100644
index 0000000..78210dd
@@ -0,0 +1,13 @@
+DESCRIPTION = "Foundation Library"
+SECTION = "flib"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/flib.git"
+SRCREV = "110eef5dab66064580d6d8627421ea5a19decb80"
+
+S = "${WORKDIR}/git"
+
+do_install(){
+    oe_runmake install DESTDIR=${D}
+}
Signature · 1 line
1.7.9.7
#61 lore raw

PATCH 24/27 update README

In reply to Matthew McClintock
---
 README |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
README +32 -0
index 31ccba0..645afbb 100644
@@ -2,3 +2,35 @@ meta-fsl-ppc
 ==========
 
 This is the location for Freescale PowerPC maintained BSP's
+
+This layer depends on:
+URI: git://git.openembedded.org/openembedded-core
+branch: master
+revision: HEAD
+
+It's testing to be working against YP 1.1 (edison) onwards after
+checking out the appropriate branch
+
+Contributing
+------------
+
+To contribute to this layer you should the patches for review to the
+mailing list.
+
+Mailing list:
+
+    https://lists.yoctoproject.org/listinfo/meta-freescale
+
+Source code:
+
+    git://git.yoctoproject.org/meta-fsl-ppc
+    http://git.yoctoproject.org/git/meta-fsl-ppc
+
+When sending patches, please use something like:
+
+git send-email --to [email protected] --subject-prefix='meta-fsl-ppc][PATCH'
+
+optionally include a branch if the patch applies to multiple branches,
+otherwise master is assumed
+
+git send-email --to [email protected] --subject-prefix='meta-fsl-ppc][PATCH][denzil][danny][master'
Signature · 1 line
1.7.9.7
#62 lore raw

Re: [PATCH 24/27] update README

Quoted 2 lines · Matthew McClintock

---

I would only say to concatenate both README patches into only one. But it´s completely aesthetic.

Daiane

Quoted 51 lines
 README |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
README +32 -1
index 31ccba0..645afbb 100644
@@ -2,3 +2,35 @@ meta-fsl-ppc
 ==========
 
 This is the location for Freescale PowerPC maintained BSP's
+
+This layer depends on:
+URI: git://git.openembedded.org/openembedded-core
+branch: master
+revision: HEAD
+
+It's testing to be working against YP 1.1 (edison) onwards after
+checking out the appropriate branch
+
+Contributing
+------------
+
+To contribute to this layer you should the patches for review to the
+mailing list.
+
+Mailing list:
+
+    https://lists.yoctoproject.org/listinfo/meta-freescale
+
+Source code:
+
+    git://git.yoctoproject.org/meta-fsl-ppc
+    http://git.yoctoproject.org/git/meta-fsl-ppc
+
+When sending patches, please use something like:
+
+git send-email --to [email protected] --subject-prefix='meta-fsl-ppc][PATCH'
+
+optionally include a branch if the patch applies to multiple branches,
+otherwise master is assumed
+
+git send-email --to [email protected] --subject-prefix='meta-fsl-ppc][PATCH][denzil][danny][master'
--

1.7.9.7

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#63 lore raw

PATCH 25/27 libxml: update the version number to 2.9.0 to match the upgrade in poky

In reply to Matthew McClintock

From: Zhenhua Luo <[email protected]>

upgrade the version to 2.9.0 to fix following version mismatch issue:
ERROR: No recipes available for:
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/p1022ds/build/yocto/meta-fsl-ppc/recipes-append/libxml/libxml2_2.8.0.bbappend

[YOCTO #3476]

---
 recipes-append/libxml/libxml2_2.8.0.bbappend |    3 ---
 recipes-append/libxml/libxml2_2.9.0.bbappend |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)
 delete mode 100644 recipes-append/libxml/libxml2_2.8.0.bbappend
 create mode 100644 recipes-append/libxml/libxml2_2.9.0.bbappend
recipes-append/libxml/libxml2_2.8.0.bbappend deleted +0 -3
deleted file mode 100644
index 13c1fd7..0000000
@@ -1,3 +0,0 @@
-EXTRA_OECONF_fsl += "--with-fexceptions"
-
-PR_fsl .= "+${DISTRO}.0"
recipes-append/libxml/libxml2_2.9.0.bbappend new file +3 -0
new file mode 100644
index 0000000..13c1fd7
@@ -0,0 +1,3 @@
+EXTRA_OECONF_fsl += "--with-fexceptions"
+
+PR_fsl .= "+${DISTRO}.0"
Signature · 1 line
1.7.9.7
#64 lore raw

Re: [PATCH 25/27] libxml: update the version number to 2.9.0 to match the upgrade in poky

it looks OK to me
Daiane

#65 lore raw

PATCH 26/27 README: add message about git.freescale.com vs. git.yp.org

In reply to Matthew McClintock
---
 README |    9 +++++++++
 1 file changed, 9 insertions(+)
README +9 -0
index 645afbb..1c87788 100644
@@ -34,3 +34,12 @@ optionally include a branch if the patch applies to multiple branches,
 otherwise master is assumed
 
 git send-email --to [email protected] --subject-prefix='meta-fsl-ppc][PATCH][denzil][danny][master'
+
+git.yoctoproject.org vs. git.freescale.com:
+-------------------------------------------
+
+git.yoctoproject.org hosts the official upstream work of Freescale's OE/YP repos,
+for official SDK releases at times we need to do last minute fixes or include things
+not supported upstream so we have a different repo on git.freescale.com for the
+official release. git.freescale.com should be based off repos from git.yoctoproject.org
+
Signature · 1 line
1.7.9.7
#67 lore raw

PATCH 27/27 linux-qoriq-sdk: move patches to default search path

In reply to Matthew McClintock
---
 ...Undef-before-redefining-__attribute_const.patch |   28 -------------
 ...-build-dependencies-for-c-files-requiring.patch |   44 --------------------
 ...Undef-before-redefining-__attribute_const.patch |   28 +++++++++++++
 ...-build-dependencies-for-c-files-requiring.patch |   44 ++++++++++++++++++++
 4 files changed, 72 insertions(+), 72 deletions(-)
 delete mode 100644 recipes-kernel/linux/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 delete mode 100644 recipes-kernel/linux/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch
 create mode 100644 recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 create mode 100644 recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch
recipes-kernel/linux/0001-compiler.h-Undef-before-redefining-__attribute_const.patch deleted +0 -28
deleted file mode 100644
index 597fd3b..0000000
@@ -1,28 +0,0 @@
-From 6f92ab6de9d8daeb575949bbbcbc7bcdcebc60af Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem at gmail.com>
-Date: Thu, 5 Jan 2012 11:42:35 -0800
-Subject: [PATCH] compiler.h: Undef before redefining __attribute_const__
-
-This is required to avoid warnings like
-util/include/linux/compiler.h:8:0: error: "__attribute_const__" redefined [-Werror]
-
-Signed-off-by: Khem Raj <raj.khem at gmail.com>
----
- tools/perf/util/include/linux/compiler.h |    4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
---- a/tools/perf/util/include/linux/compiler.h
-+++ b/tools/perf/util/include/linux/compiler.h
-@@ -4,9 +4,11 @@
- #ifndef __always_inline
- #define __always_inline	inline
- #endif
-+#undef __user
- #define __user
-+#undef __attribute_const__
- #define __attribute_const__
--
-+#undef __used
- #define __used		__attribute__((__unused__))
- 
- #endif
recipes-kernel/linux/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch deleted +0 -44

44 lines not on this page · raw message

recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch new file +28 -0
new file mode 100644
index 0000000..597fd3b
@@ -0,0 +1,28 @@
+From 6f92ab6de9d8daeb575949bbbcbc7bcdcebc60af Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem at gmail.com>
+Date: Thu, 5 Jan 2012 11:42:35 -0800
+Subject: [PATCH] compiler.h: Undef before redefining __attribute_const__
+
+This is required to avoid warnings like
+util/include/linux/compiler.h:8:0: error: "__attribute_const__" redefined [-Werror]
+
+Signed-off-by: Khem Raj <raj.khem at gmail.com>
+---
+ tools/perf/util/include/linux/compiler.h |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+--- a/tools/perf/util/include/linux/compiler.h
++++ b/tools/perf/util/include/linux/compiler.h
+@@ -4,9 +4,11 @@
+ #ifndef __always_inline
+ #define __always_inline	inline
+ #endif
++#undef __user
+ #define __user
++#undef __attribute_const__
+ #define __attribute_const__
+-
++#undef __used
+ #define __used		__attribute__((__unused__))
+ 
+ #endif
recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
1.7.9.7