apply gpe-image customisations per MACHINE
authorPhil Blundell <philb@gnu.org>
Sat, 31 Jul 2004 14:08:48 +0000 (14:08 +0000)
committerPhil Blundell <philb@gnu.org>
Sat, 31 Jul 2004 14:08:48 +0000 (14:08 +0000)
BKrev: 410ba7f0ShbJNMv1MMxAwSmYqI1PPQ

conf/h3900.conf
conf/simpad.conf
conf/zaurus-pxa.conf
meta/gpe-image.oe

index 16019b7..b02d164 100644 (file)
@@ -17,5 +17,7 @@ USE_DEVFS = "1"
 include conf/ipaq-common.conf
 include conf/handheld-common.conf
 
+GPE_MACHINE_CLASS = "smallscreen"
+
 # not using tune-xscale so as to retain backwards compatibility
 include conf/tune-strongarm.conf
index 05976f1..0279c85 100644 (file)
@@ -15,6 +15,7 @@ INHERIT += "simpad_flashimg"
 SERIAL_CONSOLE = "ttySA0 38400 vt100"
 
 USE_DEVFS = "1"
+GPE_MACHINE_CLASS = "bigscreen"
 
 include conf/handheld-common.conf
 include conf/tune-strongarm.conf
index eda4ea9..3108154 100644 (file)
@@ -17,6 +17,8 @@ IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
                   ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 > \
                   ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img"
 
+GPE_MACHINE_CLASS = "bigscreen"
+
 include conf/handheld-common.conf
 # not using tune-xscale.conf so as to retain backwards compatibility
 include conf/tune-strongarm.conf
index 0b1c927..959d234 100644 (file)
@@ -1,13 +1,30 @@
 export IMAGE_BASENAME = "gpe-image"
 
+GPE_MACHINE_CLASS ?= "none"
+
+GPE_EXTRA_DEPENDS ?= "${GPE_EXTRA_DEPENDS_${GPE_MACHINE_CLASS}}"
+GPE_EXTRA_INSTALL ?= "${GPE_EXTRA_DEPENDS_${GPE_MACHINE_CLASS}}"
+
+GPE_EXTRA_DEPENDS_bigscreen = "firefox gaim linphone"
+GPE_EXTRA_INSTALL_bigscreen = "firefox gaim"
+
+GPE_EXTRA_DEPENDS_smallscreen = "minimo"
+GPE_EXTRA_INSTALL_smallscreen = "minimo"
+
+GPE_EXTRA_DEPENDS_none = ""
+GPE_EXTRA_INSTALL_none = ""
+
 DEPENDS = 'task-bootstrap \
           diet-x11 xserver-kdrive matchbox-wm matchbox-desktop matchbox-panel \
-          meta-gpe ttf-bitstream-vera'
+          meta-gpe ttf-bitstream-vera ${GPE_EXTRA_DEPENDS}'
 
-export IPKG_INSTALL = 'task-bootstrap xserver-kdrive-fbdev \
-                     gpe ttf-bitstream-vera pango-module-basic-x pango-module-basic-fc \
-                     glibc-gconv glibc-gconv-iso8859-1 gdk-pixbuf-loader-png'
+XSERVER ?= "xserver-kdrive-fbdev"
 
+export IPKG_INSTALL = 'task-bootstrap ${XSERVER} \
+                     gpe ttf-bitstream-vera \
+                     pango-module-basic-x pango-module-basic-fc \
+                     glibc-gconv glibc-gconv-iso8859-1 gdk-pixbuf-loader-png \
+                     ${GPE_EXTRA_INSTALL}'
 
 IMAGE_POSTPROCESS_COMMAND = "zap_root_password"