diff options
author | Richard Purdie <richard@openedhand.com> | 2006-12-20 00:00:03 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-12-20 00:00:03 +0000 |
commit | f5b38f9db0cebb0c7c9d9d72fa98a4ff5241db20 (patch) | |
tree | 337089b8ad5015b9485099a263763c0c72cd3a99 /meta/packages | |
parent | 50bbb7742c760360d1003e441e2a029bee3035df (diff) | |
download | poky-f5b38f9db0cebb0c7c9d9d72fa98a4ff5241db20.tar.gz |
Remove DISTRO_TYPE, replacing with IMAGE_FEATURES. Documentation is in local.conf.sample
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1053 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/dropbear/dropbear.inc | 2 | ||||
-rw-r--r-- | meta/packages/images/oh-image-base.bb | 2 | ||||
-rw-r--r-- | meta/packages/images/oh-image-core.bb | 7 | ||||
-rw-r--r-- | meta/packages/images/oh-image-pda.bb | 10 | ||||
-rw-r--r-- | meta/packages/images/oh-image-sdk.bb | 13 | ||||
-rw-r--r-- | meta/packages/linux/linux-rp.inc | 2 | ||||
-rw-r--r-- | meta/packages/tasks/task-oh-sdk.bb | 89 | ||||
-rw-r--r-- | meta/packages/tasks/task-oh.bb | 21 |
8 files changed, 76 insertions, 70 deletions
diff --git a/meta/packages/dropbear/dropbear.inc b/meta/packages/dropbear/dropbear.inc index 301ac24cb2..19224a98e9 100644 --- a/meta/packages/dropbear/dropbear.inc +++ b/meta/packages/dropbear/dropbear.inc | |||
@@ -25,6 +25,8 @@ SBINCOMMANDS = "dropbear dropbearkey dropbearconvert" | |||
25 | BINCOMMANDS = "dbclient ssh scp" | 25 | BINCOMMANDS = "dbclient ssh scp" |
26 | EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' | 26 | EXTRA_OEMAKE = 'MULTI=1 SCPPROGRESS=1 PROGRAMS="${SBINCOMMANDS} ${BINCOMMANDS}"' |
27 | 27 | ||
28 | DISTRO_TYPE = "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)} \ | ||
29 | |||
28 | do_configure_prepend() { | 30 | do_configure_prepend() { |
29 | if [ "x${DISTRO}" != "xfamiliar" -a "${DISTRO_TYPE}" == "debug" ]; then | 31 | if [ "x${DISTRO}" != "xfamiliar" -a "${DISTRO_TYPE}" == "debug" ]; then |
30 | oenote "WARNING: applying allow-nopw.patch which allows password-less logins!" | 32 | oenote "WARNING: applying allow-nopw.patch which allows password-less logins!" |
diff --git a/meta/packages/images/oh-image-base.bb b/meta/packages/images/oh-image-base.bb index 4a61e70519..9b87f833e8 100644 --- a/meta/packages/images/oh-image-base.bb +++ b/meta/packages/images/oh-image-base.bb | |||
@@ -4,7 +4,7 @@ export IMAGE_BASENAME = "oh-image-base" | |||
4 | 4 | ||
5 | DEPENDS = "task-oh" | 5 | DEPENDS = "task-oh" |
6 | 6 | ||
7 | RDEPENDS = "task-oh-boot task-oh-boot-extras" | 7 | RDEPENDS = "${DISTRO_TASKS}" |
8 | 8 | ||
9 | export PACKAGE_INSTALL = "${RDEPENDS}" | 9 | export PACKAGE_INSTALL = "${RDEPENDS}" |
10 | 10 | ||
diff --git a/meta/packages/images/oh-image-core.bb b/meta/packages/images/oh-image-core.bb index e416d84843..0e2e7d6f0d 100644 --- a/meta/packages/images/oh-image-core.bb +++ b/meta/packages/images/oh-image-core.bb | |||
@@ -2,12 +2,11 @@ PR = "r0" | |||
2 | 2 | ||
3 | export IMAGE_BASENAME = "oh-image-core" | 3 | export IMAGE_BASENAME = "oh-image-core" |
4 | 4 | ||
5 | IMAGE_FEATURES += "apps-core" | ||
6 | |||
5 | DEPENDS = "task-oh" | 7 | DEPENDS = "task-oh" |
6 | 8 | ||
7 | RDEPENDS = "\ | 9 | RDEPENDS = "${DISTRO_TASKS}" |
8 | task-oh-boot \ | ||
9 | task-oh-boot-extras \ | ||
10 | task-oh-base " | ||
11 | 10 | ||
12 | export PACKAGE_INSTALL = "${RDEPENDS}" | 11 | export PACKAGE_INSTALL = "${RDEPENDS}" |
13 | 12 | ||
diff --git a/meta/packages/images/oh-image-pda.bb b/meta/packages/images/oh-image-pda.bb index d4576a0c55..b072458a36 100644 --- a/meta/packages/images/oh-image-pda.bb +++ b/meta/packages/images/oh-image-pda.bb | |||
@@ -2,15 +2,11 @@ PR = "r10" | |||
2 | 2 | ||
3 | export IMAGE_BASENAME = "oh-image-pda" | 3 | export IMAGE_BASENAME = "oh-image-pda" |
4 | 4 | ||
5 | IMAGE_FEATURES += "apps-core apps-pda" | ||
6 | |||
5 | DEPENDS = "task-oh" | 7 | DEPENDS = "task-oh" |
6 | 8 | ||
7 | RDEPENDS = "\ | 9 | RDEPENDS = "${DISTRO_TASKS}" |
8 | task-oh-boot \ | ||
9 | task-oh-boot-extras \ | ||
10 | task-oh-base \ | ||
11 | task-oh-standard \ | ||
12 | ${@base_conditional("DISTRO_TYPE", "debug", "task-oh-devtools", "",d)} \ | ||
13 | ${@base_conditional("DISTRO_TYPE", "debug", "task-oh-testapps", "",d)} " | ||
14 | 10 | ||
15 | export PACKAGE_INSTALL = "${RDEPENDS}" | 11 | export PACKAGE_INSTALL = "${RDEPENDS}" |
16 | 12 | ||
diff --git a/meta/packages/images/oh-image-sdk.bb b/meta/packages/images/oh-image-sdk.bb index d94ce2b1d4..581defb816 100644 --- a/meta/packages/images/oh-image-sdk.bb +++ b/meta/packages/images/oh-image-sdk.bb | |||
@@ -2,20 +2,13 @@ PR = "r9" | |||
2 | 2 | ||
3 | export IMAGE_BASENAME = "oh-image-sdk" | 3 | export IMAGE_BASENAME = "oh-image-sdk" |
4 | 4 | ||
5 | IMAGE_FEATURES += "apps-core apps-pda dev-tools dev-pkgs dbg-pkgs" | ||
6 | |||
5 | DEPENDS = "\ | 7 | DEPENDS = "\ |
6 | task-oh \ | 8 | task-oh \ |
7 | task-oh-sdk" | 9 | task-oh-sdk" |
8 | 10 | ||
9 | RDEPENDS = "\ | 11 | RDEPENDS = "${DISTRO_TASKS}" |
10 | task-oh-boot \ | ||
11 | task-oh-boot-extras \ | ||
12 | task-oh-base \ | ||
13 | task-oh-standard \ | ||
14 | task-oh-devtools \ | ||
15 | task-oh-testapps \ | ||
16 | task-oh-sdk \ | ||
17 | task-oh-sdk-base" | ||
18 | |||
19 | export PACKAGE_INSTALL = "${RDEPENDS}" | 12 | export PACKAGE_INSTALL = "${RDEPENDS}" |
20 | 13 | ||
21 | inherit image | 14 | inherit image |
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc index ba446bdda5..fe52edb68f 100644 --- a/meta/packages/linux/linux-rp.inc +++ b/meta/packages/linux/linux-rp.inc | |||
@@ -27,7 +27,7 @@ CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd" | |||
27 | CMDLINE_ROOT = "root=/dev/mtdblock2 rootfstype=jffs2" | 27 | CMDLINE_ROOT = "root=/dev/mtdblock2 rootfstype=jffs2" |
28 | CMDLINE_ROOT_spitz = "root=/dev/hda1 rootfstype=ext3 rootdelay=1 rw" | 28 | CMDLINE_ROOT_spitz = "root=/dev/hda1 rootfstype=ext3 rootdelay=1 rw" |
29 | CMDLINE_OTHER = "dyntick=enable" | 29 | CMDLINE_OTHER = "dyntick=enable" |
30 | CMDLINE_DEBUG = '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}' | 30 | CMDLINE_DEBUG = '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "quiet", d)}' |
31 | 31 | ||
32 | ############################################################## | 32 | ############################################################## |
33 | # Configure memory/ramdisk split for collie | 33 | # Configure memory/ramdisk split for collie |
diff --git a/meta/packages/tasks/task-oh-sdk.bb b/meta/packages/tasks/task-oh-sdk.bb index a142816306..ac3aaec746 100644 --- a/meta/packages/tasks/task-oh-sdk.bb +++ b/meta/packages/tasks/task-oh-sdk.bb | |||
@@ -1,10 +1,13 @@ | |||
1 | DESCRIPTON = "Software Development Tasks for OpenedHand Poky" | 1 | DESCRIPTON = "Software Development Tasks for OpenedHand Poky" |
2 | PR = "r11" | 2 | PR = "r12" |
3 | DEPENDS = "task-oh" | 3 | DEPENDS = "task-oh" |
4 | ALLOW_EMPTY = "1" | 4 | ALLOW_EMPTY = "1" |
5 | PACKAGEFUNCS =+ 'generate_sdk_pkgs' | 5 | #PACKAGEFUNCS =+ 'generate_sdk_pkgs' |
6 | 6 | ||
7 | PACKAGES = "task-oh-sdk" | 7 | PACKAGES = "\ |
8 | task-oh-sdk \ | ||
9 | task-oh-sdk-dbg \ | ||
10 | task-oh-sdk-dev" | ||
8 | 11 | ||
9 | RDEPENDS_task-oh-sdk = "\ | 12 | RDEPENDS_task-oh-sdk = "\ |
10 | autoconf \ | 13 | autoconf \ |
@@ -19,43 +22,43 @@ RDEPENDS_task-oh-sdk = "\ | |||
19 | pkgconfig \ | 22 | pkgconfig \ |
20 | distcc" | 23 | distcc" |
21 | 24 | ||
22 | python generate_sdk_pkgs () { | 25 | #python generate_sdk_pkgs () { |
23 | ohpkgs = read_pkgdata('task-oh', d)['PACKAGES'] | 26 | # ohpkgs = read_pkgdata('task-oh', d)['PACKAGES'] |
24 | pkgs = bb.data.getVar('PACKAGES', d, 1).split() | 27 | # pkgs = bb.data.getVar('PACKAGES', d, 1).split() |
25 | for pkg in ohpkgs.split(): | 28 | # for pkg in ohpkgs.split(): |
26 | newpkg = pkg.replace('task-oh', 'task-oh-sdk') | 29 | # newpkg = pkg.replace('task-oh', 'task-oh-sdk') |
27 | 30 | # | |
28 | # for each of the task packages, add a corresponding sdk task | 31 | # # for each of the task packages, add a corresponding sdk task |
29 | pkgs.append(newpkg) | 32 | # pkgs.append(newpkg) |
30 | 33 | # | |
31 | # for each sdk task, take the rdepends of the non-sdk task, and turn | 34 | # # for each sdk task, take the rdepends of the non-sdk task, and turn |
32 | # that into rrecommends upon the -dev versions of those, not unlike | 35 | # # that into rrecommends upon the -dev versions of those, not unlike |
33 | # the package depchain code | 36 | # # the package depchain code |
34 | spkgdata = read_subpkgdata(pkg, d) | 37 | # spkgdata = read_subpkgdata(pkg, d) |
35 | 38 | # | |
36 | rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '') | 39 | # rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '') |
37 | rreclist = [] | 40 | # rreclist = [] |
38 | 41 | # | |
39 | for depend in rdepends: | 42 | # for depend in rdepends: |
40 | split_depend = depend.split(' (') | 43 | # split_depend = depend.split(' (') |
41 | name = split_depend[0].strip() | 44 | # name = split_depend[0].strip() |
42 | if packaged('%s-dev' % name, d): | 45 | # if packaged('%s-dev' % name, d): |
43 | rreclist.append('%s-dev' % name) | 46 | # rreclist.append('%s-dev' % name) |
44 | else: | 47 | # else: |
45 | deppkgdata = read_subpkgdata(name, d) | 48 | # deppkgdata = read_subpkgdata(name, d) |
46 | rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '') | 49 | # rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '') |
47 | for depend in rdepends2: | 50 | # for depend in rdepends2: |
48 | split_depend = depend.split(' (') | 51 | # split_depend = depend.split(' (') |
49 | name = split_depend[0].strip() | 52 | # name = split_depend[0].strip() |
50 | if packaged('%s-dev' % name, d): | 53 | # if packaged('%s-dev' % name, d): |
51 | rreclist.append('%s-dev' % name) | 54 | # rreclist.append('%s-dev' % name) |
52 | 55 | # | |
53 | oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or '' | 56 | # oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or '' |
54 | bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d) | 57 | # bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d) |
55 | # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d))) | 58 | # # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d))) |
56 | 59 | # | |
57 | # bb.note('pkgs is %s' % pkgs) | 60 | # # bb.note('pkgs is %s' % pkgs) |
58 | bb.data.setVar('PACKAGES', ' '.join(pkgs), d) | 61 | # bb.data.setVar('PACKAGES', ' '.join(pkgs), d) |
59 | } | 62 | #} |
60 | 63 | # | |
61 | PACKAGES_DYNAMIC = "task-oh-sdk-*" | 64 | #PACKAGES_DYNAMIC = "task-oh-sdk-*" |
diff --git a/meta/packages/tasks/task-oh.bb b/meta/packages/tasks/task-oh.bb index d7f9b055a1..5b9ce8ce81 100644 --- a/meta/packages/tasks/task-oh.bb +++ b/meta/packages/tasks/task-oh.bb | |||
@@ -1,14 +1,28 @@ | |||
1 | DESCRIPTION = "Tasks for OpenedHand Poky" | 1 | pDESCRIPTION = "Tasks for OpenedHand Poky" |
2 | PR = "r43" | 2 | PR = "r44" |
3 | 3 | ||
4 | PACKAGES = "\ | 4 | PACKAGES = "\ |
5 | task-oh-base \ | 5 | task-oh-base \ |
6 | task-oh-base-dbg \ | ||
7 | task-oh-base-dev \ | ||
6 | task-oh-boot \ | 8 | task-oh-boot \ |
9 | task-oh-boot-dbg \ | ||
10 | task-oh-boot-dev \ | ||
7 | task-oh-standard \ | 11 | task-oh-standard \ |
12 | task-oh-standard-dbg \ | ||
13 | task-oh-standard-dev \ | ||
8 | task-oh-boot-extras \ | 14 | task-oh-boot-extras \ |
15 | task-oh-boot-extras-dbg \ | ||
16 | task-oh-boot-extras-dev \ | ||
9 | task-oh-boot-min-extras \ | 17 | task-oh-boot-min-extras \ |
18 | task-oh-boot-min-extras-dbg \ | ||
19 | task-oh-boot-min-extras-dev \ | ||
10 | task-oh-devtools \ | 20 | task-oh-devtools \ |
11 | task-oh-testapps" | 21 | task-oh-devtools-dbg \ |
22 | task-oh-devtools-dev \ | ||
23 | task-oh-testapps \ | ||
24 | task-oh-testapps-dbg \ | ||
25 | task-oh-testapps-dev" | ||
12 | 26 | ||
13 | XSERVER ?= "xserver-kdrive-fbdev" | 27 | XSERVER ?= "xserver-kdrive-fbdev" |
14 | 28 | ||
@@ -29,7 +43,6 @@ RDEPENDS_task-oh-boot = "\ | |||
29 | ipkg \ | 43 | ipkg \ |
30 | update-alternatives \ | 44 | update-alternatives \ |
31 | module-init-tools-depmod" | 45 | module-init-tools-depmod" |
32 | # linux-hotplug \ | ||
33 | 46 | ||
34 | RDEPENDS_task-oh-boot-extras = "\ | 47 | RDEPENDS_task-oh-boot-extras = "\ |
35 | task-base" | 48 | task-base" |