blob: a42aaa525a6951ef4214b8f35f48f79cb56124b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
# SlugOS native build tools
#
# For the most part these are generic tools which should work for any
# SlugOS variant, however there is a dependency on the libc implementation
#
DESCRIPTION = "Packages that are required for the SlugOS native build environment"
LICENSE = "MIT"
PR = "r1"
INHIBIT_DEFAULT_DEPS = "1"
EXCLUDE_FROM_WORLD = "1"
ALLOW_EMPTY = "1"
PACKAGES = "${PN}"
PROVIDES += "${SLUGOS_IMAGENAME}-native"
# Run-time only (RDEPENDS) stuff - no package explicitly provides
# these targets.
SLUGOS_NATIVE_RT_prepend_linux = "\
glibc-extra-nss glibc-utils glibc \
"
SLUGOS_NATIVE_RT_prepend_linux-uclibc = "\
uclibc-dev uclibc-utils \
"
SLUGOS_NATIVE_RT = "\
binutils-dev binutils-symlinks \
cpp cpp-symlinks \
g++ g++-symlinks \
gcc-symlinks \
gdbm3 \
libg2c-dev \
libperl5 \
libreadline4 libreadline-dev \
libstdc++-dev \
libthread-db1 \
ncurses-dev ncurses-terminfo \
perl-modules \
python-core python-crypt python-io python-lang python-pickle python-shell python-textutils \
"
# Run-time and DEPENDS
SLUGOS_NATIVE_prepend_linux = "\
"
SLUGOS_NATIVE_prepend_linux-uclibc = "\
libiconv \
uclibc \
"
SLUGOS_NATIVE = "\
autoconf \
automake \
bash \
binutils \
bison \
bzip2 \
coreutils \
cvs \
diffstat \
file \
flex \
gawk \
gcc \
gnu-config \
gzip \
libtool \
lrzsz \
m4 \
make \
ncurses \
patch \
perl \
pkgconfig \
quilt \
sed \
tar \
util-linux \
wget \
${SLUGOS_NATIVE_THUMB_BROKEN} \
"
# If a tool won't build *on thumb libc* add it to the following list.
# Normally such a tool should be built with the ARM instruction set
# even on a thumb system (and this can be set in the tool's .bb file),
# however even this doesn't work for very large programs at present
# (only monotone!)
SLUGOS_NATIVE_THUMB_BROKEN = "\
monotone-5 \
"
SLUGOS_NATIVE_THUMB_BROKEN_thumb = ""
# These things are required but are not valid RDEPENDS
SLUGOS_NATIVE_DP = "\
gdbm \
python \
"
RDEPENDS = '${SLUGOS_NATIVE_RT} ${SLUGOS_NATIVE}'
DEPENDS = '${SLUGOS_NATIVE_DP} ${SLUGOS_NATIVE}'
|