base.bbclass: added 'gcc-3.4' to list of gcc3 versions (Debian systems)
[vuplus_openembedded] / conf / distro / minimal.conf
1 #############################################################################
2 #@TYPE: Distribution
3 #@NAME: Minimal
4 #@DESCRIPTION: Embedded Linux Distribution Configuration
5 #
6 #@COMMENT: This distribution configuration can serve as a starting point for
7 #@COMMENT: the integration of new target platforms, machines, or distributions.
8 #############################################################################
9
10 #############################################################################
11 # NAME and VERSION
12 #############################################################################
13 DISTRO_NAME = "minimal"
14 DISTRO_VERSION = ".dev-snapshot-${SRCDATE}"
15 #DISTRO_TYPE = "release"
16 DISTRO_TYPE = "debug"
17
18 # Ensure some form of release config, so error out if someone thinks he knows better
19 DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION")
20
21 #############################################################################
22 # FEATURE SELECTION
23 #############################################################################
24 # Use bluetooth 4.0
25 DISTRO_BLUETOOTH_MANAGER = "bluez4"
26 # We want images supporting the following features (for task-base)
27 DISTRO_FEATURES = "nfs smbfs wifi ppp alsa bluetooth ext2 vfat pcmcia usbgadget usbhost pci"
28
29 #############################################################################
30 # LIBRARY NAMES
31 #############################################################################
32 # libfoo -> libfoo0-2 (etc)
33 INHERIT += "debian"
34
35 #############################################################################
36 # STAGING AREA
37 #############################################################################
38 # Controlled by packaging system
39 INHERIT += "packaged-staging"
40
41 #############################################################################
42 # PACKAGING & FEEDS
43 #############################################################################
44 # Chose the packaging system
45 INHERIT += "package_ipk"
46 IMAGE_FSTYPES ?= "tar.gz jffs2"
47
48 require conf/distro/include/sane-feed.inc
49 PREFERRED_PKG_FORMAT ?= "ipk"
50 require conf/distro/include/sane-feed-${PREFERRED_PKG_FORMAT}.inc
51
52 # If we're using an .ipk based rootfs, we want to have opkg-nogpg installed so postinst script can run
53 IPKG_VARIANT = "opkg-nogpg"
54
55 #############################################################################
56 # IMAGES
57 #############################################################################
58 # Name the generated images in a sane way
59 IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${PREFERRED_LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
60 CACHE ?= "${TMPDIR}/cache/${PREFERRED_LIBC}/${MACHINE}"
61 DEPLOY_DIR ?= "${TMPDIR}/deploy/${PREFERRED_LIBC}"
62 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
63
64 #############################################################################
65 # KERNEL
66 #############################################################################
67 KERNEL = "kernel26"
68 MACHINE_KERNEL_VERSION = "2.6"
69
70 #############################################################################
71 # TOOLCHAIN
72 #############################################################################
73 PREFERRED_LIBC = "glibc"
74 require conf/distro/include/sane-toolchain.inc
75
76 #############################################################################
77 # OVERWRITES adjusted from bitbake.conf to feature the MACHINE_CLASS
78 #############################################################################
79 OVERRIDES = "local:${MACHINE}:${MACHINE_CLASS}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"
80
81 #############################################################################
82 # PREFERRED PROVIDERS
83 #############################################################################
84 PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap"
85 PREFERRED_PROVIDER_avahi = "avahi"
86 PREFERRED_PROVIDER_gconf = "gconf-dbus"
87 PREFERRED_PROVIDER_gtk+ = "gtk+"
88 PREFERRED_PROVIDER_libgpewidget = "libgpewidget"
89 PREFERRED_PROVIDER_virtual/db = "db3"
90 PREFERRED_PROVIDER_virtual/db-native = "db3-native"
91 PREFERRED_PROVIDER_virtual/libsdl = "libsdl-x11"
92 PREFERRED_PROVIDER_virtual/libx11 ?= "libx11"
93
94 #############################################################################
95 # PREFERRED VERSIONS
96 #############################################################################
97 require conf/distro/include/sane-srcdates.inc
98 require conf/distro/include/sane-srcrevs.inc
99 require conf/distro/include/preferred-e-versions.inc
100 require conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc
101 require conf/distro/include/preferred-xorg-versions-X11R7.4.inc
102
103
104 #############################################################################
105 # CONTENTS
106 #############################################################################
107
108 # Ship extra debug utils in the rootfs when doing a debug build 
109 DISTRO_EXTRA_APPS ?= ""
110 DISTRO_EXTRA_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "task-cli-tools-debug",d)}'
111
112 # Additional content I (only valid if you include task-base)
113 # distro-feed-configs: configuration files for the online feeds
114 # util-linux-ng-mount util-linux-ng-umount: busybox mount is broken
115 # angstrom-libc-fixup-hack: fixes an obscure bug with libc.so symlink
116 DISTRO_EXTRA_RDEPENDS += "\
117   distro-feed-configs \
118   util-linux-ng-mount util-linux-ng-umount \
119   angstrom-libc-fixup-hack \
120   ${DISTRO_EXTRA_APPS} \
121 "
122
123 # Additional content II (can be masked with BAD_RECOMMENDS)
124 DISTRO_EXTRA_RRECOMMENDS += " \
125     kernel-module-vfat \
126     kernel-module-ext2 \
127     kernel-module-ext3 \
128     kernel-module-af-packet \
129     avahi-daemon \
130     avahi-autoipd \
131     openssh-sftp-server \
132 "