[yocto] Yocto reference manual: error in given example
Rifenbark, Scott M
scott.m.rifenbark at intel.com
Tue Nov 15 14:44:50 PST 2011
Hi,
I am looking at the YP Reference manual and the example in this section uses meta/recipes-sato/tasks/task-poky.bb, which doesn’t seem to exist in the Poky tree. Since the example in the section 3.2.2 is created just for instructional purposes I am going to get rid of the reference to the ‘meta/recipes-sato/tasks/task-poky.bb’ path.
To make the example correct, can I simply insert the ‘ALLOW_EMPTY = “1” statement as follows:
DESCRIPTION = "My Custom Tasks"
PACKAGES = "\
task-custom-apps \
task-custom-apps-dbg \
task-custom-apps-dev \
task-custom-tools \
task-custom-tools-dbg \
task-custom-tools-dev \
"
ALLOW_EMPTY = "1"
RDEPENDS_task-custom-apps = "\
dropbear \
portmap \
psplash"
RDEPENDS_task-custom-tools = "\
oprofile \
oprofileui-server \
lttng-control \
lttng-viewer"
RRECOMMENDS_task-custom-tools = "\
kernel-module-oprofile"
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Marc Ferland
Sent: Thursday, November 10, 2011 12:48 PM
To: yocto at yoctoproject.org
Subject: [yocto] Yocto reference manual: error in given example
Hi,
The example given in section 3.2.2 is missing a:
inherit task
instruction.
Could also have been ALLOW_EMPTY = "1".
I realized this after a couple hours of debugging!
Regards,
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20111115/e4aba1b4/attachment.html>
More information about the yocto
mailing list