Skip to contentSkip to conversation

lftp: add ti LFTB recipe

PATCH Superseded Chase Maupin 4 participants 5 messages Dec 18, 2010 – Dec 20, 2010

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lftp: add ti LFTB recipe

From: naresh <[email protected]>

* This package contains functional test suites for TI devices used to verify the Linux kernel and drivers for the various peripherals found on TI devices.

---
 recipes/ti/ti-lftb.inc    |   47 +++++++++++++++++++++++++++++++++++++++++++++
 recipes/ti/ti-lftb_2.0.bb |    9 ++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/ti-lftb.inc
 create mode 100644 recipes/ti/ti-lftb_2.0.bb
recipes/ti/ti-lftb.inc new file +47 -0
new file mode 100644
index 0000000..176f983
@@ -0,0 +1,47 @@
+DESCRIPTION = "Linux Functional test bench"
+HOMEPAGE = "http://arago-project.org/git/projects/?p=test-automation/target-code/psp/lftb.git;a=summary"
+LICENSE="BSD"
+
+INC_PR = "r1"
+
+DEPENDS = "virtual/kernel"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(dm365|dm355|dm6446|dm6467|omapl137|omapl138|omap3|ti816x)"
+
+S = "${WORKDIR}/git"
+
+#Machine specific overrides
+PLATFORM_omap3evm="omap35x"
+PLATFORM_am180x-evm="am18x"
+PLATFORM_am3517-evm="am3517"
+PLATFORM_am37x-evm="am37x"
+PLATFORM_beagleboard="beagle"
+PLATFORM_da830-omapl137-evm="am17x"
+PLATFORM_da850-omapl138-evm="am18x"
+PLATFORM_am181x-evm="am18x"
+PLATFORM_dm355-evm="dm355"
+PLATFORM_dm365-evm="dm365"
+PLATFORM_dm37x-evm="am37x"
+PLATFORM_dm6446-evm="dm644x"
+PLATFORM_dm6467-evm="dm646x"
+PLATFORM_ti816x="ti816x"
+
+do_compile () {
+    cd ${S}
+    make KERNEL_DIR=${STAGING_KERNEL_DIR} PLATFORM=${PLATFORM} TOOL_PREFIX=${TARGET_PREFIX}
+}
+
+do_install () {
+    install -d ${D}${bindir}/lftb
+    cd ${S}
+    make INSTALL_DIR=${D}${bindir}/lftb install
+
+    # Remove unneeded tarball placed in bindir by install target
+    rm -rf ${D}${bindir}/lftb.tar.gz
+}
+
+INSANE_SKIP_${PN} = True
+
+FILES_${PN} = "${bindir}/lftb"
recipes/ti/ti-lftb_2.0.bb new file +9 -0
new file mode 100644
index 0000000..62c936c
@@ -0,0 +1,9 @@
+require ti-lftb.inc
+
+SRCREV = "3d0be58aee659ef7e8eda43e916172bab300235f"
+
+PR = "${MACHINE_KERNEL_PR}+${INC_PR}"
+PR_append = "a"
+
+SRC_URI = "git://arago-project.org/git/projects/test-automation/target-code/psp/lftb.git;protocol=git \
+"
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 21 lines · Chase Maupin

From: naresh <[email protected]>

* This package contains functional test suites for TI devices used to verify the Linux kernel and drivers for the various peripherals found on TI devices.

---
 recipes/ti/ti-lftb.inc    |   47 +++++++++++++++++++++++++++++++++++++++++++++
 recipes/ti/ti-lftb_2.0.bb |    9 ++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/ti-lftb.inc
 create mode 100644 recipes/ti/ti-lftb_2.0.bb
recipes/ti/ti-lftb.inc new file +0 -0
new file mode 100644
index 0000000..176f983

recipes/ti/ti-lftb.inc line 1

Quoted 1 line
recipes/ti/ti-lftb.inc new file +1 -0
@@ -0,0 +1,47 @@
+DESCRIPTION = "Linux Functional test bench"

may be F should be f

recipes/ti/ti-lftb.inc line 5

Quoted 4 lines
recipes/ti/ti-lftb.inc new file +4 -0
+HOMEPAGE = "http://arago-project.org/git/projects/?p=test-automation/target-code/psp/lftb.git;a=summary"
+LICENSE="BSD"
+
+INC_PR = "r1"

New recipes begin at 'r0'

recipes/ti/ti-lftb.inc line 12

Quoted 7 lines
recipes/ti/ti-lftb.inc new file +7 -0
+
+DEPENDS = "virtual/kernel"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(dm365|dm355|dm6446|dm6467|omapl137|omapl138|omap3|ti816x)"
+

could it use SOC_FAMILY

Quoted 16 lines
recipes/ti/ti-lftb.inc new file +16 -0
+S = "${WORKDIR}/git"
+
+#Machine specific overrides
+PLATFORM_omap3evm="omap35x"
+PLATFORM_am180x-evm="am18x"
+PLATFORM_am3517-evm="am3517"
+PLATFORM_am37x-evm="am37x"
+PLATFORM_beagleboard="beagle"
+PLATFORM_da830-omapl137-evm="am17x"
+PLATFORM_da850-omapl138-evm="am18x"
+PLATFORM_am181x-evm="am18x"
+PLATFORM_dm355-evm="dm355"
+PLATFORM_dm365-evm="dm365"
+PLATFORM_dm37x-evm="am37x"
+PLATFORM_dm6446-evm="dm644x"
+PLATFORM_dm6467-evm="dm646x"

recipes/ti/ti-lftb.inc line 38

Quoted 10 lines
recipes/ti/ti-lftb.inc new file +10 -0
+PLATFORM_ti816x="ti816x"
+
+do_compile () {
+    cd ${S}
+    make KERNEL_DIR=${STAGING_KERNEL_DIR} PLATFORM=${PLATFORM} TOOL_PREFIX=${TARGET_PREFIX}
+}
+
+do_install () {
+    install -d ${D}${bindir}/lftb
+    cd ${S}

is this cd needed ?

Quoted 32 lines
recipes/ti/ti-lftb.inc new file +9 -0
+    make INSTALL_DIR=${D}${bindir}/lftb install
+
+    # Remove unneeded tarball placed in bindir by install target
+    rm -rf ${D}${bindir}/lftb.tar.gz
+}
+
+INSANE_SKIP_${PN} = True
+
+FILES_${PN} = "${bindir}/lftb"
recipes/ti/ti-lftb_2.0.bb new file +9 -0
new file mode 100644
index 0000000..62c936c
@@ -0,0 +1,9 @@
+require ti-lftb.inc
+
+SRCREV = "3d0be58aee659ef7e8eda43e916172bab300235f"
+
+PR = "${MACHINE_KERNEL_PR}+${INC_PR}"
+PR_append = "a"
+
+SRC_URI = "git://arago-project.org/git/projects/test-automation/target-code/psp/lftb.git;protocol=git \
+"
Signature · 7 lines
1.7.0.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#2 lore raw

Dear Naresh and Chase,

I am adding my comments to Khem’s.

Am Sonntag, den 19.12.2010, 19:10 -0800 schrieb Khem Raj:

Quoted 1 line · Chase Maupin

First of all the commit summary should be.

lftb: add TI LFTP 2.0

lft*b*

Quoted 1 line
Quoted 1 line

From: naresh <[email protected]>

If there is no compelling reason against it usually the real name (Naresh Medisetty) is used.

Quoted 5 lines
Quoted 5 lines

* This package contains functional test suites for TI devices used to verify the Linux kernel and drivers for the various peripherals found on TI devices.

Here too.

Quoted 47 lines
Quoted 14 lines
---
 recipes/ti/ti-lftb.inc    |   47 +++++++++++++++++++++++++++++++++++++++++++++
 recipes/ti/ti-lftb_2.0.bb |    9 ++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/ti-lftb.inc
 create mode 100644 recipes/ti/ti-lftb_2.0.bb
recipes/ti/ti-lftb.inc new file +0 -0
new file mode 100644
index 0000000..176f983

recipes/ti/ti-lftb.inc line 1

Quoted 1 line
recipes/ti/ti-lftb.inc new file +1 -0
@@ -0,0 +1,47 @@
+DESCRIPTION = "Linux Functional test bench"

may be F should be f

recipes/ti/ti-lftb.inc line 5

Quoted 4 lines
recipes/ti/ti-lftb.inc new file +4 -0
+HOMEPAGE = "http://arago-project.org/git/projects/?p=test-automation/target-code/psp/lftb.git;a=summary"
+LICENSE="BSD"
+
+INC_PR = "r1"

New recipes begin at 'r0'

recipes/ti/ti-lftb.inc line 12

Quoted 7 lines
recipes/ti/ti-lftb.inc new file +7 -0
+
+DEPENDS = "virtual/kernel"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE = "(dm365|dm355|dm6446|dm6467|omapl137|omapl138|omap3|ti816x)"
+

could it use SOC_FAMILY

Quoted 11 lines
recipes/ti/ti-lftb.inc new file +11 -0
+S = "${WORKDIR}/git"
+
+#Machine specific overrides
+PLATFORM_omap3evm="omap35x"
+PLATFORM_am180x-evm="am18x"
+PLATFORM_am3517-evm="am3517"
+PLATFORM_am37x-evm="am37x"
+PLATFORM_beagleboard="beagle"
+PLATFORM_da830-omapl137-evm="am17x"
+PLATFORM_da850-omapl138-evm="am18x"
+PLATFORM_am181x-evm="am18x"
Quoted 8 lines

recipes/ti/ti-lftb.inc line 31

Quoted 8 lines
recipes/ti/ti-lftb.inc new file +8 -0
+PLATFORM_dm355-evm="dm355"
+PLATFORM_dm365-evm="dm365"
+PLATFORM_dm37x-evm="am37x"
+PLATFORM_dm6446-evm="dm644x"
+PLATFORM_dm6467-evm="dm646x"
+PLATFORM_ti816x="ti816x"
+
+do_compile () {

I think the coding sytle is without a space before ().

Quoted 26 lines

recipes/ti/ti-lftb.inc line 38

Quoted 7 lines
recipes/ti/ti-lftb.inc new file +7 -0
+    cd ${S}
+    make KERNEL_DIR=${STAGING_KERNEL_DIR} PLATFORM=${PLATFORM} TOOL_PREFIX=${TARGET_PREFIX}
+}
+
+do_install () {
+    install -d ${D}${bindir}/lftb
+    cd ${S}

is this cd needed ?

Quoted 16 lines
recipes/ti/ti-lftb.inc new file +9 -0
+    make INSTALL_DIR=${D}${bindir}/lftb install
+
+    # Remove unneeded tarball placed in bindir by install target
+    rm -rf ${D}${bindir}/lftb.tar.gz
+}
+
+INSANE_SKIP_${PN} = True
+
+FILES_${PN} = "${bindir}/lftb"
recipes/ti/ti-lftb_2.0.bb new file +1 -0
new file mode 100644
index 0000000..62c936c
@@ -0,0 +1,9 @@
+require ti-lftb.inc
Quoted 8 lines

recipes/ti/ti-lftb_2.0.bb line 9

Quoted 8 lines
recipes/ti/ti-lftb_2.0.bb new file +8 -0
+
+SRCREV = "3d0be58aee659ef7e8eda43e916172bab300235f"
+
+PR = "${MACHINE_KERNEL_PR}+${INC_PR}"
+PR_append = "a"
+
+SRC_URI = "git://arago-project.org/git/projects/test-automation/target-code/psp/lftb.git;protocol=git \
+"

Thanks,

Paul

#3 lore raw
Quoted 14 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Menzel
Sent: Monday, December 20, 2010 8:16 AM
To: [email protected]
Subject: Re: [oe] [PATCH] lftp: add ti LFTB recipe

Dear Naresh and Chase,

I am adding my comments to Khem’s.

Quoted 8 lines

Am Sonntag, den 19.12.2010, 19:10 -0800 schrieb Khem Raj:

Quoted 1 line · Chase Maupin

First of all the commit summary should be.

lftb: add TI LFTP 2.0

lft*b*

Good catch. I can't believe I missed that one.

Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

From: naresh <[email protected]>

If there is no compelling reason against it usually the real name (Naresh Medisetty) is used.

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

* This package contains functional test suites for TI devices used to verify the Linux kernel and drivers for the various peripherals found on TI devices.

Here too.

Fixed

Quoted 53 lines
Quoted 4 lines
Quoted 4 lines
---
 recipes/ti/ti-lftb.inc    |   47

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

Quoted 5 lines
Quoted 5 lines
 recipes/ti/ti-lftb_2.0.bb |    9 ++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/ti-lftb.inc
 create mode 100644 recipes/ti/ti-lftb_2.0.bb
Quoted 11 lines

recipes/ti/ti-lftb.inc line 1

Quoted 7 lines
recipes/ti/ti-lftb.inc new file +1 -0
new file mode 100644
index 0000000..176f983
@@ -0,0 +1,47 @@
+DESCRIPTION = "Linux Functional test bench"

may be F should be f

Quoted 1 line
recipes/ti/ti-lftb.inc new file +1 -0
+HOMEPAGE = "http://arago-project.org/git/projects/?p=test-

automation/target-code/psp/lftb.git;a=summary"

Quoted 6 lines

recipes/ti/ti-lftb.inc line 5

Quoted 3 lines
recipes/ti/ti-lftb.inc new file +3 -0
+LICENSE="BSD"
+
+INC_PR = "r1"

New recipes begin at 'r0'

Quoted 6 lines

recipes/ti/ti-lftb.inc

Quoted 6 lines
recipes/ti/ti-lftb.inc new file +6 -0
+
+DEPENDS = "virtual/kernel"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE =

"(dm365|dm355|dm6446|dm6467|omapl137|omapl138|omap3|ti816x)"

Quoted 18 lines

recipes/ti/ti-lftb.inc line 12

Quoted 1 line
recipes/ti/ti-lftb.inc new file +1 -0
+

could it use SOC_FAMILY

Quoted 13 lines
recipes/ti/ti-lftb.inc new file +13 -0
+S = "${WORKDIR}/git"
+
+#Machine specific overrides
+PLATFORM_omap3evm="omap35x"
+PLATFORM_am180x-evm="am18x"
+PLATFORM_am3517-evm="am3517"
+PLATFORM_am37x-evm="am37x"
+PLATFORM_beagleboard="beagle"
+PLATFORM_da830-omapl137-evm="am17x"
+PLATFORM_da850-omapl138-evm="am18x"
+PLATFORM_am181x-evm="am18x"
+PLATFORM_dm355-evm="dm355"
+PLATFORM_dm365-evm="dm365"
Quoted 8 lines
Quoted 6 lines

recipes/ti/ti-lftb.inc line 31

Quoted 6 lines
recipes/ti/ti-lftb.inc new file +6 -0
+PLATFORM_dm37x-evm="am37x"
+PLATFORM_dm6446-evm="dm644x"
+PLATFORM_dm6467-evm="dm646x"
+PLATFORM_ti816x="ti816x"
+
+do_compile () {

I think the coding sytle is without a space before ().

Fixed.

Thanks for the review and feedback. I'll be submitting a new patch shortly.

Quoted 42 lines
Quoted 3 lines

recipes/ti/ti-lftb.inc line 33

Quoted 3 lines
recipes/ti/ti-lftb.inc new file +2 -0
+    cd ${S}
+    make KERNEL_DIR=${STAGING_KERNEL_DIR} PLATFORM=${PLATFORM}

TOOL_PREFIX=${TARGET_PREFIX}

Quoted 23 lines

recipes/ti/ti-lftb.inc line 38

Quoted 5 lines
recipes/ti/ti-lftb.inc new file +5 -0
+}
+
+do_install () {
+    install -d ${D}${bindir}/lftb
+    cd ${S}

is this cd needed ?

Quoted 15 lines
recipes/ti/ti-lftb.inc new file +9 -0
+    make INSTALL_DIR=${D}${bindir}/lftb install
+
+    # Remove unneeded tarball placed in bindir by install target
+    rm -rf ${D}${bindir}/lftb.tar.gz
+}
+
+INSANE_SKIP_${PN} = True
+
+FILES_${PN} = "${bindir}/lftb"
recipes/ti/ti-lftb_2.0.bb new file +0 -0
new file mode 100644
index 0000000..62c936c
@@ -0,0 +1,9 @@
Quoted 8 lines

recipes/ti/ti-lftb_2.0.bb

Quoted 8 lines
recipes/ti/ti-lftb_2.0.bb new file +8 -0
+require ti-lftb.inc
+
+SRCREV = "3d0be58aee659ef7e8eda43e916172bab300235f"
+
+PR = "${MACHINE_KERNEL_PR}+${INC_PR}"
+PR_append = "a"
+
+SRC_URI = "git://arago-project.org/git/projects/test-

automation/target-code/psp/lftb.git;protocol=git \

Quoted 1 line

recipes/ti/ti-lftb_2.0.bb line 9

Quoted 1 line
recipes/ti/ti-lftb_2.0.bb new file +1 -0
+"

Thanks,

Paul

#4 lore raw
In reply to Khem Raj
Quoted 24 lines

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Sunday, December 19, 2010 9:11 PM
To: [email protected]
Cc: Medisetty, Naresh; Maupin, Chase
Subject: Re: [oe] [PATCH] lftp: add ti LFTB recipe

Quoted 10 lines · Chase Maupin

From: naresh <[email protected]>

* This package contains functional test suites for TI devices used to verify the Linux kernel and drivers for the various peripherals found on TI devices.

---
 recipes/ti/ti-lftb.inc    |   47

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

Quoted 5 lines
 recipes/ti/ti-lftb_2.0.bb |    9 ++++++++
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/ti-lftb.inc
 create mode 100644 recipes/ti/ti-lftb_2.0.bb
Quoted 9 lines

recipes/ti/ti-lftb.inc line 1

Quoted 7 lines
recipes/ti/ti-lftb.inc new file +1 -0
new file mode 100644
index 0000000..176f983
@@ -0,0 +1,47 @@
+DESCRIPTION = "Linux Functional test bench"

may be F should be f

Changing to use "Linux Functional Test Bench" to bring out the L F T B. Thanks for pointing this out.

Quoted 8 lines

recipes/ti/ti-lftb.inc line 2

Quoted 2 lines
recipes/ti/ti-lftb.inc new file +1 -0
+HOMEPAGE = "http://arago-project.org/git/projects/?p=test-

automation/target-code/psp/lftb.git;a=summary"

recipes/ti/ti-lftb.inc line 5

Quoted 3 lines
recipes/ti/ti-lftb.inc new file +3 -0
+LICENSE="BSD"
+
+INC_PR = "r1"

New recipes begin at 'r0'

Good call. I will change this.

Quoted 11 lines

recipes/ti/ti-lftb.inc

Quoted 7 lines
recipes/ti/ti-lftb.inc new file +6 -0
+
+DEPENDS = "virtual/kernel"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+COMPATIBLE_MACHINE =

"(dm365|dm355|dm6446|dm6467|omapl137|omapl138|omap3|ti816x)"

recipes/ti/ti-lftb.inc line 12

Quoted 1 line
recipes/ti/ti-lftb.inc new file +1 -0
+

could it use SOC_FAMILY

These are SOC_FAMILY entries.

Quoted 24 lines
Quoted 13 lines
recipes/ti/ti-lftb.inc new file +11 -0
+S = "${WORKDIR}/git"
+
+#Machine specific overrides
+PLATFORM_omap3evm="omap35x"
+PLATFORM_am180x-evm="am18x"
+PLATFORM_am3517-evm="am3517"
+PLATFORM_am37x-evm="am37x"
+PLATFORM_beagleboard="beagle"
+PLATFORM_da830-omapl137-evm="am17x"
+PLATFORM_da850-omapl138-evm="am18x"
+PLATFORM_am181x-evm="am18x"

recipes/ti/ti-lftb.inc

Quoted 10 lines
recipes/ti/ti-lftb.inc new file +10 -0
+PLATFORM_dm355-evm="dm355"
+PLATFORM_dm365-evm="dm365"
+PLATFORM_dm37x-evm="am37x"
+PLATFORM_dm6446-evm="dm644x"
+PLATFORM_dm6467-evm="dm646x"
+PLATFORM_ti816x="ti816x"
+
+do_compile () {
+    cd ${S}
+    make KERNEL_DIR=${STAGING_KERNEL_DIR} PLATFORM=${PLATFORM}

TOOL_PREFIX=${TARGET_PREFIX}

Quoted 7 lines

recipes/ti/ti-lftb.inc line 38

Quoted 5 lines
recipes/ti/ti-lftb.inc new file +5 -0
+}
+
+do_install () {
+    install -d ${D}${bindir}/lftb
+    cd ${S}

is this cd needed ?

Not strictly. I'll remove it.

Thanks for the review and feedback. I'll be submitting an updated patch shortly.

Quoted 34 lines
Quoted 16 lines
recipes/ti/ti-lftb.inc new file +9 -0
+    make INSTALL_DIR=${D}${bindir}/lftb install
+
+    # Remove unneeded tarball placed in bindir by install target
+    rm -rf ${D}${bindir}/lftb.tar.gz
+}
+
+INSANE_SKIP_${PN} = True
+
+FILES_${PN} = "${bindir}/lftb"
recipes/ti/ti-lftb_2.0.bb new file +0 -0
new file mode 100644
index 0000000..62c936c

recipes/ti/ti-lftb_2.0.bb line 8

Quoted 8 lines
recipes/ti/ti-lftb_2.0.bb new file +8 -0
@@ -0,0 +1,9 @@
+require ti-lftb.inc
+
+SRCREV = "3d0be58aee659ef7e8eda43e916172bab300235f"
+
+PR = "${MACHINE_KERNEL_PR}+${INC_PR}"
+PR_append = "a"
+
+SRC_URI = "git://arago-project.org/git/projects/test-automation/target-

code/psp/lftb.git;protocol=git \

Quoted 9 lines
recipes/ti/ti-lftb_2.0.bb new file +1 -1
+"
--

1.7.0.4

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