Skip to contentSkip to conversation

recipes: fix host contamination warnings

PATCH Superseded Denys Dmytriyenko 1 participant 4 messages Apr 20, 2018 Broadcom iproc Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 recipes: fix host contamination warnings

---
 recipes-bsp/cppi-lld/cppi-lld_git.bb        | 3 ++-
 recipes-bsp/pa-lld/pa-lld_git.bb            | 3 ++-
 recipes-bsp/pktlib/pktlib_git.bb            | 1 +
 recipes-bsp/qmss-lld/qmss-lld_git.bb        | 2 +-
 recipes-bsp/rm-lld/rm-lld_git.bb            | 1 +
 recipes-ti/ipc/ipc-transport-qmss_git.bb    | 1 +
 recipes-ti/multiprocmgr/multiprocmgr_git.bb | 1 +
 7 files changed, 9 insertions(+), 3 deletions(-)
recipes-bsp/cppi-lld/cppi-lld_git.bb +2 -1
index edbc35d..6ac72cf 100644
@@ -16,7 +16,8 @@ do_compile () {
 }
 
 do_install () {
-	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
 #   Set the generic device library symbolic link to default k2h
     cd ${D}${libdir}
recipes-bsp/pa-lld/pa-lld_git.bb +2 -1
index f6de5b1..f636ce4 100644
@@ -15,7 +15,8 @@ do_compile () {
 }
 
 do_install () {
-	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
 #   Set the generic device library symbolic link
     ln -sf ${LIBPA}.so.1.0.0 ${D}${libdir}/libpa_device.so.1
recipes-bsp/pktlib/pktlib_git.bb +1 -0
index dd66bd9..b15b61b 100644
@@ -15,4 +15,5 @@ do_compile () {
 
 do_install () {
 	oe_runmake install
+	chown -R root:root ${D}
 }
recipes-bsp/qmss-lld/qmss-lld_git.bb +1 -1
index 813929e..a3c1a3b 100644
@@ -13,11 +13,11 @@ do_compile () {
 	do
 		make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}  DEVICE="${device}"
 	done
-
 }
 
 do_install () {
     make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
     # Set the generic device library symbolic link to default k2h
     cd ${D}${libdir}
recipes-bsp/rm-lld/rm-lld_git.bb +1 -0
index 659e620..ae79a34 100644
@@ -27,4 +27,5 @@ do_install () {
     install -d ${D}${libdir}
     install -d ${D}${bindir}
     make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir}
+    chown -R root:root ${D}
 }
recipes-ti/ipc/ipc-transport-qmss_git.bb +1 -0
index 09acbf0..4c9aade 100644
@@ -13,4 +13,5 @@ do_compile () {
 do_install () {
 	oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
 		INSTALL_LIB_BASE_DIR=${D}${libdir}
+	chown -R root:root ${D}
 }
recipes-ti/multiprocmgr/multiprocmgr_git.bb +1 -0
index 1ec2241..b37c332 100644
@@ -42,4 +42,5 @@ do_install() {
 
 	install -d ${D}${libdir}/
 	cp -a ${S}/lib/* ${D}${libdir}/
+	chown -R root:root ${D}${libdir}/
 }
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 sa-lld-test, multiprocmgr: suppress no GNU_HASH warnings

---
 recipes-bsp/sa-lld/sa-lld-test_git.bb       | 2 ++
 recipes-ti/multiprocmgr/multiprocmgr_git.bb | 2 ++
 2 files changed, 4 insertions(+)
recipes-bsp/sa-lld/sa-lld-test_git.bb +2 -0
index bae64b1..07d6467 100644
@@ -37,3 +37,5 @@ do_install () {
 		make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
 	done
 }
+
+INSANE_SKIP_${PN} = "ldflags"
recipes-ti/multiprocmgr/multiprocmgr_git.bb +2 -0
index b37c332..053a04e 100644
@@ -44,3 +44,5 @@ do_install() {
 	cp -a ${S}/lib/* ${D}${libdir}/
 	chown -R root:root ${D}${libdir}/
 }
+
+INSANE_SKIP_${PN} = "ldflags"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/3 recipes-bsp: whitespace cleanup

In reply to Denys Dmytriyenko
---
 recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb         | 6 +++---
 recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb   | 2 +-
 recipes-bsp/pruss-lld/pruss-lld-test_git.bb      | 2 +-
 recipes-bsp/pruss-lld/pruss-lld_git.bb           | 2 +-
 recipes-bsp/qmss-lld/qmss-lld-test_git.bb        | 2 +-
 recipes-bsp/qmss-lld/qmss-lld_git.bb             | 2 +-
 recipes-bsp/uio-module-drv/uio-module-drv_git.bb | 2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)
recipes-bsp/fatfs-rtos/fatfs-rtos_git.bb +3 -3
index beed9d7..55f67bf 100644
@@ -15,15 +15,15 @@ FATFS_GIT_BRANCH = "master"
 # Below commit ID corresponds to "DEV.FATFS_LLD.01.00.00.09"
 FATFS_SRCREV = "a5652991a9dd9a9b9b9c5c2cf35d1417f8272b00"
 
-BRANCH ="${FATFS_GIT_BRANCH}"
+BRANCH = "${FATFS_GIT_BRANCH}"
 SRC_URI = "${FATFS_GIT_URI};protocol=${FATFS_GIT_PROTOCOL};branch=${BRANCH}"
 
 SRCREV = "${FATFS_SRCREV}"
 PV = "01.00.00.09"
 PR = "r0"
 
-DEPENDS_append = " mmcsd-lld-rtos \
-"
+DEPENDS_append = " mmcsd-lld-rtos"
+
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
 
recipes-bsp/icss-emac-lld/icss-emac-lld_git.bb +1 -1
index a295304..4c305db 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "TI ICSS-EMAC low level driver library"
 
-DEPENDS="common-csl-ip pruss-lld osal"
+DEPENDS = "common-csl-ip pruss-lld osal"
 
 include icss-emac-lld.inc
 
recipes-bsp/pruss-lld/pruss-lld-test_git.bb +1 -1
index 90764d1..93f1901 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "TI PRUSS low level driver tests"
 
-DEPENDS="common-csl-ip pruss-lld osal"
+DEPENDS = "common-csl-ip pruss-lld osal"
 
 include pruss-lld.inc
 
recipes-bsp/pruss-lld/pruss-lld_git.bb +1 -1
index 2eca4ff..79468ab 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "TI PRUSS low level driver library"
 
-DEPENDS="common-csl-ip osal"
+DEPENDS = "common-csl-ip osal"
 
 include pruss-lld.inc
 
recipes-bsp/qmss-lld/qmss-lld-test_git.bb +1 -1
index ed49b8e..77e698a 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "TI QMSS low level driver unit test and example binaries"
 
-DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld cmem uio-module-drv"
+DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld cmem uio-module-drv"
 
 include qmss-lld.inc
 
recipes-bsp/qmss-lld/qmss-lld_git.bb +1 -1
index a3c1a3b..a87f490 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "TI QMSS low level driver library"
 
-DEPENDS="common-csl-ip rm-lld"
+DEPENDS = "common-csl-ip rm-lld"
 
 include qmss-lld.inc
 
recipes-bsp/uio-module-drv/uio-module-drv_git.bb +1 -1
index 15a7691..6ac9187 100644
@@ -1,4 +1,4 @@
-DESCRIPTION="User space IO (UIO) driver for on-chip modules"
+DESCRIPTION = "User space IO (UIO) driver for on-chip modules"
 
 include uio-module-drv.inc
 
Signature · 1 line
2.7.4
#3 lore raw

PATCH v2 1/1 recipes: fix host contamination warnings

In reply to Denys Dmytriyenko
---
 recipes-bsp/cppi-lld/cppi-lld_git.bb             | 3 ++-
 recipes-bsp/dfe-lld/dfe-lld_git.bb               | 1 +
 recipes-bsp/iqn2-lld/iqn2-lld_git.bb             | 1 +
 recipes-bsp/mmap-lld/mmap-lld_git.bb             | 1 +
 recipes-bsp/pa-lld/pa-lld_git.bb                 | 3 ++-
 recipes-bsp/pktlib/pktlib_git.bb                 | 1 +
 recipes-bsp/qmss-lld/qmss-lld_git.bb             | 2 +-
 recipes-bsp/rm-lld/rm-lld_git.bb                 | 1 +
 recipes-bsp/sa-lld/sa-lld_git.bb                 | 1 +
 recipes-bsp/traceframework/traceframework_git.bb | 1 +
 recipes-ti/ipc/ipc-transport-qmss_git.bb         | 1 +
 recipes-ti/multiprocmgr/multiprocmgr_git.bb      | 1 +
 12 files changed, 14 insertions(+), 3 deletions(-)
recipes-bsp/cppi-lld/cppi-lld_git.bb +2 -1
index edbc35d..6ac72cf 100644
@@ -16,7 +16,8 @@ do_compile () {
 }
 
 do_install () {
-	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
 #   Set the generic device library symbolic link to default k2h
     cd ${D}${libdir}
recipes-bsp/dfe-lld/dfe-lld_git.bb +1 -0
index 3d33584..4456cc0 100644
@@ -14,4 +14,5 @@ do_compile () {
 
 do_install () {
 	oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+	chown -R root:root ${D}
 }
recipes-bsp/iqn2-lld/iqn2-lld_git.bb +1 -0
index 40a8ea7..169ab6e 100644
@@ -19,4 +19,5 @@ do_compile () {
 
 do_install () {
 	oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+	chown -R root:root ${D}
 }
recipes-bsp/mmap-lld/mmap-lld_git.bb +1 -0
index 1cfc90f..cfc5d4c 100644
@@ -11,4 +11,5 @@ do_compile () {
 
 do_install () {
 	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+	chown -R root:root ${D}
 }
recipes-bsp/pa-lld/pa-lld_git.bb +2 -1
index f6de5b1..f636ce4 100644
@@ -15,7 +15,8 @@ do_compile () {
 }
 
 do_install () {
-	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
 #   Set the generic device library symbolic link
     ln -sf ${LIBPA}.so.1.0.0 ${D}${libdir}/libpa_device.so.1
recipes-bsp/pktlib/pktlib_git.bb +1 -0
index dd66bd9..b15b61b 100644
@@ -15,4 +15,5 @@ do_compile () {
 
 do_install () {
 	oe_runmake install
+	chown -R root:root ${D}
 }
recipes-bsp/qmss-lld/qmss-lld_git.bb +1 -1
index 813929e..a3c1a3b 100644
@@ -13,11 +13,11 @@ do_compile () {
 	do
 		make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}  DEVICE="${device}"
 	done
-
 }
 
 do_install () {
     make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    chown -R root:root ${D}
 
     # Set the generic device library symbolic link to default k2h
     cd ${D}${libdir}
recipes-bsp/rm-lld/rm-lld_git.bb +1 -0
index 659e620..ae79a34 100644
@@ -27,4 +27,5 @@ do_install () {
     install -d ${D}${libdir}
     install -d ${D}${bindir}
     make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir}
+    chown -R root:root ${D}
 }
recipes-bsp/sa-lld/sa-lld_git.bb +1 -0
index 1cab6db..d92ad1c 100644
@@ -13,6 +13,7 @@ do_compile () {
 
 do_install () {
 	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+	chown -R root:root ${D}
 
 #   Set the generic device library symbolic link
 	ln -sf libsa.so.1.0.0 ${D}${libdir}/libsa_device.so.1
recipes-bsp/traceframework/traceframework_git.bb +1 -0
index a3b0d71..2b2020b 100644
@@ -29,6 +29,7 @@ do_install() {
 	do
 		oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D}
 	done
+	chown -R root:root ${D}
 }
 
 PACKAGES =+ "${PN}-test"
recipes-ti/ipc/ipc-transport-qmss_git.bb +1 -0
index 09acbf0..4c9aade 100644
@@ -13,4 +13,5 @@ do_compile () {
 do_install () {
 	oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
 		INSTALL_LIB_BASE_DIR=${D}${libdir}
+	chown -R root:root ${D}
 }
recipes-ti/multiprocmgr/multiprocmgr_git.bb +1 -0
index 1ec2241..b37c332 100644
@@ -42,4 +42,5 @@ do_install() {
 
 	install -d ${D}${libdir}/
 	cp -a ${S}/lib/* ${D}${libdir}/
+	chown -R root:root ${D}${libdir}/
 }
Signature · 1 line
2.7.4