summaryrefslogtreecommitdiffstats
path: root/recipes-tools
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2013-07-08 11:08:16 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2013-07-10 11:22:18 +0800
commit851c7ff26de131b871bd5a64274c1a2b13d60fc3 (patch)
tree92eac21a1e1e6c3c0d27bdeaca2ff967e85c2e65 /recipes-tools
parent55f7692b69fe273aa41f7362a9324c80515d7b52 (diff)
downloadmeta-fsl-ppc-851c7ff26de131b871bd5a64274c1a2b13d60fc3.tar.gz
change layout to follow oe-core guidelines of recipes
Follow the rules defined in: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes.txt recipes-bsp - Anything with links to specific hardware or hardware configuration information recipes-connectivity - Libraries and applications related to communication with other devices recipes-core - What's needed to build a basic working Linux image including commonly used dependencies recipes-devtools - Tools primarily used by the build system (but can also be used on targets) recipes-extended - Applications which whilst not essential add features compared to the alternatives in core. May be needed for full tool functionality or LSB compliance. recipes-gnome - All things related to the GTK+ application framework recipes-graphics - X and other graphically related system libraries recipes-kernel - The kernel and generic applications/libraries with strong kernel dependencies recipes-lsb4 - Recipes added for the sole purpose of supporting the Linux Standard Base (LSB) 4.x recipes-multimedia - Codecs and support utilties for audio, images and video recipes-rt - Provides package and image recipes for using and testing the PREEMPT_RT kernel recipes-qt - All things related to the Qt application framework recipes-sato - The Sato demo/reference UI/UX, its associated apps and configuration recipes-support - Recipes used by other recipes but that are not directly included in images recipes-dpaa - recipes related to fsl dpaa feature recipes-virtualization - recipes related to fsl virtualization feature Signed-off-by: Ting Liu <b28495@freescale.com>
Diffstat (limited to 'recipes-tools')
-rw-r--r--recipes-tools/boot-format/boot-format_git.bb19
-rw-r--r--recipes-tools/cst/cst_git.bb29
-rw-r--r--recipes-tools/embedded-hv/files/81-fsl-embedded-hv.rules2
-rw-r--r--recipes-tools/embedded-hv/hypervisor_git.bb90
-rw-r--r--recipes-tools/eth-config/eth-config_git.bb19
-rw-r--r--recipes-tools/flib/flib_git.bb15
-rw-r--r--recipes-tools/hv-cfg/hv-cfg_git.bb46
-rw-r--r--recipes-tools/mux-server/files/mux-server-1.02.tar.gzbin10021 -> 0 bytes
-rw-r--r--recipes-tools/mux-server/mux-server_1.02.bb16
-rw-r--r--recipes-tools/rcw/rcw_git.bb39
-rw-r--r--recipes-tools/skmm/skmm_git.bb33
-rw-r--r--recipes-tools/usdpaa/usdpaa_git.bb49
-rw-r--r--recipes-tools/web-sysmon/web-sysmon_git.bb21
13 files changed, 0 insertions, 378 deletions
diff --git a/recipes-tools/boot-format/boot-format_git.bb b/recipes-tools/boot-format/boot-format_git.bb
deleted file mode 100644
index ac1504d..0000000
--- a/recipes-tools/boot-format/boot-format_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "Boot format utility for booting from eSDHC/eSPI"
2LICENSE = "GPLv2"
3PR = "r6"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6SRC_URI = "git://git.freescale.com/ppc/sdk/boot-format.git"
7SRCREV = "d9bbfaba0c9316ae33455099c47bae429479e530"
8
9S = "${WORKDIR}/git"
10EXTRA_OEMAKE = 'CC="${CC}"'
11
12do_install(){
13 oe_runmake DESTDIR=${D} PREFIX=${prefix} install
14}
15
16PACKAGES =+ "${PN}-config"
17FILES_${PN}-config += "${datadir}/*"
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-tools/cst/cst_git.bb b/recipes-tools/cst/cst_git.bb
deleted file mode 100644
index 177f23c..0000000
--- a/recipes-tools/cst/cst_git.bb
+++ /dev/null
@@ -1,29 +0,0 @@
1DESCRIPTION = "CST Tool"
2SECTION = "cst"
3LICENSE = "BSD"
4
5# TODO: fix license - this file is not a license
6LIC_FILES_CHKSUM = "file://RELEASENOTES;beginline=8;endline=43;md5=5a7b22a2c96b5f94e0498c5f413aa8d3"
7
8DEPENDS += "openssl"
9
10SRC_URI = "git://git.freescale.com/ppc/sdk/cst.git"
11SRCREV = "e4035cbf54ed481147c6ae65c741ef75dc9ec37f"
12
13S = "${WORKDIR}/git"
14
15EXTRA_OEMAKE = 'OPENSSL_LIB_PATH=${STAGING_LIBDIR} OPENSSL_INC_PATH=${STAGING_INCDIR} CC="${CC}" LD="${CC}" LDFLAGS="${LDFLAGS}"'
16
17do_install () {
18 install -d ${D}/${bindir}/cst
19 install -m 755 ${S}/gen_keys ${D}/${bindir}/cst/
20 install -m 755 ${S}/gen_otpmk ${D}/${bindir}/cst/
21 install -m 755 ${S}/uni_cfsign ${D}/${bindir}/cst/
22 install -m 755 ${S}/uni_sign ${D}/${bindir}/cst/
23 cp -rf ${S}/input_files ${D}/${bindir}/cst
24}
25
26BBCLASSEXTEND = "native nativesdk"
27PARALLEL_MAKE = ""
28
29FILES_${PN}-dbg += "${bindir}/cst/.debug"
diff --git a/recipes-tools/embedded-hv/files/81-fsl-embedded-hv.rules b/recipes-tools/embedded-hv/files/81-fsl-embedded-hv.rules
deleted file mode 100644
index 5edfa11..0000000
--- a/recipes-tools/embedded-hv/files/81-fsl-embedded-hv.rules
+++ /dev/null
@@ -1,2 +0,0 @@
1# Add rule to handle setting up device node for FSL HV mgmt driver
2SUBSYSTEM=="misc", KERNEL=="fsl-hv", NAME="fsl-hv"
diff --git a/recipes-tools/embedded-hv/hypervisor_git.bb b/recipes-tools/embedded-hv/hypervisor_git.bb
deleted file mode 100644
index dc86406..0000000
--- a/recipes-tools/embedded-hv/hypervisor_git.bb
+++ /dev/null
@@ -1,90 +0,0 @@
1DESCRIPTION = "Freescale embedded hypervisor"
2SECTION = "embedded-hv"
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://README;endline=22;md5=0655bbc3b7d7166c30c87208b4e23cf0"
5
6PR = "r3"
7
8DEPENDS = "u-boot-mkimage-native"
9
10inherit deploy
11
12S = "${WORKDIR}/git"
13
14# TODO: fix dtc to use the already built package
15SRC_URI = " \
16 git://git.freescale.com/ppc/sdk/hypervisor/hypervisor.git;name=hypervisor \
17 git://git.freescale.com/ppc/sdk/hypervisor/kconfig.git;name=kconfig;destsuffix=git/kconfig \
18 git://git.freescale.com/ppc/sdk/hypervisor/libos.git;name=libos;destsuffix=git/libos \
19 git://www.jdl.com/software/dtc.git;name=dtc;destsuffix=dtc \
20 git://git.freescale.com/ppc/sdk/hypertrk.git;name=hypertrk;destsuffix=git/hypertrk \
21 file://81-fsl-embedded-hv.rules \
22 "
23
24SRCREV_FORMAT="hypervisor"
25SRCREV = "e6092cdf2a225c66c1ea46b1151eb828da29d139"
26SRCREV_kconfig = "a56025d4da992b856796b0eccac2e410d751dbac"
27SRCREV_libos = "5268371581f3ef3959be2a53235edfa6a8c6aa7c"
28SRCREV_dtc = "033089f29099bdfd5c2d6986cdb9fd07b16cfde0"
29SRCREV_hypertrk = "975c98b562186afbd3bbf103ae54b96cf9b3e533"
30
31EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
32
33DEFCONFIG = "defconfig"
34DEFCONFIG_powerpc64 = "64bit_defconfig"
35
36COMPATIBLE_HOST_fslmachine = ".*"
37COMPATIBLE_HOST ?= "(none)"
38
39inherit cml1
40do_configure () {
41 oe_runmake ${DEFCONFIG}
42}
43
44PKG_HV_HYPERTRK_SUPPORT = "n"
45do_compile () {
46 if [ "${PKG_HV_HYPERTRK_SUPPORT}" = "y" ]
47 then
48 oe_runmake silentoldconfig
49 export HV_DIR=$PWD
50 cd hypertrk
51 oe_runmake deploy
52 cd ..
53 fi
54
55 oe_runmake
56 oe_runmake partman
57}
58
59do_install () {
60 install -d ${D}/${bindir}
61 install ${S}/output/bin/linux/partman ${D}/${bindir}/partman
62
63 install -d ${D}${sysconfdir}/udev/rules.d
64 install -m 0644 ${WORKDIR}/81-fsl-embedded-hv.rules ${D}${sysconfdir}/udev/rules.d
65
66 install -d ${D}/boot/hv
67 install ${S}/output/.config ${D}/boot/hv/hypervisor.config
68 install -m 644 ${S}/output/bin/hv ${S}/output/bin/hv.map \
69 ${S}/output/bin/hv.uImage ${S}/output/bin/hv.bin \
70 ${D}/boot/hv/
71}
72
73do_deploy () {
74 install -d ${DEPLOYDIR}/hv/
75 install ${S}/output/.config ${DEPLOYDIR}/hv/hypervisor.config
76 install -m 644 ${S}/output/bin/hv ${S}/output/bin/hv.map \
77 ${S}/output/bin/hv.uImage ${S}/output/bin/hv.bin \
78 ${DEPLOYDIR}/hv/
79}
80addtask deploy before do_build after do_install
81
82do_deploy_append() {
83 rm -f ${S}/../hv
84}
85
86INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
87ALLOW_EMPTY_${PN} = "1"
88PACKAGES_prepend = "${PN}-image ${PN}-partman "
89FILES_${PN}-image = "/boot/"
90FILES_${PN}-partman = "${bindir}/partman"
diff --git a/recipes-tools/eth-config/eth-config_git.bb b/recipes-tools/eth-config/eth-config_git.bb
deleted file mode 100644
index ac25013..0000000
--- a/recipes-tools/eth-config/eth-config_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "Ethernet Configuration Files"
2SECTION = "eth-config"
3LICENSE = "Freescale-EULA"
4LIC_FILES_CHKSUM = "file://COPYING;md5=cf02dc8eb5ac4a76f3812826520dea87"
5
6PR = "r2"
7
8SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git"
9SRCREV = "c255231fb606bff18390da3b26e1ee9fca55e4e6"
10
11S = "${WORKDIR}/git"
12
13do_install() {
14 install -d ${D}/etc/fmc/config
15 install -m 644 ${S}/*.xml ${D}/etc/fmc/config
16 install -d ${D}/etc/fmc/config/shared_mac
17 install -m 644 ${S}/shared_mac/*.xml ${D}/etc/fmc/config/shared_mac
18 install -m 644 ${S}/shared_mac/README ${D}/etc/fmc/config/shared_mac
19}
diff --git a/recipes-tools/flib/flib_git.bb b/recipes-tools/flib/flib_git.bb
deleted file mode 100644
index fb3f698..0000000
--- a/recipes-tools/flib/flib_git.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1DESCRIPTION = "Foundation Library"
2SECTION = "flib"
3LICENSE = "BSD & GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00"
5
6SRC_URI = "git://git.freescale.com/ppc/sdk/flib.git"
7SRCREV = "ff692ad3c286a07717c6677177825889fe17d450"
8
9S = "${WORKDIR}/git"
10
11do_install(){
12 oe_runmake install DESTDIR=${D}
13}
14
15ALLOW_EMPTY_${PN} = "1"
diff --git a/recipes-tools/hv-cfg/hv-cfg_git.bb b/recipes-tools/hv-cfg/hv-cfg_git.bb
deleted file mode 100644
index 2c6bb85..0000000
--- a/recipes-tools/hv-cfg/hv-cfg_git.bb
+++ /dev/null
@@ -1,46 +0,0 @@
1DESCRIPTION = "Hypervisor Config"
2SECTION = "hv-cfg"
3LICENSE = "BSD"
4PR = "r6"
5
6LIC_FILES_CHKSUM = " \
7 file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
8 file://p3041ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
9 file://p4080ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
10 file://p5020ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
11"
12
13DEPENDS += "dtc-native"
14
15# this package is specific to the machine itself
16INHIBIT_DEFAULT_DEPS = "1"
17PACKAGE_ARCH = "${MACHINE_ARCH}"
18COMPATIBLE_HOST_fslmachine = ".*"
19COMPATIBLE_HOST ?= "(none)"
20
21inherit deploy
22
23SRCREV = "d037ab9d5b9ecd58e10a7dac2b601d781ed9b5bf"
24SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git"
25
26S = "${WORKDIR}/git"
27
28do_install () {
29 make install
30
31 M=`echo ${MACHINE} | sed s/-64b//g`
32 install -d ${D}/boot/hv-cfg
33 cp -r ${S}/${M}/${M}/* ${D}/boot/hv-cfg
34}
35
36do_deploy () {
37 M=`echo ${MACHINE} | sed s/-64b//g`
38 install -d ${DEPLOYDIR}/hv-cfg
39 cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/hv-cfg
40}
41addtask deploy after do_install
42
43PACKAGES += "${PN}-image"
44FILES_${PN}-image += "/boot"
45
46ALLOW_EMPTY_${PN} = "1"
diff --git a/recipes-tools/mux-server/files/mux-server-1.02.tar.gz b/recipes-tools/mux-server/files/mux-server-1.02.tar.gz
deleted file mode 100644
index d8f2014..0000000
--- a/recipes-tools/mux-server/files/mux-server-1.02.tar.gz
+++ /dev/null
Binary files differ
diff --git a/recipes-tools/mux-server/mux-server_1.02.bb b/recipes-tools/mux-server/mux-server_1.02.bb
deleted file mode 100644
index ab9cce1..0000000
--- a/recipes-tools/mux-server/mux-server_1.02.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1DESCRIPTION = "A Linux-based utility supporting console multiplexing and demultiplexing"
2SECTION = "mux-server"
3LICENSE = "LGPL-2.1"
4# TODO: add a dedicated COPYING file
5LIC_FILES_CHKSUM = "file://mux_server.c;endline=9;md5=e59eeb0812bb88b7af2d932f2dc22aed"
6
7SRC_URI = "file://mux-server-${PV}.tar.gz;name=mux_server"
8
9EXTRA_OEMAKE='HOSTCC="${CC}"'
10
11do_install () {
12 install -d ${D}${bindir}
13 install -m 755 mux_server ${D}${bindir}
14}
15
16BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-tools/rcw/rcw_git.bb b/recipes-tools/rcw/rcw_git.bb
deleted file mode 100644
index c532a9d..0000000
--- a/recipes-tools/rcw/rcw_git.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1DESCRIPTION = "Reset Control Words (RCW)"
2SECTION = "rcw"
3LICENSE = "BSD"
4PR = "r8"
5
6LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e"
7
8# this package is specific to the machine itself
9INHIBIT_DEFAULT_DEPS = "1"
10PACKAGE_ARCH = "${MACHINE_ARCH}"
11COMPATIBLE_HOST_fslmachine = ".*"
12COMPATIBLE_HOST ?= "(none)"
13
14inherit deploy
15
16SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git"
17SRCREV = "5d3c819bcca6d09dcf7b52b3f2855dda304a5997"
18
19S = "${WORKDIR}/git"
20
21do_install () {
22 make install
23
24 M=`echo ${MACHINE} | sed s/-64b//g`
25 install -d ${D}/boot/rcw
26 cp -r ${S}/${M}/${M}/* ${D}/boot/rcw
27}
28
29do_deploy () {
30 M=`echo ${MACHINE} | sed s/-64b//g`
31 install -d ${DEPLOYDIR}/rcw
32 cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/rcw
33}
34addtask deploy after do_install
35
36PACKAGES += "${PN}-image"
37FILES_${PN}-image += "/boot"
38
39ALLOW_EMPTY_${PN} = "1"
diff --git a/recipes-tools/skmm/skmm_git.bb b/recipes-tools/skmm/skmm_git.bb
deleted file mode 100644
index 224e556..0000000
--- a/recipes-tools/skmm/skmm_git.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1DESCRIPTION = "SKMM application for PCIe endpoint"
2SECTION = "skmm"
3LICENSE = "BSD & GPLv2"
4LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
5
6DEPENDS = "libedit"
7
8SRC_URI = "git://git.freescale.com/ppc/sdk/skmm-ep.git"
9SRCREV = "80d8393a2033b3b0cc8f885702d7b288956f3a37"
10
11COMPATIBLE_MACHINE = "(p4080ds|t4240qds)"
12
13S = "${WORKDIR}/git"
14
15EXTRA_OEMAKE = 'MACHINE=${MACHINE}'
16
17export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)"
18export LIBEDIT_LDFLAGS="$(pkg-config --libs --static libedit)"
19
20do_compile () {
21 export ARCH=${TARGET_ARCH}
22 oe_runmake HOST=x86_64 clean
23 oe_runmake HOST=x86_64
24 oe_runmake HOST=powerpc clean
25 oe_runmake HOST=powerpc
26}
27
28do_install () {
29 oe_runmake ARCH=${TARGET_ARCH} HOST=x86_64 install DESTDIR=${D}
30 oe_runmake ARCH=${TARGET_ARCH} HOST=powerpc install DESTDIR=${D}
31}
32
33FILES_${PN} += "/home/root/.skmm/*"
diff --git a/recipes-tools/usdpaa/usdpaa_git.bb b/recipes-tools/usdpaa/usdpaa_git.bb
deleted file mode 100644
index 48e860f..0000000
--- a/recipes-tools/usdpaa/usdpaa_git.bb
+++ /dev/null
@@ -1,49 +0,0 @@
1DESCRIPTION = "User-Space Data-Path Acceleration Architecture drivers"
2LICENSE = "BSD & GPLv2"
3LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
4PR = "r4"
5
6inherit pkgconfig
7
8DEPENDS = "libxml2 libedit ncurses readline flib fmc"
9RDEPENDS_${PN} = "libgcc bash"
10
11SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git"
12SRCREV = "97fe45d9697ef339e10a1885539b23fa7fcb113e"
13
14S = "${WORKDIR}/git"
15
16EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}"'
17export ARCH="${TARGET_ARCH}"
18
19do_compile_prepend () {
20 case ${MACHINE} in
21 b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) SOC=B4860;;
22 t4240qds|t4240qds-64b) SOC=T4240;;
23 p1023rdb) SOC=P1023;;
24 *) SOC=P4080;;
25 esac
26 export FMC_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmc"
27 export FMLIB_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmd \
28 -I ${STAGING_INCDIR}/fmd/Peripherals \
29 -I ${STAGING_INCDIR}/fmd/integrations \
30 -D $SOC"
31
32 export LIBXML2_CFLAGS="$(pkg-config --cflags libxml-2.0)"
33 export LIBXML2_LDFLAGS="$(pkg-config --libs --static libxml-2.0)"
34 export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)"
35 export LIBEDIT_LDFLAGS="$(pkg-config --libs --static libedit)"
36}
37
38do_install () {
39 oe_runmake install DESTDIR=${D}
40}
41
42PARALLEL_MAKE_pn-${PN} = ""
43FILES_${PN} += "/root/SOURCE_THIS /usr/etc/"
44
45PACKAGE_ARCH = "${MACHINE_ARCH}"
46
47COMPATIBLE_HOST_fslmachine = ".*"
48COMPATIBLE_HOST ?= "(none)"
49
diff --git a/recipes-tools/web-sysmon/web-sysmon_git.bb b/recipes-tools/web-sysmon/web-sysmon_git.bb
deleted file mode 100644
index 1b2e070..0000000
--- a/recipes-tools/web-sysmon/web-sysmon_git.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1DESCRIPTION = "Web System Monitor Files"
2SECTION = "web-sysmon"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
5
6SRC_URI = "git://git.freescale.com/ppc/sdk/web-sysmon.git"
7SRCREV = "40b47611378ef5c07d98f0f691bb146ae52dcdc1"
8
9S = "${WORKDIR}/git"
10
11FILES_${PN} += "/"
12
13RDEPENDS_${PN} = "lighttpd"
14
15do_install() {
16 install -d ${D}/etc
17 install -m 644 ${S}/lighttpd.conf ${D}/etc
18 install -d ${D}/usr/local/bin
19 install -m 755 ${S}/rrd/sens_update_rrd ${D}/usr/local/bin
20 cp -r ${S}/rrd ${D}/usr
21}