aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2014-05-24 00:32:15 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-05-26 22:16:21 +0100
commitd0de116ad4a6ef31562bd679952e0758ffc51edf (patch)
tree38620d0303fb3e5a35b4a6b515eec240a43c0665 /recipes-bsp
parent477c7b228dff070cf10cb3eba4474565271fa2a1 (diff)
downloadmeta-handheld-d0de116ad4a6ef31562bd679952e0758ffc51edf.tar.gz
meta-handheld-d0de116ad4a6ef31562bd679952e0758ffc51edf.tar.bz2
meta-handheld-d0de116ad4a6ef31562bd679952e0758ffc51edf.zip
mininit: initial commit of v. 1.1.0
See https://github.com/pcercuei/mininit Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/mininit/mininit_git.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-bsp/mininit/mininit_git.bb b/recipes-bsp/mininit/mininit_git.bb
new file mode 100644
index 0000000..a0439ae
--- /dev/null
+++ b/recipes-bsp/mininit/mininit_git.bb
@@ -0,0 +1,36 @@
+SUMMARY = "mininit for romfs/squashfs loop images"
+DESCRIPTION = "mininit is a linux-as-bootloader implementation based on losetup."
+HOMEPAGE = "https://github.com/pcercuei/mininit"
+LICENSE = "PD"
+LIC_FILES_CHKSUM = "file://init.c;md5=305bd83abb9a5aac95d48b5efbc11d58"
+SRCREV = "51eaefcaea52a5dbc1addd21ba93154aa9c97d66"
+PV = "1.1.0"
+
+SRC_URI = "git://github.com/pcercuei/mininit.git"
+SRC_URI[md5sum] = "62509644735a4e599e3ed0229f283faa"
+SRC_URI[sha256sum] = "4d747b16c33ac64a7923a179947d5581b4e309b73a3c89824056e9c4f0749f18"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+ oe_runmake mininit
+}
+do_install () {
+ install -d ${D}${bindir}/
+ install -m 0755 mininit ${D}${bindir}/
+ install -d ${D}/dev
+ install -d ${D}/boot
+ install -d ${D}/root
+ install -d ${D}/proc
+ install -d ${D}/sys
+}
+
+FILES_${PN} += " ${bindir}/mininit /init /dev /boot /root /proc /sys"
+
+pkg_postinst_${PN} () {
+ ln -sf ${bindir}/mininit $D/init
+}
+
+BBCLASSEXTEND = "klibc"
+
+COMPATIBLE_MACHINE = "(akita|c7x0|collie|gcw0|h1940|h3600|hx4700|poodle|spitz|tosa)"