kexecboot.inc: add more comments. Minor cleanings.
authorAndrea Adami <andrea.adami@gmail.com>
Sun, 14 Feb 2010 13:00:35 +0000 (14:00 +0100)
committerAndrea Adami <andrea.adami@gmail.com>
Sun, 14 Feb 2010 13:00:35 +0000 (14:00 +0100)
recipes/kexecboot/kexecboot.inc

index 5db3414..3f37f9e 100644 (file)
@@ -9,12 +9,24 @@ inherit autotools
 # ./make-image-header.sh <file>.png HAND
 
 SRC_URI += "file://logo-img.h \
-           file://logo.png \
-           "
+        file://logo.png \
+        "
 
 export CC=${TARGET_PREFIX}klcc
 
-# for output on serial console: --enable-debug
+# Defaults as in ver 0.5+0.6b
+# --with_static_linking=no
+# --with_fbmenu=yes
+# --with_cfgfiles=yes
+# --with_icons=yes
+# --with_zaurus=no
+# --with_zimage=yes
+# --with_uimage=no
+# --with_machine_kernel=no
+# --enable_devices_recreating="yes"
+# --enable_debug="no"
+# --enable_host_debug="no"
+
 EXTRA_OECONF_akita = "--with-zaurus"
 EXTRA_OECONF_c7x0 = "--with-zaurus"
 EXTRA_OECONF_spitz = "--with-zaurus"
@@ -24,20 +36,20 @@ EXTRA_OECONF_tosa = "--with-zaurus"
 EXTRA_OECONF_omap3 = "--with-uimage"
 
 do_configure_prepend () {
-    install -m 0644 ${WORKDIR}/logo-img.h ${S}/res/
-    install -m 0644 ${WORKDIR}/logo.png ${S}/res/
+        install -m 0644 ${WORKDIR}/logo-img.h ${S}/res/
+        install -m 0644 ${WORKDIR}/logo.png ${S}/res/
 }
 
 do_install () {
-       install -d ${D}${bindir}
-       install -m 0755 kexecboot ${D}${bindir}/
+        install -d ${D}${bindir}
+        install -m 0755 kexecboot ${D}${bindir}/
 
-       install -d ${D}/proc
-       install -d ${D}/mnt
+        install -d ${D}/proc
+        install -d ${D}/mnt
 }
 
 FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt"
 
 pkg_postinst_${PN} () {
-       ln -sf ${bindir}/kexecboot $D/init
+        ln -sf ${bindir}/kexecboot $D/init
 }