busybox: add busybox_git.bb recipe
authorChen Qi <Qi.Chen@windriver.com>
Fri, 29 Nov 2013 12:15:45 +0000 (20:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Nov 2013 22:26:27 +0000 (22:26 +0000)
Add busybox_git.bb recipe so that it would be easier to hack with
busybox. Set DEFAULT_PREFERENCE to "-1" in the git recipe so that we
still use the busybox_1.21.1.bb recipe by default.

(From OE-Core rev: d290bbe6d9826fbcfa2e0a7624886284697ed7eb)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 files changed:
meta/recipes-core/busybox/busybox/busybox-appletlib-dependency.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/busybox-appletlib-dependency.patch with 100% similarity]
meta/recipes-core/busybox/busybox/busybox-list-suid-and-non-suid-app-configs.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/busybox-list-suid-and-non-suid-app-configs.patch with 100% similarity]
meta/recipes-core/busybox/busybox/busybox-sed-fix-sed-clusternewline-testcase.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/busybox-sed-fix-sed-clusternewline-testcase.patch with 100% similarity]
meta/recipes-core/busybox/busybox/busybox-sulogin-empty-root-password.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/busybox-sulogin-empty-root-password.patch with 100% similarity]
meta/recipes-core/busybox/busybox/busybox-udhcpc-no_deconfig.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/busybox-udhcpc-no_deconfig.patch with 100% similarity]
meta/recipes-core/busybox/busybox/defconfig [moved from meta/recipes-core/busybox/busybox-1.21.1/defconfig with 100% similarity]
meta/recipes-core/busybox/busybox/fail_on_no_media.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/fail_on_no_media.patch with 100% similarity]
meta/recipes-core/busybox/busybox/get_header_tar.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/get_header_tar.patch with 100% similarity]
meta/recipes-core/busybox/busybox/login-utilities.cfg [moved from meta/recipes-core/busybox/busybox-1.21.1/login-utilities.cfg with 100% similarity]
meta/recipes-core/busybox/busybox/run-parts.in.usr-bin.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/run-parts.in.usr-bin.patch with 100% similarity]
meta/recipes-core/busybox/busybox/stat-usr-bin.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/stat-usr-bin.patch with 100% similarity]
meta/recipes-core/busybox/busybox/testsuite-du-du-k-works-fix-false-positive.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/testsuite-du-du-k-works-fix-false-positive.patch with 100% similarity]
meta/recipes-core/busybox/busybox/watch.in.usr-bin.patch [moved from meta/recipes-core/busybox/busybox-1.21.1/watch.in.usr-bin.patch with 100% similarity]
meta/recipes-core/busybox/busybox_git.bb [new file with mode: 0644]

diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb
new file mode 100644 (file)
index 0000000..91ecff8
--- /dev/null
@@ -0,0 +1,53 @@
+require busybox.inc
+
+SRCREV = "e73f3c1d3d83699b723251f7e6a981021ce75475"
+# Lookout for PV bump too when SRCREV is changed
+PV = "1.21.1+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+SRC_URI = "git://busybox.net/busybox.git \
+           file://get_header_tar.patch \
+           file://busybox-appletlib-dependency.patch \
+           file://run-parts.in.usr-bin.patch \
+           file://watch.in.usr-bin.patch \
+           file://busybox-udhcpc-no_deconfig.patch \
+           file://find-touchscreen.sh \
+           file://busybox-cron \
+           file://busybox-httpd \
+           file://busybox-udhcpd \
+           file://default.script \
+           file://simple.script \
+           file://hwclock.sh \
+           file://mount.busybox \
+           file://syslog \
+           file://syslog-startup.conf \
+           file://syslog.conf \
+           file://busybox-syslog.default \
+           file://mdev \
+           file://mdev.conf \
+           file://umount.busybox \
+           file://defconfig \
+           file://stat-usr-bin.patch \
+           file://busybox-syslog.service.in \
+           file://busybox-klogd.service.in \
+           file://testsuite-du-du-k-works-fix-false-positive.patch \
+           file://fail_on_no_media.patch \
+           file://busybox-sulogin-empty-root-password.patch \
+           file://run-ptest \
+           file://inetd.conf \
+           file://inetd \
+           file://login-utilities.cfg \
+           file://busybox-list-suid-and-non-suid-app-configs.patch \
+           file://busybox-sed-fix-sed-clusternewline-testcase.patch \
+"
+
+EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
+
+do_install_ptest () {
+        cp -r ${B}/testsuite ${D}${PTEST_PATH}/
+        cp ${B}/.config      ${D}${PTEST_PATH}/
+        ln -s /bin/busybox   ${D}${PTEST_PATH}/busybox
+}
+
+DEFAULT_PREFERENCE = "-1"