aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro/minimal-uclibc.conf
blob: bc9615b79f7bde21847b699dd0937f9bf7438406 (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
#-----------------------------------------------------------------------------
#@TYPE: Distribution
#@NAME: Minimal uClibc
#@DESCRIPTION: uClibc based Embedded Linux Distribution Configuration (minimal)
#
#@COMMENT: This distribution configuration serves as a starting point for
#@COMMENT: the integration of new target platforms, machines, or distributions.
#@COMMENT: It bases on conservative settings and should always be buildable.
#-----------------------------------------------------------------------------

#
# Header
#
DISTRO_NAME = "minimal-uclibc"

TARGET_FPU_arm = "soft"
TARGET_FPU_armeb = "soft"

LIBC = "uclibc"

require conf/distro/minimal.conf

# NOTE:
#
# We get the DISTRO_FEATURES defined in minimal.conf here but
# however there are some features like mips -mplt support which
# is not supported on uclibc yet so we need to disable that
# feature for uclibc based distributions, therefore we redefine
# the DISTRO_FEATURES for minimal-uclibc and notably leave mplt
# out. Make sure that if there is a new DISTRO_FEATURE thats added
# to minimal.conf will not get included in minimal-uclibc.conf
# it has to be added to the below selection if it should also be
# enabled for minimal-uclibc

# FEATURE SELECTION
#############################################################################
# We want images supporting the following features (for task-base)
DISTRO_FEATURES = "nfs smbfs wifi ppp alsa ext2 vfat pcmcia usbgadget usbhost pci"
# Following feature is for ARM and E500 based machines
DISTRO_FEATURES += "eabi"
# pam is needed on uclibc if using shadow 
DISTRO_FEATURES += "pam"
# large file support is needed for libsndfile
DISTRO_FEATURES += "largefile"
# glib-2.0 needs ipv6 and there is no knob to control it
DISTRO_FEATURES += "ipv4 ipv6"
DISTRO_FEATURES += ' ${@["", "thumb-interwork"][bb.data.getVar('THUMB_INTERWORK', d, 1) == "yes"]}'