Complete packages -> recipes transition

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-09-20 14:18:45 +01:00
parent 03d9669cbc
commit 79a4501a2e
26 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#
# Copyright (C) 2008 OpenedHand Ltd.
#
DESCRIPTION = "NFS tasks for Poky"
LICENSE = "MIT"
PR = "r0"
PACKAGES = "\
task-poky-nfs-server \
task-poky-nfs-server-dbg \
task-poky-nfs-server-dev \
"
ALLOW_EMPTY = "1"
RDEPENDS_task-poky-nfs-server = "\
nfs-utils"
# rpcinfo can be useful but only with glibc images
GLIBC_DEPENDENCIES = "glibc-utils"
RRECOMMENDS_task-poky-nfs-server_append_linux = "${GLIBC_DEPENDENCIES}"
RRECOMMENDS_task-poky-nfs-server_append_linux-gnueabi = "${GLIBC_DEPENDENCIES}"

View File

@@ -0,0 +1,84 @@
#
# Copyright (C) 2007 OpenedHand Ltd.
#
DESCRIPTON = "Software Development Tasks for OpenedHand Poky"
LICENSE = "MIT"
DEPENDS = "task-poky"
PR = "r5"
ALLOW_EMPTY = "1"
#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
PACKAGES = "\
task-poky-sdk \
task-poky-sdk-dbg \
task-poky-sdk-dev"
RDEPENDS_task-poky-sdk = "\
autoconf \
automake \
binutils \
binutils-symlinks \
coreutils \
cpp \
cpp-symlinks \
diffutils \
gcc \
gcc-symlinks \
g++ \
g++-symlinks \
gettext \
make \
intltool \
libstdc++ \
libstdc++-dev \
libtool \
perl-module-re \
perl-module-text-wrap \
pkgconfig \
findutils \
quilt \
less \
distcc"
#python generate_sdk_pkgs () {
# poky_pkgs = read_pkgdata('task-poky', d)['PACKAGES']
# pkgs = bb.data.getVar('PACKAGES', d, 1).split()
# for pkg in poky_pkgs.split():
# newpkg = pkg.replace('task-poky', 'task-poky-sdk')
#
# # for each of the task packages, add a corresponding sdk task
# pkgs.append(newpkg)
#
# # for each sdk task, take the rdepends of the non-sdk task, and turn
# # that into rrecommends upon the -dev versions of those, not unlike
# # the package depchain code
# spkgdata = read_subpkgdata(pkg, d)
#
# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '')
# rreclist = []
#
# for depend in rdepends:
# split_depend = depend.split(' (')
# name = split_depend[0].strip()
# if packaged('%s-dev' % name, d):
# rreclist.append('%s-dev' % name)
# else:
# deppkgdata = read_subpkgdata(name, d)
# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '')
# for depend in rdepends2:
# split_depend = depend.split(' (')
# name = split_depend[0].strip()
# if packaged('%s-dev' % name, d):
# rreclist.append('%s-dev' % name)
#
# oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or ''
# bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d)
# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d)))
#
# # bb.note('pkgs is %s' % pkgs)
# bb.data.setVar('PACKAGES', ' '.join(pkgs), d)
#}
#
#PACKAGES_DYNAMIC = "task-poky-sdk-*"

View File

@@ -0,0 +1,14 @@
DESCRIPTION = "Target packages for the standalone SDK"
PR = "r6"
LICENSE = "MIT"
ALLOW_EMPTY = "1"
PACKAGES = "${PN} ${PN}-dbg"
RDEPENDS_${PN} = "\
libgcc \
libgcc-dev \
libstdc++ \
libstdc++-dev \
${LIBC_DEPENDENCIES} \
"

View File

@@ -0,0 +1,77 @@
#
# Copyright (C) 2008 OpenedHand Ltd.
#
DESCRIPTION = "Tools tasks for Poky"
LICENSE = "MIT"
PR = "r6"
PACKAGES = "\
task-poky-tools-debug \
task-poky-tools-debug-dbg \
task-poky-tools-debug-dev \
task-poky-tools-profile \
task-poky-tools-profile-dbg \
task-poky-tools-profile-dev \
task-poky-tools-testapps \
task-poky-tools-testapps-dbg \
task-poky-tools-testapps-dev \
"
PACKAGE_ARCH = "${MACHINE_ARCH}"
ALLOW_EMPTY = "1"
# kexec-tools doesn't work on Mips
KEXECTOOLS ?= "kexec-tools"
KEXECTOOLS_mips ?= ""
KEXECTOOLS_mipsel ?= ""
KEXECTOOLS_powerpc ?= ""
RDEPENDS_task-poky-tools-debug = "\
gdb \
gdbserver \
tcf-agent \
strace"
RDEPENDS_task-poky-tools-profile = "\
oprofile \
oprofileui-server \
powertop \
latencytop \
lttng-control \
lttng-viewer"
RRECOMMENDS_task-poky-tools-profile = "\
perf \
trace-cmd \
kernel-module-oprofile"
# exmap-console
# exmap-server
# At present we only build lttng-ust on
# qemux86/qemux86-64/qemuppc/emenlow/netbook since upstream liburcu
# (which is required by lttng-ust) may not build on other platforms, like
# MIPS and qemu ARMv5te that poky uses now.
RDEPENDS_task-poky-tools-profile_append_qemux86 = " valgrind lttng-ust"
RDEPENDS_task-poky-tools-profile_append_qemux86-64 = " lttng-ust"
RDEPENDS_task-poky-tools-profile_append_qemuppc = " lttng-ust"
RDEPENDS_task-poky-tools-profile_append_emenlow = " lttng-ust"
RDEPENDS_task-poky-tools-profile_append_netbook = " lttng-ust"
RDEPENDS_task-poky-tools-testapps = "\
blktool \
tslib-calibrate \
tslib-tests \
lrzsz \
${KEXECTOOLS} \
alsa-utils-amixer \
alsa-utils-aplay \
owl-video \
gst-meta-video \
gst-meta-audio \
xrestop \
xwininfo \
xprop \
xvideo-tests"

View File

@@ -0,0 +1,32 @@
#
# Copyright (C) 2007 OpenedHand Ltd
#
DESCRIPTION = "Host packages for the standalone SDK or external toolchain"
PR = "r8"
LICENSE = "MIT"
ALLOW_EMPTY = "1"
inherit nativesdk
PACKAGES = "${PN}"
RDEPENDS_${PN} = "\
binutils-cross-canadian \
gdb-cross-canadian \
gcc-cross-canadian \
pkgconfig-nativesdk \
qemu-nativesdk \
qemu-helper-nativesdk \
pseudo-nativesdk \
unfs-server-nativesdk \
opkg-nativesdk \
"
RDEPENDS_${PN}_darwin8 = "\
odcctools-cross-canadian \
llvm-cross-canadian \
pkgconfig-nativesdk \
opkg-nativesdk \
libtool-nativesdk \
"