Add basic at91 image with Wi-Fi support
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 1 Feb 2011 04:59:14 +0000 (04:59 +0000)
committerTom Rini <tom_rini@mentor.com>
Sat, 12 Feb 2011 16:23:17 +0000 (09:23 -0700)
Signed-off-by: Ulf Samuelsson <ulf.samuelsson@atmel.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/images/console-at91sam9-image.bb [new file with mode: 0644]

diff --git a/recipes/images/console-at91sam9-image.bb b/recipes/images/console-at91sam9-image.bb
new file mode 100644 (file)
index 0000000..8b066e2
--- /dev/null
@@ -0,0 +1,35 @@
+#Angstrom bootstrap at91sam9 image
+
+IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
+
+ANGSTROM_EXTRA_INSTALL += " \
+       alsa-utils-amixer \
+       alsa-utils-aplay \
+       dosfstools \
+       iperf \
+       madplay \
+       mplayer \
+       mtd-utils \
+#      nbench-byte \
+       owl-wifi \
+       thttpd \
+       usbview \
+       "
+
+DEPENDS = "task-base-extended \
+           ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
+          "
+
+IMAGE_INSTALL = "task-base-extended \
+           ${ANGSTROM_EXTRA_INSTALL} \
+           ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
+          "
+
+export IMAGE_BASENAME = "console-at91sam9-image"
+IMAGE_LINGUAS = ""
+
+#we dont need the kernel in the image
+ROOTFS_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/*Image*; "
+
+inherit image
+