mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
Rewrite IMAGE_FEATURES tools options (people may be to update their local.conf), split into debug and profiling and add more profiling tools.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2063 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -30,19 +30,20 @@ DISTRO ?= "poky"
|
|||||||
|
|
||||||
# IMAGE_FEATURES configuration of the generated images
|
# IMAGE_FEATURES configuration of the generated images
|
||||||
# (Some of these are automatically added to certain image types)
|
# (Some of these are automatically added to certain image types)
|
||||||
# "dev-pkgs" - add -dev packages for all installed packages
|
# "dbg-pkgs" - add -dbg packages for all installed packages
|
||||||
# (useful if you want to develop against libs in the image)
|
# (adds symbol information for debugging/profiling)
|
||||||
# "dbg-pkgs" - add -dbg packages for all installed packages
|
# "dev-pkgs" - add -dev packages for all installed packages
|
||||||
# (adds symbol information for debugging/profiling)
|
# (useful if you want to develop against libs in the image)
|
||||||
# "apps-core" - core applications
|
# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
|
||||||
# "apps-pda" - add PDA application suite (contacts, dates, etc.)
|
# "tools-debug" - add debugging tools (gdb, strace)
|
||||||
# "dev-tools" - add development tools (gcc, make, pkgconfig etc.)
|
# "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only))
|
||||||
# "dbg-tools" - add debugging tools (gdb, strace, oprofile, etc.)
|
# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
|
||||||
# "test-tools" - add useful testing tools (ts_print, aplay, arecord etc.)
|
# "debug-tweaks" - make an image for suitable of development
|
||||||
# "debug-tweaks" - make an image for suitable of development
|
# e.g. ssh root access has a blank password
|
||||||
# e.g. ssh root access has a blank password
|
# There are other application targets too, see meta/classes/poky-image.bbclass
|
||||||
|
# and meta/packages/tasks/task-poky.bb for more details.
|
||||||
|
|
||||||
IMAGE_FEATURES = "dbg-tools test-tools debug-tweaks"
|
IMAGE_FEATURES = "tools-dbg tools-profile tools-testapps debug-tweaks"
|
||||||
|
|
||||||
# A list of packaging systems used in generated images
|
# A list of packaging systems used in generated images
|
||||||
# The first package type listed will be used for rootfs generation
|
# The first package type listed will be used for rootfs generation
|
||||||
|
|||||||
@@ -51,17 +51,21 @@ DISTRO_TASKS += '\
|
|||||||
${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dbg-pkgs"], "task-poky-apps-x11-pimlico-dbg", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dbg-pkgs"], "task-poky-apps-x11-pimlico-dbg", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dev-pkgs"], "task-poky-apps-x11-pimlico-dev", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dev-pkgs"], "task-poky-apps-x11-pimlico-dev", "",d)} \
|
||||||
\
|
\
|
||||||
${@base_contains("IMAGE_FEATURES", "dev-tools", "task-poky-sdk", "",d)} \
|
${@base_contains("IMAGE_FEATURES", "tools-debug", "task-poky-tools-debug", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-poky-sdk-dbg", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["tools-debug", "dbg-pkgs"], "task-poky-tools-debug-dbg", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["dev-tools", "dev-pkgs"], "task-poky-sdk-dev", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["tools-debug", "dev-pkgs"], "task-poky-tools-debug-dev", "",d)} \
|
||||||
\
|
\
|
||||||
${@base_contains("IMAGE_FEATURES", "dbg-tools", "task-poky-devtools", "",d)} \
|
${@base_contains("IMAGE_FEATURES", "tools-profile", "task-poky-tools-profile", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dbg-pkgs"], "task-poky-devtools-dbg", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["tools-profile", "dbg-pkgs"], "task-poky-tools-profile-dbg", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dev-pkgs"], "task-poky-devtools-dev", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["tools-profile", "dev-pkgs"], "task-poky-tools-profile-dev", "",d)} \
|
||||||
\
|
\
|
||||||
${@base_contains("IMAGE_FEATURES", "test-tools", "task-poky-testapps", "",d)} \
|
${@base_contains("IMAGE_FEATURES", "tools-testapps", "task-poky-tools-testapps", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["test-tools", "dbg-pkgs"], "task-poky-testapps-dbg", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["tools-testapps", "dbg-pkgs"], "task-poky-testapps-dbg", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-poky-testapps-dev", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["tools-testapps", "dev-pkgs"], "task-poky-testapps-dev", "",d)} \
|
||||||
|
\
|
||||||
|
${@base_contains("IMAGE_FEATURES", "tools-sdk", "task-poky-sdk", "",d)} \
|
||||||
|
${@base_contains("IMAGE_FEATURES", ["tools-sdk", "dbg-pkgs"], "task-poky-sdk-dbg", "",d)} \
|
||||||
|
${@base_contains("IMAGE_FEATURES", ["tools-sdk", "dev-pkgs"], "task-poky-sdk-dev", "",d)} \
|
||||||
\
|
\
|
||||||
${@base_contains("IMAGE_FEATURES", "nfs-server", "task-poky-nfs-server", "",d)} \
|
${@base_contains("IMAGE_FEATURES", "nfs-server", "task-poky-nfs-server", "",d)} \
|
||||||
${@base_contains("IMAGE_FEATURES", ["nfs-server", "dbg-pkgs"], "task-poky-nfs-server-dbg", "",d)} \
|
${@base_contains("IMAGE_FEATURES", ["nfs-server", "dbg-pkgs"], "task-poky-nfs-server-dbg", "",d)} \
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
DESCRIPTION = "Tasks for OpenedHand Poky"
|
DESCRIPTION = "Tasks for OpenedHand Poky"
|
||||||
PR = "r4"
|
PR = "r5"
|
||||||
|
|
||||||
PACKAGES = "\
|
PACKAGES = "\
|
||||||
task-poky-apps-console \
|
task-poky-apps-console \
|
||||||
@@ -24,12 +24,15 @@ PACKAGES = "\
|
|||||||
task-poky-x11-sato \
|
task-poky-x11-sato \
|
||||||
task-poky-x11-sato-dbg \
|
task-poky-x11-sato-dbg \
|
||||||
task-poky-x11-sato-dev \
|
task-poky-x11-sato-dev \
|
||||||
task-poky-devtools \
|
task-poky-tools-debug \
|
||||||
task-poky-devtools-dbg \
|
task-poky-tools-debug-dbg \
|
||||||
task-poky-devtools-dev \
|
task-poky-tools-debug-dev \
|
||||||
task-poky-testapps \
|
task-poky-tools-profile \
|
||||||
task-poky-testapps-dbg \
|
task-poky-tools-profile-dbg \
|
||||||
task-poky-testapps-dev \
|
task-poky-tools-profile-dev \
|
||||||
|
task-poky-tools-testapps \
|
||||||
|
task-poky-tools-testapps-dbg \
|
||||||
|
task-poky-tools-testapps-dev \
|
||||||
task-poky-nfs-server \
|
task-poky-nfs-server \
|
||||||
task-poky-nfs-server-dbg \
|
task-poky-nfs-server-dbg \
|
||||||
task-poky-nfs-server-dev \
|
task-poky-nfs-server-dev \
|
||||||
@@ -41,12 +44,14 @@ XSERVER ?= "xserver-kdrive-fbdev"
|
|||||||
|
|
||||||
ALLOW_EMPTY = "1"
|
ALLOW_EMPTY = "1"
|
||||||
|
|
||||||
|
|
||||||
RDEPENDS_task-poky-apps-console = "\
|
RDEPENDS_task-poky-apps-console = "\
|
||||||
avahi-daemon \
|
avahi-daemon \
|
||||||
dropbear \
|
dropbear \
|
||||||
portmap \
|
portmap \
|
||||||
psplash"
|
psplash"
|
||||||
|
|
||||||
|
|
||||||
RDEPENDS_task-poky-x11-base = "\
|
RDEPENDS_task-poky-x11-base = "\
|
||||||
matchbox-common \
|
matchbox-common \
|
||||||
matchbox-wm \
|
matchbox-wm \
|
||||||
@@ -64,23 +69,25 @@ RDEPENDS_task-poky-x11-base = "\
|
|||||||
xset \
|
xset \
|
||||||
xrandr"
|
xrandr"
|
||||||
|
|
||||||
|
|
||||||
RDEPENDS_task-poky-apps-x11-core = "\
|
RDEPENDS_task-poky-apps-x11-core = "\
|
||||||
leafpad \
|
leafpad \
|
||||||
pcmanfm \
|
pcmanfm \
|
||||||
rxvt-unicode \
|
rxvt-unicode \
|
||||||
screenshot \
|
screenshot"
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS_task-poky-apps-x11-games = "\
|
RDEPENDS_task-poky-apps-x11-games = "\
|
||||||
puzzles"
|
puzzles"
|
||||||
|
|
||||||
|
|
||||||
RDEPENDS_task-poky-apps-x11-pimlico = "\
|
RDEPENDS_task-poky-apps-x11-pimlico = "\
|
||||||
eds-dbus \
|
eds-dbus \
|
||||||
contacts \
|
contacts \
|
||||||
dates \
|
dates \
|
||||||
tasks \
|
tasks \
|
||||||
web \
|
web"
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS_task-poky-x11-sato = "\
|
RDEPENDS_task-poky-x11-sato = "\
|
||||||
matchbox-desktop \
|
matchbox-desktop \
|
||||||
@@ -95,18 +102,27 @@ RDEPENDS_task-poky-x11-sato = "\
|
|||||||
settings-daemon \
|
settings-daemon \
|
||||||
gtk-sato-engine"
|
gtk-sato-engine"
|
||||||
|
|
||||||
RDEPENDS_task-poky-devtools = "\
|
|
||||||
|
RDEPENDS_task-poky-tools-debug = "\
|
||||||
|
gdb \
|
||||||
|
strace"
|
||||||
|
|
||||||
|
|
||||||
|
RDEPENDS_task-poky-tools-profile = "\
|
||||||
|
exmap-console \
|
||||||
|
exmap-server \
|
||||||
oprofile \
|
oprofile \
|
||||||
oprofileui-server \
|
oprofileui-server \
|
||||||
gdb \
|
lttng-control \
|
||||||
strace \
|
|
||||||
less \
|
|
||||||
lttng-viewer"
|
lttng-viewer"
|
||||||
|
|
||||||
RRECOMMENDS_task-poky-devtools = "\
|
RDEPENDS_task-poky-tools-profile_qemux86 += "valgrind"
|
||||||
|
|
||||||
|
RRECOMMENDS_task-poky-tools-profile = "\
|
||||||
kernel-module-oprofile"
|
kernel-module-oprofile"
|
||||||
|
|
||||||
RDEPENDS_task-poky-testapps = "\
|
|
||||||
|
RDEPENDS_task-poky-tools-testapps = "\
|
||||||
tslib-calibrate \
|
tslib-calibrate \
|
||||||
tslib-tests \
|
tslib-tests \
|
||||||
lrzsz \
|
lrzsz \
|
||||||
@@ -114,7 +130,9 @@ RDEPENDS_task-poky-testapps = "\
|
|||||||
alsa-utils-aplay \
|
alsa-utils-aplay \
|
||||||
owl-video-widget \
|
owl-video-widget \
|
||||||
gst-meta-video \
|
gst-meta-video \
|
||||||
gst-meta-audio"
|
gst-meta-audio \
|
||||||
|
xvideo-tests"
|
||||||
|
|
||||||
|
|
||||||
RDEPENDS_task-poky-nfs-server = "\
|
RDEPENDS_task-poky-nfs-server = "\
|
||||||
nfs-utils"
|
nfs-utils"
|
||||||
|
|||||||
Reference in New Issue
Block a user