1 #------------------------------------------------------
2 # freesmartphone.org Image Recipe, No-x11 Edition
3 #------------------------------------------------------
9 export IMAGE_BASENAME = "fso-image-nox"
11 # The packages below should ideally be a subset of the
12 # full fso-image. But unfortunately, the granularity
13 # and some of the assumptions of the fso image do not
14 # yet permit that. The gating factor is that this
15 # particular image needs to include the necessary stuff
16 # so that Qt Extended can run, but not so much that
17 # it can no longer fit in the small flash available on
18 # the GTA01. So, in practice this means that we will
19 # need some X libs (for dbus at a minimum), but we need
20 # to ensure that we limit that as much as possible.
22 # (There is little doubt that as the software stacks
23 # mature, the GTA01 will need to become SD-card based.
24 # Never-the-less, it is desirable to keep this as small
25 # as possible for as long as possible.)
27 # Note: if packages are _added_ to this image, it is
28 # important to also add the -dev versions of that
29 # package to the toolchain, if applicable. In general,
30 # _adding_ packages to this file is a bad idea; this
31 # image should be a proper subset of the full fso image.
34 AUDIO_NOX_INSTALL = "\
39 openmoko-alsa-scenarios \
42 # python - just pull in some basics for now. Ideally we would like
43 # to be able to run parts of the framework, but that's a future, and
44 # would almost certainly require an SD card on the GTA01. So just
45 # add the basics so that we at least have a scripting language.
47 # (I'm really of two minds on this; removing python is a big
48 # win in terms of flash space, and I'm not sure how useful this
49 # small set is. Need comments from others. --- MJW)
51 PYTHON_NOX_INSTALL = "\
56 # Tools - carefully picked so that we don't pull in too much.
57 # This list should be edited -- in particular, s3c24xx-gpio is large
58 # and statically linked. If not needed, we can save some flash on the
59 # GTA01 by getting rid of it in the base image. Other candidates
60 # might include nano, mickeydbus, powertop, sysstat, and tcpdump.
62 TOOLS_NOX_INSTALL = "\
76 # This block is intended to pull in stuff that is normally pulled
77 # in as dependencies in the full fso image. At this moment,
78 # libpng12 is an exception - it slipped into the toolchain, hence
79 # it needs to be here as well. It should be added to the full
80 # fso image at some point.
82 EXTRA_NOX_INSTALL = "\
92 ${EXTRA_NOX_INSTALL} \
93 ${AUDIO_NOX_INSTALL} \
94 ${PYTHON_NOX_INSTALL} \
95 ${TOOLS_NOX_INSTALL} \
98 # The post-processing step for this image is where we can do some
99 # cleanup to get some space back if necessary, or do other touch-up
100 # work specific to this image. It is currently empty, and should
101 # continue to be empty -- but it appears here because that's probably
102 # unrealistic, so we might as put the placeholder here right now.
104 fso_nox_rootfs_postprocess() {
107 # Execute commands to tweak the rootfs here
113 ROOTFS_POSTPROCESS_COMMAND += "fso_nox_rootfs_postprocess"