Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/7] busybox: factorize recipes
Date: Fri, 29 Oct 2010 17:13:48 -0700	[thread overview]
Message-ID: <20101030001348.GA2437@gmail.com> (raw)
In-Reply-To: <1288387543-1277-1-git-send-email-eric@eukrea.com>

On (29/10/10 23:25), Eric Bénard wrote:
> Signed-off-by: Eric Bénard <eric@eukrea.com>

For patch 1 - 5

Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
>  recipes/busybox/busybox_1.13.2.bb |   45 ++-------------------------
>  recipes/busybox/busybox_1.14.3.bb |   47 ++---------------------------
>  recipes/busybox/busybox_1.15.3.bb |   48 +++---------------------------
>  recipes/busybox/busybox_1.16.2.bb |   59 ++-----------------------------------
>  recipes/busybox/busybox_1.17.1.bb |   55 +---------------------------------
>  recipes/busybox/busybox_1.1x.inc  |   53 +++++++++++++++++++++++++++++++++
>  6 files changed, 69 insertions(+), 238 deletions(-)
>  create mode 100644 recipes/busybox/busybox_1.1x.inc
> 
> diff --git a/recipes/busybox/busybox_1.13.2.bb b/recipes/busybox/busybox_1.13.2.bb
> index a3acceb..0ffcb7f 100644
> --- a/recipes/busybox/busybox_1.13.2.bb
> +++ b/recipes/busybox/busybox_1.13.2.bb
> @@ -1,8 +1,8 @@
>  require busybox.inc
> +require busybox_1.1x.inc
>  PR = "${INC_PR}.3"
>  
> -SRC_URI = "\
> -  http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
> +SRC_URI += "\
>    file://busybox-1.13.2-awk.patch \
>    file://busybox-1.13.2-depmod.patch \
>    file://busybox-1.13.2-init.patch \
> @@ -16,45 +16,8 @@ SRC_URI = "\
>    file://busybox-1.13.2-unzip.patch \
>    file://busybox-1.13.2-wget.patch \
>    file://busybox-1.13.2-make382.patch \
> -  file://fdisk_nios2.patch \
> -  \
> -  file://udhcpscript.patch \
> -  file://udhcpc-fix-nfsroot.patch \
>    file://udhcpc-background.patch \
> -  file://B921600.patch \
> -  file://get_header_tar.patch \
> -  file://busybox-appletlib-dependency.patch \
> -  file://find-touchscreen.sh \
> -  file://busybox-cron \
> -  file://busybox-httpd \
> -  file://busybox-udhcpd \
> -  file://default.script file://simple.script \
> -  file://hwclock.sh \
> -  file://hwclock-default \
> -  file://mount.busybox \
> -  file://mountall \
> -  file://syslog \
> -  file://syslog.conf \
> -  file://umount.busybox \
> -  file://defconfig \
> -  file://mdev \
> -  file://mdev.conf \
>  "
> -SRC_URI[tarball.md5sum] = "9e2a604d18bef219a5a6bf3acf78b9e1"
> -SRC_URI[tarball.sha256sum] = "927774408bd982dd246fb716bb2e646ab0708ce321b42c5e271dc98c1f5d1dc8"
>  
> -EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
> -
> -do_configure_prepend () {
> -	if [ "${TARGET_ARCH}" = "avr32" ] ; then
> -		sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${WORKDIR}/defconfig
> -	fi
> -}
> -
> -do_install_append() {
> -    install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
> -    install -d ${D}${sysconfdir}/init.d/
> -    install -d ${D}${sysconfdir}/mdev
> -    install -m 0755 ${WORKDIR}/find-touchscreen.sh ${D}${sysconfdir}/mdev/
> -    install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
> -}
> +SRC_URI[md5sum] = "9e2a604d18bef219a5a6bf3acf78b9e1"
> +SRC_URI[sha256sum] = "927774408bd982dd246fb716bb2e646ab0708ce321b42c5e271dc98c1f5d1dc8"
> diff --git a/recipes/busybox/busybox_1.14.3.bb b/recipes/busybox/busybox_1.14.3.bb
> index ff706f4..2fac528 100644
> --- a/recipes/busybox/busybox_1.14.3.bb
> +++ b/recipes/busybox/busybox_1.14.3.bb
> @@ -1,49 +1,8 @@
>  require busybox.inc
> +require busybox_1.1x.inc
>  PR = "${INC_PR}.1"
>  
>  DEFAULT_PREFERENCE = "-1"
>  
> -SRC_URI = "\
> -  http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
> -  file://fdisk_nios2.patch \
> -\
> -  file://udhcpscript.patch \
> -  file://udhcpc-fix-nfsroot.patch \
> -  file://B921600.patch \
> -  file://get_header_tar.patch \
> -  file://busybox-appletlib-dependency.patch \
> -  file://find-touchscreen.sh \
> -  file://busybox-cron \
> -  file://busybox-httpd \
> -  file://busybox-udhcpd \
> -  file://default.script file://simple.script \
> -  file://hwclock.sh \
> -  file://hwclock-default \
> -  file://mount.busybox \
> -  file://mountall \
> -  file://syslog \
> -  file://syslog.conf \
> -  file://umount.busybox \
> -  file://defconfig \
> -  file://mdev \
> -  file://mdev.conf \
> -"
> -
> -SRC_URI[tarball.md5sum] = "d170bf5f97a41aec3a505eab690d5699"
> -SRC_URI[tarball.sha256sum] = "e94df4f9063a1951b4e94e76148ed80e921737a89d97bc2c310a2a8927982e90"
> -
> -EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
> -
> -do_configure_prepend () {
> -	if [ "${TARGET_ARCH}" = "avr32" ] ; then
> -		sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${WORKDIR}/defconfig
> -	fi
> -}
> -
> -do_install_append() {
> -    install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
> -    install -d ${D}${sysconfdir}/init.d/
> -    install -d ${D}${sysconfdir}/mdev
> -    install -m 0755 ${WORKDIR}/find-touchscreen.sh ${D}${sysconfdir}/mdev/
> -    install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
> -}
> +SRC_URI[md5sum] = "d170bf5f97a41aec3a505eab690d5699"
> +SRC_URI[sha256sum] = "e94df4f9063a1951b4e94e76148ed80e921737a89d97bc2c310a2a8927982e90"
> diff --git a/recipes/busybox/busybox_1.15.3.bb b/recipes/busybox/busybox_1.15.3.bb
> index 0924d3d..5106a58 100644
> --- a/recipes/busybox/busybox_1.15.3.bb
> +++ b/recipes/busybox/busybox_1.15.3.bb
> @@ -1,55 +1,17 @@
>  require busybox.inc
> +require busybox_1.1x.inc
>  PR = "${INC_PR}.4"
>  
> -SRC_URI = "\
> -  http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
> -  file://fdisk_nios2.patch \
> -  \
> -  file://udhcpscript.patch \
> -  file://udhcpc-fix-nfsroot.patch \
> -  file://B921600.patch \
> -  file://get_header_tar.patch \
> -  file://busybox-appletlib-dependency.patch \
> +SRC_URI += "\
>    file://0000-wget-no-check-certificate.patch \
> -  file://find-touchscreen.sh \
> -  file://busybox-cron \
> -  file://busybox-httpd \
> -  file://busybox-udhcpd \
> -  file://default.script file://simple.script \
> -  file://hwclock.sh \
> -  file://hwclock-default \
> -  file://mount.busybox \
> -  file://mountall \
> -  file://syslog \
> -  file://syslog.conf \
> -  file://umount.busybox \
> -  file://defconfig \
> -  file://mdev \
> -  file://mdev.conf \
>  "
> -SRC_URI[tarball.md5sum] = "6059ac9456de6fb18dc8ee4cd0ec9240"
> -SRC_URI[tarball.sha256sum] = "d74020ad2cc5a4dcc5109c44dbd0e22582d6ce42954b0f1ff29763c8c0ff03cb"
> +
> +SRC_URI[md5sum] = "6059ac9456de6fb18dc8ee4cd0ec9240"
> +SRC_URI[sha256sum] = "d74020ad2cc5a4dcc5109c44dbd0e22582d6ce42954b0f1ff29763c8c0ff03cb"
>  
>  # gcc 4.5 has this bug on thumb
>  # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44557
>  # so add -fomit-frame-pointer
>  # this will be removed once the above bug is fixed.
>  
> -
>  CFLAGS_append = " -fomit-frame-pointer"
> -
> -EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
> -
> -do_configure_prepend () {
> -	if [ "${TARGET_ARCH}" = "avr32" ] ; then
> -		sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${WORKDIR}/defconfig
> -	fi
> -}
> -
> -do_install_append() {
> -    install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
> -    install -d ${D}${sysconfdir}/init.d/
> -    install -d ${D}${sysconfdir}/mdev
> -    install -m 0755 ${WORKDIR}/find-touchscreen.sh ${D}${sysconfdir}/mdev/
> -    install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
> -}
> diff --git a/recipes/busybox/busybox_1.16.2.bb b/recipes/busybox/busybox_1.16.2.bb
> index b3fee02..b4aaa74 100644
> --- a/recipes/busybox/busybox_1.16.2.bb
> +++ b/recipes/busybox/busybox_1.16.2.bb
> @@ -1,62 +1,9 @@
>  require busybox.inc
> +require busybox_1.1x.inc
>  PR = "${INC_PR}.3"
>  
>  DEFAULT_PREFERENCE = "-1"
>  DEFAULT_PREFERENCE_shr = "1"
>  
> -SRC_URI = "\
> -  http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
> -  file://fdisk_nios2.patch \
> -  \
> -  file://udhcpscript.patch \
> -  file://udhcpc-fix-nfsroot.patch \
> -  file://B921600.patch \
> -  file://get_header_tar.patch \
> -  file://busybox-appletlib-dependency.patch \
> -#  file://0000-wget-no-check-certificate.patch \
> -  file://find-touchscreen.sh \
> -  file://busybox-cron \
> -  file://busybox-httpd \
> -  file://busybox-udhcpd \
> -  file://default.script file://simple.script \
> -  file://hwclock.sh \
> -  file://hwclock-default \
> -  file://mount.busybox \
> -  file://mountall \
> -  file://syslog \
> -  file://syslog.conf \
> -  file://umount.busybox \
> -  file://defconfig \
> -  file://mdev \
> -  file://mdev.conf \
> -"
> -
> -SRC_URI[tarball.md5sum] = "2ba980f720a5bdce4ec05423519acc35"
> -SRC_URI[tarball.sha256sum] = "3bf1b1a41294d25335abdd10c65cffdb01c36337ca011f1b38c6ad89590115ba"
> -
> -EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
> -
> -do_configure_prepend () {
> -	if [ "${TARGET_ARCH}" = "avr32" ] ; then
> -		sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${WORKDIR}/defconfig
> -	fi
> -}
> -
> -do_install_append() {
> -    install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
> -    install -d ${D}${sysconfdir}/init.d/
> -    install -d ${D}${sysconfdir}/mdev
> -    install -m 0755 ${WORKDIR}/find-touchscreen.sh ${D}${sysconfdir}/mdev/
> -    install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
> -
> -    if grep "CONFIG_UDHCPD=y" ${WORKDIR}/defconfig; then
> -          install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/
> -    fi
> -
> -    if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
> -          install -d ${D}${sysconfdir}/udhcpc.d
> -          install -d ${D}${datadir}/udhcpc
> -          install -m 0755 ${WORKDIR}/simple.script ${D}${sysconfdir}/udhcpc.d/50default
> -          install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script
> -    fi
> -}
> +SRC_URI[md5sum] = "2ba980f720a5bdce4ec05423519acc35"
> +SRC_URI[sha256sum] = "3bf1b1a41294d25335abdd10c65cffdb01c36337ca011f1b38c6ad89590115ba"
> diff --git a/recipes/busybox/busybox_1.17.1.bb b/recipes/busybox/busybox_1.17.1.bb
> index 5a475b2..c16251c 100644
> --- a/recipes/busybox/busybox_1.17.1.bb
> +++ b/recipes/busybox/busybox_1.17.1.bb
> @@ -1,61 +1,8 @@
>  require busybox.inc
> +require busybox_1.1x.inc
>  PR = "${INC_PR}"
>  
>  DEFAULT_PREFERENCE = "-1"
>  
> -SRC_URI = "\
> -  http://www.busybox.net/downloads/busybox-${PV}.tar.bz2 \
> -  file://fdisk_nios2.patch \
> -  \
> -  file://udhcpscript.patch \
> -  file://udhcpc-fix-nfsroot.patch \
> -  file://B921600.patch \
> -  file://get_header_tar.patch \
> -  file://busybox-appletlib-dependency.patch \
> -#  file://0000-wget-no-check-certificate.patch \
> -  file://find-touchscreen.sh \
> -  file://busybox-cron \
> -  file://busybox-httpd \
> -  file://busybox-udhcpd \
> -  file://default.script file://simple.script \
> -  file://hwclock.sh \
> -  file://hwclock-default \
> -  file://mount.busybox \
> -  file://mountall \
> -  file://syslog \
> -  file://syslog.conf \
> -  file://umount.busybox \
> -  file://defconfig \
> -  file://mdev \
> -  file://mdev.conf \
> -"
> -
>  SRC_URI[md5sum] = "c7fe7533b7fc4018b0b49a05ee0ee601"
>  SRC_URI[sha256sum] = "bf9177810d7e151b0e662477c33b9afd062570e6298ec46f2a8397a6a839d164"
> -
> -EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
> -
> -do_configure_prepend () {
> -	if [ "${TARGET_ARCH}" = "avr32" ] ; then
> -		sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${WORKDIR}/defconfig
> -	fi
> -}
> -
> -do_install_append() {
> -    install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
> -    install -d ${D}${sysconfdir}/init.d/
> -    install -d ${D}${sysconfdir}/mdev
> -    install -m 0755 ${WORKDIR}/find-touchscreen.sh ${D}${sysconfdir}/mdev/
> -    install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
> -
> -    if grep "CONFIG_UDHCPD=y" ${WORKDIR}/defconfig; then
> -          install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/
> -    fi
> -
> -    if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
> -          install -d ${D}${sysconfdir}/udhcpc.d
> -          install -d ${D}${datadir}/udhcpc
> -          install -m 0755 ${WORKDIR}/simple.script ${D}${sysconfdir}/udhcpc.d/50default
> -          install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script
> -    fi
> -}
> diff --git a/recipes/busybox/busybox_1.1x.inc b/recipes/busybox/busybox_1.1x.inc
> new file mode 100644
> index 0000000..df536f6
> --- /dev/null
> +++ b/recipes/busybox/busybox_1.1x.inc
> @@ -0,0 +1,53 @@
> +require busybox.inc
> +
> +SRC_URI = "\
> +  http://www.busybox.net/downloads/busybox-${PV}.tar.bz2 \
> +  file://fdisk_nios2.patch \
> +  file://udhcpscript.patch \
> +  file://udhcpc-fix-nfsroot.patch \
> +  file://B921600.patch \
> +  file://get_header_tar.patch \
> +  file://busybox-appletlib-dependency.patch \
> +  file://find-touchscreen.sh \
> +  file://busybox-cron \
> +  file://busybox-httpd \
> +  file://busybox-udhcpd \
> +  file://default.script file://simple.script \
> +  file://hwclock.sh \
> +  file://hwclock-default \
> +  file://mount.busybox \
> +  file://mountall \
> +  file://syslog \
> +  file://syslog.conf \
> +  file://umount.busybox \
> +  file://defconfig \
> +  file://mdev \
> +  file://mdev.conf \
> +"
> +
> +EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
> +
> +do_configure_prepend () {
> +	if [ "${TARGET_ARCH}" = "avr32" ] ; then
> +		sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${WORKDIR}/defconfig
> +	fi
> +}
> +
> +do_install_append() {
> +    install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
> +    install -d ${D}${sysconfdir}/init.d/
> +    install -d ${D}${sysconfdir}/mdev
> +    install -m 0755 ${WORKDIR}/find-touchscreen.sh ${D}${sysconfdir}/mdev/
> +    install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
> +
> +    if grep "CONFIG_UDHCPD=y" ${WORKDIR}/defconfig; then
> +          install -m 0755 ${WORKDIR}/busybox-udhcpd ${D}${sysconfdir}/init.d/
> +    fi
> +
> +    if grep "CONFIG_UDHCPC=y" ${WORKDIR}/defconfig; then
> +          install -d ${D}${sysconfdir}/udhcpc.d
> +          install -d ${D}${datadir}/udhcpc
> +          install -m 0755 ${WORKDIR}/simple.script ${D}${sysconfdir}/udhcpc.d/50default
> +          install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script
> +    fi
> +}
> -- 
> 1.6.3.3
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



      parent reply	other threads:[~2010-10-30  0:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29 21:25 [PATCH 1/7] busybox: factorize recipes Eric Bénard
2010-10-29 21:25 ` [PATCH 2/7] busybox-1.17.1: add fixes from upstream Eric Bénard
2010-10-29 21:25   ` [PATCH 3/7] busybox: add 1.17.3 Eric Bénard
2010-10-29 21:25     ` [PATCH 4/7] busybox's mdev: add script to populate /dev/bus/usb Eric Bénard
2010-10-29 21:25       ` [PATCH 5/7] busybox/find-touchscreen: handle input/device case Eric Bénard
2010-10-29 21:25         ` [PATCH 6/7] qt-4.7: rename qtdemo to qtdemoE for qt4-embedded Eric Bénard
2010-10-29 21:25           ` [PATCH 7/7] qwt: add qwt 5.2.1 Eric Bénard
2010-11-06 11:26             ` Sylvain Paré
2010-11-06 11:32               ` Eric Bénard
2010-11-06 12:44                 ` Sylvain Paré
2010-10-30  9:56           ` [PATCH 6/7] qt-4.7: rename qtdemo to qtdemoE for qt4-embedded Denys Dmytriyenko
2010-11-01 20:01           ` Maupin, Chase
2010-10-30  0:13 ` Khem Raj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101030001348.GA2437@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox