summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-11-03 13:11:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-29 11:22:08 +0000
commit1b868bbd0b2a81cd6d09cf2fa8edc41fb56e042a (patch)
treefe2667da3855f4f9b60865cf36a5be01fa023f5c /meta/recipes-core
parentad1f3d96cfb542de3157dca6694295519c39e0bb (diff)
downloadpoky-1b868bbd0b2a81cd6d09cf2fa8edc41fb56e042a.tar.gz
Self Hosted Image: Added Task and Images
This is the first pass of creating a self hosted image, this task and image can pass bitbake's sanity check (if modified to remove the cvs check) and can build psuedo, albit very slowly on qemu. (From OE-Core rev: d29b2ddb532a59143fe160251e57c9216a3c720d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/images/self-hosted-image.bb11
-rw-r--r--meta/recipes-core/tasks/task-self-hosted.bb174
2 files changed, 185 insertions, 0 deletions
diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
new file mode 100644
index 0000000000..7ddba9c572
--- /dev/null
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -0,0 +1,11 @@
1IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
2
3POKY_EXTRA_INSTALL = "\
4 task-self-hosted \
5 "
6
7IMAGE_ROOTFS_EXTRA_SPACE = "1048576"
8
9inherit core-image
10
11PR = "r0"
diff --git a/meta/recipes-core/tasks/task-self-hosted.bb b/meta/recipes-core/tasks/task-self-hosted.bb
new file mode 100644
index 0000000000..c218f43ad6
--- /dev/null
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -0,0 +1,174 @@
1#
2# Copyright (C) 2010 Intel Corporation
3#
4
5DESCRIPTION = "Create Basic Image Tasks"
6PR = "r0"
7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
9 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
10
11PACKAGES = "\
12 task-self-hosted \
13 task-self-hosted-debug \
14 task-self-hosted-sdk \
15 task-self-hosted-extended \
16 task-self-hosted-graphics \
17 "
18
19ALLOW_EMPTY = "1"
20
21RDEPENDS_task-self-hosted = "\
22 task-self-hosted-debug \
23 task-self-hosted-sdk \
24 task-self-hosted-extended \
25 task-self-hosted-graphics \
26 "
27
28# eglibc-utils: for rpcgen
29RDEPENDS_task-self-hosted-sdk = "\
30 sed \
31 mktemp \
32 eglibc-utils \
33 autoconf \
34 automake \
35 binutils-symlinks \
36 binutils \
37 cpp \
38 cpp-symlinks \
39 ccache \
40 gcc \
41 gcc-symlinks \
42 g++ \
43 g++-symlinks \
44 gettext \
45 make \
46 intltool \
47 libstdc++ \
48 libstdc++-dev \
49 libtool \
50 perl-module-re \
51 perl-module-text-wrap \
52 coreutils \
53 diffutils \
54 pkgconfig \
55 findutils \
56 quilt \
57 less \
58 distcc \
59 ldd \
60 file \
61 tcl \
62 "
63
64RDEPENDS_task-self-hosted-debug = " \
65 gdb \
66 gdbserver \
67 tcf-agent \
68 rsync \
69 strace"
70
71
72RDEPENDS_task-self-hosted-extended = "\
73 binutils \
74 bzip2 \
75 chkconfig \
76 chrpath \
77 curl \
78 dhcp-client \
79 diffstat \
80 diffutils \
81 elfutils \
82 expat \
83 gamin \
84 gdbm \
85 git \
86 gettext \
87 gettext-runtime \
88 grep \
89 groff \
90 gawk \
91 hdparm \
92 libaio \
93 libxml2 \
94 libusb1 \
95 lrzsz \
96 lsof \
97 lzo \
98 man \
99 man-pages \
100 mc \
101 mdadm \
102 minicom \
103 mtools \
104 ncurses \
105 neon \
106 openssl \
107 opkg \
108 opkg-utils \
109 parted \
110 patch \
111 perl \
112 perl-modules \
113 perl-dev \
114 pth \
115 python \
116 python-compile \
117 python-compiler \
118 python-core \
119 python-curses \
120 python-datetime \
121 python-distutils \
122 python-elementtree \
123 python-fcntl \
124 python-logging \
125 python-misc \
126 python-multiprocessing \
127 python-netclient \
128 python-netserver \
129 python-pickle \
130 python-re \
131 python-rpm \
132 python-shell \
133 python-sqlite3 \
134 python-subprocess \
135 python-textutils \
136 python-xmlrpc \
137 python-email \
138 python-unixadmin \
139 python-compression \
140 quota \
141 readline \
142 rpm \
143 screen \
144 setserial \
145 strace \
146 subversion \
147 sysstat \
148 tar \
149 gzip \
150 tcl \
151 texi2html \
152 texinfo \
153 usbutils \
154 unzip \
155 watchdog \
156 wget \
157 which \
158 xinetd \
159 zip \
160 zlib \
161 cpio \
162 "
163
164
165RDEPENDS_task-self-hosted-graphics = "\
166 python-pygtk \
167 mesa-dri \
168 mesa-dri-dev \
169 libglu \
170 libglu-dev \
171 libsdl \
172 libsdl-dev \
173 libx11-dev \
174 "