Skip to contentSkip to conversation

vpe-vpdma: update SRCREV and pass CROSS_COMPILE

PATCH In review Denys Dmytriyenko 3 participants 5 messages Jan 15, 2014 – Jan 16, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vpe-vpdma: update SRCREV and pass CROSS_COMPILE

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/ti/vpe-vpdma_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/ti/vpe-vpdma_git.bb +3 -3
index d506791..fb3012a 100644
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
 COMPATIBLE_MACHINE = "dra7xx-evm"
 
 PV = "1b8"
-PR = "r0"
+PR = "r1"
 
-SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
+SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"
 BRANCH ?= "master"
 
 SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
@@ -18,7 +18,7 @@ SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH
 S = "${WORKDIR}/git"
 
 # The test application needs additional include headers from the kernel
-EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
 
 do_install() {
     oe_runmake DESTDIR="${D}" install
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 40 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, January 15, 2014 3:16 PM
To: [email protected]
Subject: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass CROSS_COMPILE

From: Denys Dmytriyenko <[email protected]>

---
recipes-bsp/ti/vpe-vpdma_git.bb | 6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/ti/vpe- renamed from recipes-bsp/ti/vpe-vpdma_git.bb +0 -0

vpdma_git.bb
index d506791..fb3012a 100644

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa" COMPATIBLE_MACHINE = "dra7xx-evm"

PV = "1b8"

recipes-bsp/ti/vpe-vpdma_git.bb +2 -2
-PR = "r0"
+PR = "r1"
 
-SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
+SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"

BRANCH ?= "master"

SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BR ANCH}"

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -18,7 +18,7 @@ SRC_URI =

"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BR ANCH
S = "${WORKDIR}/git"

Quoted 7 lines

# The test application needs additional include headers from the kernel
-EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'

Shouldn't the setting of CC in OE already take care of this? Or did the rebase affect the Makefile?

Quoted 10 lines
do_install() {
    oe_runmake DESTDIR="${D}" install

--
1.8.3.2

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

#2 lore raw
Quoted 40 lines · Chase
Quoted 40 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, January 15, 2014 3:16 PM
To: [email protected]
Subject: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass CROSS_COMPILE

From: Denys Dmytriyenko <[email protected]>

---
recipes-bsp/ti/vpe-vpdma_git.bb | 6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
recipes-bsp/ti/vpe- renamed from recipes-bsp/ti/vpe-vpdma_git.bb +0 -0

vpdma_git.bb
index d506791..fb3012a 100644

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa" COMPATIBLE_MACHINE = "dra7xx-evm"

PV = "1b8"

recipes-bsp/ti/vpe-vpdma_git.bb +2 -2
-PR = "r0"
+PR = "r1"
 
-SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
+SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"

BRANCH ?= "master"

SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BR ANCH}"

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -18,7 +18,7 @@ SRC_URI =

"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BR ANCH
S = "${WORKDIR}/git"

Quoted 9 lines
Quoted 7 lines

# The test application needs additional include headers from the kernel
-EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'

Shouldn't the setting of CC in OE already take care of this? Or did the rebase affect the Makefile?

I believe it has been affected by this commit:
http://git.ti.com/gitweb/?p=vpe_tests/vpe_tests.git;a=commitdiff;h=e3d8db1aa935775f9d196ad7428e0cd9864a36ca

It overrides CC in the Makefile and the simplest way is to pass CROSS_COMPILE.

Quoted 13 lines
Quoted 9 lines
do_install() {
    oe_runmake DESTDIR="${D}" install

--
1.8.3.2

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

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

#3 lore raw
Quoted 64 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, January 15, 2014 4:34 PM
To: Maupin, Chase
Cc: Denys Dmytriyenko; [email protected]
Subject: Re: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass CROSS_COMPILE

Quoted 8 lines · Chase
Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, January 15, 2014 3:16 PM
To: [email protected]
Subject: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass CROSS_COMPILE

Quoted 8 lines

recipes-

Quoted 8 lines

From: Denys Dmytriyenko <[email protected]>

---
recipes-bsp/ti/vpe-vpdma_git.bb | 6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
recipes- renamed from recipes-bsp/ti/vpe-vpdma_git.bb +0 -0

bsp/ti/vpe-

Quoted 12 lines
Quoted 12 lines

vpdma_git.bb
index d506791..fb3012a 100644

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa" COMPATIBLE_MACHINE = "dra7xx-evm"

PV = "1b8"

recipes-bsp/ti/vpe-vpdma_git.bb +1 -1
-PR = "r0"
+PR = "r1"
Quoted 7 lines
Quoted 5 lines
recipes-bsp/ti/vpe-vpdma_git.bb +1 -1
-SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
+SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"

BRANCH ?= "master"

SRC_URI =

"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${B

R

Quoted 4 lines

recipes-bsp/ti/vpe-vpdma_git.bb SRC_URI =

Quoted 2 lines

ANCH}"

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -18,7 +18,7 @@ SRC_URI =

"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${B

R

Quoted 4 lines
Quoted 4 lines

ANCH
S = "${WORKDIR}/git"

# The test application needs additional include headers from

the

Quoted 8 lines
Quoted 6 lines

kernel
-EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'

Shouldn't the setting of CC in OE already take care of this? Or

Quoted 8 lines

did the rebase affect the Makefile?

I believe it has been affected by this commit:
http://git.ti.com/gitweb/?p=vpe_tests/vpe_tests.git;a=commitdiff;h
=e3d8db1aa935775f9d196ad7428e0cd9864a36ca

It overrides CC in the Makefile and the simplest way is to pass CROSS_COMPILE.

Ah. The commit I was on used CC ?= .... so you didn't have to pass CROSS_COMPILE. Thanks.

Quoted 15 lines
Quoted 15 lines
Quoted 11 lines

do_install() {
    oe_runmake DESTDIR="${D}" install

--
1.8.3.2

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

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

#4 lore raw
Quoted 66 lines · Chase
Quoted 66 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, January 15, 2014 4:34 PM
To: Maupin, Chase
Cc: Denys Dmytriyenko; [email protected]
Subject: Re: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass CROSS_COMPILE

Quoted 8 lines · Chase
Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Denys Dmytriyenko
Sent: Wednesday, January 15, 2014 3:16 PM
To: [email protected]
Subject: [meta-ti] [PATCH] vpe-vpdma: update SRCREV and pass CROSS_COMPILE

Quoted 8 lines

recipes-

Quoted 8 lines

From: Denys Dmytriyenko <[email protected]>

---
recipes-bsp/ti/vpe-vpdma_git.bb | 6 +++---

1 file changed, 3 insertions(+), 3 deletions(-)
recipes- renamed from recipes-bsp/ti/vpe-vpdma_git.bb +0 -0

bsp/ti/vpe-

Quoted 12 lines
Quoted 12 lines

vpdma_git.bb
index d506791..fb3012a 100644

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa" COMPATIBLE_MACHINE = "dra7xx-evm"

PV = "1b8"

recipes-bsp/ti/vpe-vpdma_git.bb +1 -1
-PR = "r0"
+PR = "r1"
Quoted 7 lines
Quoted 5 lines
recipes-bsp/ti/vpe-vpdma_git.bb +1 -1
-SRCREV = "24a5487ec13bf560f0e7fb24a9d4747f9f358be2"
+SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"

BRANCH ?= "master"

SRC_URI =

"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${B

R

Quoted 4 lines

recipes-bsp/ti/vpe-vpdma_git.bb SRC_URI =

Quoted 2 lines

ANCH}"

recipes-bsp/ti/vpe-vpdma_git.bb +0 -0
@@ -18,7 +18,7 @@ SRC_URI =

"git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${B

R

Quoted 4 lines
Quoted 4 lines

ANCH
S = "${WORKDIR}/git"

# The test application needs additional include headers from

the

Quoted 8 lines
Quoted 6 lines

kernel
-EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" KDIR="${STAGING_KERNEL_DIR}/include/uapi - I${STAGING_KERNEL_DIR}/include"'

Shouldn't the setting of CC in OE already take care of this? Or

did the rebase affect the Makefile?

Quoted 8 lines
Quoted 6 lines

I believe it has been affected by this commit:
http://git.ti.com/gitweb/?p=vpe_tests/vpe_tests.git;a=commitdiff;h
=e3d8db1aa935775f9d196ad7428e0cd9864a36ca

It overrides CC in the Makefile and the simplest way is to pass CROSS_COMPILE.

Ah. The commit I was on used CC ?= .... so you didn't have to pass CROSS_COMPILE. Thanks.

So, I'll be pushing this change shortly.

Going forward, can we try to avoid rebases - I don't believe it was even necessary here...

Signature · 1 line
Denys