images: Merge common functionality into image.bbclass, add copyright headers

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1732 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2007-05-16 13:33:27 +00:00
parent 9c1cf5640f
commit 73a06a99b0
6 changed files with 27 additions and 49 deletions

View File

@ -1,6 +1,11 @@
inherit rootfs_${IMAGE_PKGTYPE}
LICENSE = "MIT"
PACKAGES = ""
RDEPENDS = "${IMAGE_INSTALL}"
export IMAGE_BASENAME = "${PN}"
export PACKAGE_INSTALL = "${IMAGE_INSTALL}"
# We need to recursively follow RDEPENDS and RRECOMMENDS for images
BUILD_ALL_DEPS = "1"

View File

@ -1,12 +1,7 @@
PR = "r0"
export IMAGE_BASENAME = "oh-image-base"
DEPENDS = "task-oh"
RDEPENDS = "${DISTRO_TASKS}"
export PACKAGE_INSTALL = "${RDEPENDS}"
#
# Copyright (C) 2007 OpenedHand Ltd.
#
IMAGE_INSTALL = "${DISTRO_TASKS}"
inherit image
LICENSE = MIT

View File

@ -1,14 +1,8 @@
PR = "r0"
export IMAGE_BASENAME = "oh-image-core"
#
# Copyright (C) 2007 OpenedHand Ltd.
#
IMAGE_FEATURES += "apps-core"
DEPENDS = "task-oh"
RDEPENDS = "${DISTRO_TASKS}"
export PACKAGE_INSTALL = "${RDEPENDS}"
IMAGE_INSTALL = "${DISTRO_TASKS}"
inherit image
LICENSE = MIT

View File

@ -1,9 +1,8 @@
LICENSE = "MIT"
DEPENDS = "task-oh"
export IMAGE_BASENAME = "${PN}"
export PACKAGE_INSTALL = "task-oh-boot"
#
# Copyright (C) 2007 OpenedHand Ltd.
#
IMAGE_INSTALL = "task-oh-boot"
inherit image
# remove not needed stuff (locale support and ipkg support)

View File

@ -1,14 +1,7 @@
PR = "r10"
export IMAGE_BASENAME = "oh-image-pda"
#
# Copyright (C) 2007 OpenedHand Ltd.
#
IMAGE_FEATURES += "apps-core apps-pda"
DEPENDS = "task-oh"
RDEPENDS = "${DISTRO_TASKS}"
export PACKAGE_INSTALL = "${RDEPENDS}"
IMAGE_INSTALL = "${DISTRO_TASKS}"
inherit image
LICENSE = MIT

View File

@ -1,15 +1,7 @@
PR = "r9"
export IMAGE_BASENAME = "oh-image-sdk"
#
# Copyright (C) 2007 OpenedHand Ltd.
#
IMAGE_FEATURES += "apps-core apps-pda dev-tools dev-pkgs dbg-pkgs"
DEPENDS = "\
task-oh \
task-oh-sdk"
RDEPENDS = "${DISTRO_TASKS}"
export PACKAGE_INSTALL = "${RDEPENDS}"
IMAGE_INSTALL = "${DISTRO_TASKS}"
inherit image
LICENSE = MIT