From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mail.openembedded.org (Postfix) with ESMTP id AA95B601D3 for ; Mon, 15 Feb 2016 09:16:47 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id a4so46767995wme.1 for ; Mon, 15 Feb 2016 01:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=h0Bks+QSY/dOIyfU91zoyrZQX7LOCtBrmdeICGfW/08=; b=r5r+6Aq42QVkkE3gOgcHcxQrdpBEFWA3w6bIXS19vmVbe5Ds+9l4ifGb87M8EoAC2J TAGGCKPs5r4SU4TxK2d8nawzTBK1RpeEZ1xgKwSBvx4BUrsNVPkMIq1j9U9HuxCvhgSR i+w+UFI+UIFShGH4haHIyfw5RcluJzdevDqYiWdX94x2N+kbvhR0ps5KDCUSoKJrSjSl BXnJxYm/v6gkR0EqHjPh5FrW4y9v9f9kjOQ4hiKCunvF5QZl67L1C/C/U1pwKIenc/Pf z8ANfB9eQ3mks3RbjITJSPYfp0PUDtL0ckFXbY/v8Npbp8nYgNJ0ynC49gfVyMh9DqG1 zbaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=h0Bks+QSY/dOIyfU91zoyrZQX7LOCtBrmdeICGfW/08=; b=Q2pBDjM2xaiyZE9NkM7cGhhUzwc+VnFk+AIhQwGvP+MtaKFjKx4/S6KwiGG/Ivsk3A O8+jfSR+JfvaBcB8fWo0R5vGCaYwEmKiW8qtsZ01DdEY/PCcOuaueVgVnDxY2x4+okI3 2kdhKNaUm3ZcOxW5qqssQY70UP/v6OxML1eA3TLYRguQZLtXAFk7VHLmJ+FvUqTvC1q5 QMeSV8ecEHcUDMxbxrnk6EZM5b7BPecRaJs70kisrCLJLJYyDIlZ2wqCpJB8+Rmk7kCD 5HAPkQr6u+PGhMP9rjrvWx0NO546+UL7IU4XfG1JHBHkdUBZphTCl+OXmBgcrbi7aypM TMwA== X-Gm-Message-State: AG10YOT5hsUD4JrAcrdZ6xN6zTg7c0mLTTG3VKgUHvGUDT0gTFXVujBHMBayMOnA8Tf3FA== X-Received: by 10.28.227.213 with SMTP id a204mr12038586wmh.2.1455527807516; Mon, 15 Feb 2016 01:16:47 -0800 (PST) Received: from localhost (ip-86-49-34-37.net.upcbroadband.cz. [86.49.34.37]) by smtp.gmail.com with ESMTPSA id k124sm1441674wmb.11.2016.02.15.01.16.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2016 01:16:46 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa Date: Mon, 15 Feb 2016 10:21:00 +0100 To: openembedded-devel@lists.openembedded.org Message-ID: <20160215092100.GF3028@jama> References: <1454465517-24926-1-git-send-email-alejandro.joya.cruz@intel.com> MIME-Version: 1.0 In-Reply-To: <1454465517-24926-1-git-send-email-alejandro.joya.cruz@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [meta-oe][PATCH] toybox: upgrade to 0.7.0 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 09:16:48 -0000 X-Groupsio-MsgNum: 59976 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QNDPHrPUIc00TOLW" Content-Disposition: inline --QNDPHrPUIc00TOLW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 02, 2016 at 06:11:57PM -0800, Alejandro Joya wrote: > Change SRC_URI to latest version and update the checksum for package. > remove old patch not longer need it to build it and add depedency found f= or builiding > on temporary enviroment like yocto. Please fix following QA and Khem's comments and send v2. toybox-0.7.0: toybox rdepends on libattr, but it isn't a build dependency? [build-deps] >=20 > Signed-off-by: Alejandro Joya > --- > .../toybox/0001-Match-paths-with-busybox.patch | 388 ---------------= ------ > .../toybox/toybox_build-add-Missing-CFLAGS.patch | 28 ++ > .../toybox/{toybox_0.6.0.bb =3D> toybox_0.7.0.bb} | 10 +- > 3 files changed, 34 insertions(+), 392 deletions(-) > delete mode 100644 meta-oe/recipes-core/toybox/toybox/0001-Match-paths-w= ith-busybox.patch > create mode 100644 meta-oe/recipes-core/toybox/toybox/toybox_build-add-M= issing-CFLAGS.patch > rename meta-oe/recipes-core/toybox/{toybox_0.6.0.bb =3D> toybox_0.7.0.bb= } (87%) >=20 > diff --git a/meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-bus= ybox.patch b/meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busyb= ox.patch > deleted file mode 100644 > index 9eb965d..0000000 > --- a/meta-oe/recipes-core/toybox/toybox/0001-Match-paths-with-busybox.pa= tch > +++ /dev/null > @@ -1,388 +0,0 @@ > -From 9b37b45067677563dc8daa73d73a015c20ad6222 Mon Sep 17 00:00:00 2001 > -From: Paul Barker > -Date: Mon, 18 Aug 2014 12:18:16 +0000 > -Subject: [PATCH] Match paths with busybox > - > -To ensure that toybox can be installed alongside busybox without confusi= ng > -update-alternatives, the paths of the links installed by toybox should m= atch > -those installed by busybox. This is accomplished by changing the flags o= f a few > -tools within toybox. > - > -v3: > - - Forward ported from v0.5.0 to v0.5.2 > - > -v2: > - - Forward ported from v0.4.9 to v0.5.0 > - - Move new 'mount' command > - > -Signed-off-by: Paul Barker > - > -Upstream-status: Inappropriate > - (specific to update-alternatives use in OpenEmbedded) > - > -Signed-off-by: Amarnath Valluri > ---- > - toys/lsb/mount.c | 2 +- > - toys/lsb/pidof.c | 2 +- > - toys/other/chvt.c | 2 +- > - toys/other/ifconfig.c | 2 +- > - toys/other/insmod.c | 2 +- > - toys/other/lsmod.c | 2 +- > - toys/other/netcat.c | 2 +- > - toys/other/pivot_root.c | 2 +- > - toys/other/readlink.c | 2 +- > - toys/other/reboot.c | 6 +++--- > - toys/other/rfkill.c | 2 +- > - toys/other/rmmod.c | 2 +- > - toys/other/swapoff.c | 2 +- > - toys/other/swapon.c | 2 +- > - toys/other/sysctl.c | 2 +- > - toys/posix/cut.c | 2 +- > - toys/posix/df.c | 2 +- > - toys/posix/head.c | 2 +- > - toys/posix/id.c | 6 +++--- > - toys/posix/mkfifo.c | 2 +- > - toys/posix/renice.c | 2 +- > - toys/posix/tail.c | 2 +- > - toys/posix/tee.c | 2 +- > - toys/posix/uniq.c | 2 +- > - toys/posix/who.c | 2 +- > - 25 files changed, 29 insertions(+), 29 deletions(-) > - > -diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c > -index c334681..b076ca1 100644 > ---- a/toys/lsb/mount.c > -+++ b/toys/lsb/mount.c > -@@ -6,7 +6,7 @@ > - * Note: -hV is bad spec, haven't implemented -FsLU yet > - * no mtab (/proc/mounts does it) so -n is NOP. > -=20 > --USE_MOUNT(NEWTOY(mount, "?O:afnrvwt:o*[-rw]", TOYFLAG_USR|TOYFLAG_BIN|T= OYFLAG_STAYROOT)) > -+USE_MOUNT(NEWTOY(mount, "?O:afnrvwt:o*[-rw]", TOYFLAG_BIN|TOYFLAG_STAYR= OOT)) > - //USE_NFSMOUNT(NEWTOY(nfsmount, "?<2>2", TOYFLAG_USR|TOYFLAG_BIN|TOYFLA= G_STAYROOT)) > -=20 > - config MOUNT > -diff --git a/toys/lsb/pidof.c b/toys/lsb/pidof.c > -index 51b742f..a8fc8ef 100644 > ---- a/toys/lsb/pidof.c > -+++ b/toys/lsb/pidof.c > -@@ -5,7 +5,7 @@ > - * > - * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-C= ore-generic/pidof.html > -=20 > --USE_PIDOF(NEWTOY(pidof, "<1so:", TOYFLAG_USR|TOYFLAG_BIN)) > -+USE_PIDOF(NEWTOY(pidof, "<1so:", TOYFLAG_BIN)) > -=20 > - config PIDOF > - bool "pidof" > -diff --git a/toys/other/chvt.c b/toys/other/chvt.c > -index 6544265..a93327f 100644 > ---- a/toys/other/chvt.c > -+++ b/toys/other/chvt.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright (C) 2008 David Anders > -=20 > --USE_CHVT(NEWTOY(chvt, "<1", TOYFLAG_USR|TOYFLAG_SBIN)) > -+USE_CHVT(NEWTOY(chvt, "<1", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config CHVT > - bool "chvt" > -diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c > -index 8db3ff0..445799d 100644 > ---- a/toys/other/ifconfig.c > -+++ b/toys/other/ifconfig.c > -@@ -6,7 +6,7 @@ > - * > - * Not in SUSv4. > -=20 > --USE_IFCONFIG(NEWTOY(ifconfig, "^?a", TOYFLAG_BIN)) > -+USE_IFCONFIG(NEWTOY(ifconfig, "^?a", TOYFLAG_SBIN)) > -=20 > - config IFCONFIG > - bool "ifconfig" > -diff --git a/toys/other/insmod.c b/toys/other/insmod.c > -index 81721a3..cb222a5 100644 > ---- a/toys/other/insmod.c > -+++ b/toys/other/insmod.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright 2012 Elie De Brauwer > -=20 > --USE_INSMOD(NEWTOY(insmod, "<1", TOYFLAG_BIN|TOYFLAG_NEEDROOT)) > -+USE_INSMOD(NEWTOY(insmod, "<1", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) > -=20 > - config INSMOD > - bool "insmod" > -diff --git a/toys/other/lsmod.c b/toys/other/lsmod.c > -index b8f5d82..4d16048 100644 > ---- a/toys/other/lsmod.c > -+++ b/toys/other/lsmod.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright 2012 Elie De Brauwer > -=20 > --USE_LSMOD(NEWTOY(lsmod, NULL, TOYFLAG_BIN)) > -+USE_LSMOD(NEWTOY(lsmod, NULL, TOYFLAG_SBIN)) > -=20 > - config LSMOD > - bool "lsmod" > -diff --git a/toys/other/netcat.c b/toys/other/netcat.c > -index d27aa88..0fd26f7 100644 > ---- a/toys/other/netcat.c > -+++ b/toys/other/netcat.c > -@@ -4,7 +4,7 @@ > - * > - * TODO: udp, ipv6, genericize for telnet/microcom/tail-f > -=20 > --USE_NETCAT(OLDTOY(nc, netcat, TOYFLAG_BIN)) > -+USE_NETCAT(OLDTOY(nc, netcat, TOYFLAG_USR|TOYFLAG_BIN)) > - USE_NETCAT(NEWTOY(netcat, USE_NETCAT_LISTEN("^tlL")"w#p#s:q#f:", TOYFLA= G_BIN)) > -=20 > - config NETCAT > -diff --git a/toys/other/pivot_root.c b/toys/other/pivot_root.c > -index 9a1f56c..7748032 100644 > ---- a/toys/other/pivot_root.c > -+++ b/toys/other/pivot_root.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright 2012 Rob Landley > -=20 > --USE_PIVOT_ROOT(NEWTOY(pivot_root, "<2>2", TOYFLAG_USR|TOYFLAG_BIN)) > -+USE_PIVOT_ROOT(NEWTOY(pivot_root, "<2>2", TOYFLAG_SBIN)) > -=20 > - config PIVOT_ROOT > - bool "pivot_root" > -diff --git a/toys/other/readlink.c b/toys/other/readlink.c > -index 1c33362..fecd1ef 100644 > ---- a/toys/other/readlink.c > -+++ b/toys/other/readlink.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright 2007 Rob Landley > -=20 > --USE_READLINK(NEWTOY(readlink, "<1>1fenq[-fe]", TOYFLAG_BIN)) > -+USE_READLINK(NEWTOY(readlink, "<1>1fenq[-fe]", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config READLINK > - bool "readlink" > -diff --git a/toys/other/reboot.c b/toys/other/reboot.c > -index 8baa4d8..a135888 100644 > ---- a/toys/other/reboot.c > -+++ b/toys/other/reboot.c > -@@ -2,9 +2,9 @@ > - * > - * Copyright 2013 Elie De Brauwer > -=20 > --USE_REBOOT(NEWTOY(reboot, "n", TOYFLAG_BIN|TOYFLAG_NEEDROOT)) > --USE_REBOOT(OLDTOY(halt, reboot, TOYFLAG_BIN|TOYFLAG_NEEDROOT)) > --USE_REBOOT(OLDTOY(poweroff, reboot, TOYFLAG_BIN|TOYFLAG_NEEDROOT)) > -+USE_REBOOT(NEWTOY(reboot, "n", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) > -+USE_REBOOT(OLDTOY(halt, reboot, TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) > -+USE_REBOOT(OLDTOY(poweroff, reboot, TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) > -=20 > - config REBOOT > - bool "reboot" > -diff --git a/toys/other/rfkill.c b/toys/other/rfkill.c > -index af3efe1..7527ec7 100644 > ---- a/toys/other/rfkill.c > -+++ b/toys/other/rfkill.c > -@@ -5,7 +5,7 @@ > - * > - * No Standard > -=20 > --USE_RFKILL(NEWTOY(rfkill, "<1>2", TOYFLAG_SBIN)) > -+USE_RFKILL(NEWTOY(rfkill, "<1>2", TOYFLAG_USR|TOYFLAG_SBIN)) > -=20 > - config RFKILL > - bool "rfkill" > -diff --git a/toys/other/rmmod.c b/toys/other/rmmod.c > -index b789acc..10c134c 100644 > ---- a/toys/other/rmmod.c > -+++ b/toys/other/rmmod.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright 2012 Elie De Brauwer > -=20 > --USE_RMMOD(NEWTOY(rmmod, "<1wf", TOYFLAG_BIN|TOYFLAG_NEEDROOT)) > -+USE_RMMOD(NEWTOY(rmmod, "<1wf", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) > -=20 > - config RMMOD > - bool "rmmod" > -diff --git a/toys/other/swapoff.c b/toys/other/swapoff.c > -index b89e915..fb17130 100644 > ---- a/toys/other/swapoff.c > -+++ b/toys/other/swapoff.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright 2012 Elie De Brauwer > -=20 > --USE_SWAPOFF(NEWTOY(swapoff, "<1>1", TOYFLAG_BIN|TOYFLAG_NEEDROOT)) > -+USE_SWAPOFF(NEWTOY(swapoff, "<1>1", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) > -=20 > - config SWAPOFF > - bool "swapoff" > -diff --git a/toys/other/swapon.c b/toys/other/swapon.c > -index 49f1249..838d382 100644 > ---- a/toys/other/swapon.c > -+++ b/toys/other/swapon.c > -@@ -2,7 +2,7 @@ > - * > - * Copyright 2012 Elie De Brauwer > -=20 > --USE_SWAPON(NEWTOY(swapon, "<1>1p#<0>32767", TOYFLAG_BIN|TOYFLAG_NEEDROO= T)) > -+USE_SWAPON(NEWTOY(swapon, "<1>1p#<0>32767", TOYFLAG_SBIN|TOYFLAG_NEEDRO= OT)) > -=20 > - config SWAPON > - bool "swapon" > -diff --git a/toys/other/sysctl.c b/toys/other/sysctl.c > -index 8e57ca1..0c6c640 100644 > ---- a/toys/other/sysctl.c > -+++ b/toys/other/sysctl.c > -@@ -5,7 +5,7 @@ > - * > - * No Standard > - =20 > --USE_SYSCTL(NEWTOY(sysctl, "^neNqwpaA[!ap][!aq][!aw][+aA]", TOYFLAG_USR|= TOYFLAG_BIN)) > -+USE_SYSCTL(NEWTOY(sysctl, "^neNqwpaA[!ap][!aq][!aw][+aA]", TOYFLAG_SBIN= )) > -=20 > - config SYSCTL > - bool "sysctl" > -diff --git a/toys/posix/cut.c b/toys/posix/cut.c > -index 7f10c5e..1ab3ce8 100644 > ---- a/toys/posix/cut.c > -+++ b/toys/posix/cut.c > -@@ -5,7 +5,7 @@ > - * > - * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html= =20 > -=20 > --USE_CUT(NEWTOY(cut, "b:|c:|f:|d:sn[!cbf]", TOYFLAG_BIN)) > -+USE_CUT(NEWTOY(cut, "b:|c:|f:|d:sn[!cbf]", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config CUT > - bool "cut" > -diff --git a/toys/posix/df.c b/toys/posix/df.c > -index 141e8e5..5d37b45 100644 > ---- a/toys/posix/df.c > -+++ b/toys/posix/df.c > -@@ -4,7 +4,7 @@ > - * > - * See http://opengroup.org/onlinepubs/9699919799/utilities/df.html > -=20 > --USE_DF(NEWTOY(df, "Pkt*a[-Pk]", TOYFLAG_USR|TOYFLAG_SBIN)) > -+USE_DF(NEWTOY(df, "Pkt*a[-Pk]", TOYFLAG_BIN)) > -=20 > - config DF > - bool "df" > -diff --git a/toys/posix/head.c b/toys/posix/head.c > -index e8517d4..3ac4373 100644 > ---- a/toys/posix/head.c > -+++ b/toys/posix/head.c > -@@ -4,7 +4,7 @@ > - * > - * See http://opengroup.org/onlinepubs/9699919799/utilities/head.html > -=20 > --USE_HEAD(NEWTOY(head, "n#<0=3D10", TOYFLAG_BIN)) > -+USE_HEAD(NEWTOY(head, "n#<0=3D10", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config HEAD > - bool "head" > -diff --git a/toys/posix/id.c b/toys/posix/id.c > -index 353aa04..7ab489e 100644 > ---- a/toys/posix/id.c > -+++ b/toys/posix/id.c > -@@ -6,10 +6,10 @@ > - * > - * See http://opengroup.org/onlinepubs/9699919799/utilities/id.html > -=20 > --USE_ID(NEWTOY(id, ">1"USE_ID_SELINUX("Z")"nGgru[!"USE_ID_SELINUX("Z")"G= gu]", TOYFLAG_BIN)) > -+USE_ID(NEWTOY(id, ">1"USE_ID_SELINUX("Z")"nGgru[!"USE_ID_SELINUX("Z")"G= gu]", TOYFLAG_USR|TOYFLAG_BIN)) > - USE_GROUPS(NEWTOY(groups, NULL, TOYFLAG_USR|TOYFLAG_BIN)) > --USE_LOGNAME(NEWTOY(logname, ">0", TOYFLAG_BIN)) > --USE_WHOAMI(OLDTOY(whoami, logname, TOYFLAG_BIN)) > -+USE_LOGNAME(NEWTOY(logname, ">0", TOYFLAG_USR|TOYFLAG_BIN)) > -+USE_WHOAMI(OLDTOY(whoami, logname, TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config ID > - bool "id" > -diff --git a/toys/posix/mkfifo.c b/toys/posix/mkfifo.c > -index 15fab70..4e0fca3 100644 > ---- a/toys/posix/mkfifo.c > -+++ b/toys/posix/mkfifo.c > -@@ -4,7 +4,7 @@ > - * > - * See http://opengroup.org/onlinepubs/9699919799/utilities/mkfifo.html > -=20 > --USE_MKFIFO(NEWTOY(mkfifo, "<1m:", TOYFLAG_BIN)) > -+USE_MKFIFO(NEWTOY(mkfifo, "<1m:", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config MKFIFO > - bool "mkfifo" > -diff --git a/toys/posix/renice.c b/toys/posix/renice.c > -index 8c20644..489eb13 100644 > ---- a/toys/posix/renice.c > -+++ b/toys/posix/renice.c > -@@ -4,7 +4,7 @@ > - * > - * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/renice= =2Ehtml > -=20 > --USE_RENICE(NEWTOY(renice, "<1gpun#|", TOYFLAG_BIN)) > -+USE_RENICE(NEWTOY(renice, "<1gpun#|", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config RENICE > - bool "renice" > -diff --git a/toys/posix/tail.c b/toys/posix/tail.c > -index e92c044..ba1d311 100644 > ---- a/toys/posix/tail.c > -+++ b/toys/posix/tail.c > -@@ -4,7 +4,7 @@ > - * > - * See http://opengroup.org/onlinepubs/9699919799/utilities/tail.html > -=20 > --USE_TAIL(NEWTOY(tail, "fc-n-[-cn]", TOYFLAG_BIN)) > -+USE_TAIL(NEWTOY(tail, "fc-n-[-cn]", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config TAIL > - bool "tail" > -diff --git a/toys/posix/tee.c b/toys/posix/tee.c > -index 0388510..5574088 100644 > ---- a/toys/posix/tee.c > -+++ b/toys/posix/tee.c > -@@ -4,7 +4,7 @@ > - * > - * See http://opengroup.org/onlinepubs/9699919799/utilities/tee.html > -=20 > --USE_TEE(NEWTOY(tee, "ia", TOYFLAG_BIN)) > -+USE_TEE(NEWTOY(tee, "ia", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config TEE > - bool "tee" > -diff --git a/toys/posix/uniq.c b/toys/posix/uniq.c > -index 3cfdb94..c127cfe 100644 > ---- a/toys/posix/uniq.c > -+++ b/toys/posix/uniq.c > -@@ -4,7 +4,7 @@ > - * > - * See http://opengroup.org/onlinepubs/9699919799/utilities/uniq.html > -=20 > --USE_UNIQ(NEWTOY(uniq, "f#s#w#zicdu", TOYFLAG_BIN)) > -+USE_UNIQ(NEWTOY(uniq, "f#s#w#zicdu", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config UNIQ > - bool "uniq" > -diff --git a/toys/posix/who.c b/toys/posix/who.c > -index 876a562..414cdfc 100644 > ---- a/toys/posix/who.c > -+++ b/toys/posix/who.c > -@@ -9,7 +9,7 @@ > - * Posix says to support many options (-abdHlmpqrstTu) but this > - * isn't aimed at minicomputers with modem pools. > -=20 > --USE_WHO(NEWTOY(who, "a", TOYFLAG_BIN)) > -+USE_WHO(NEWTOY(who, "a", TOYFLAG_USR|TOYFLAG_BIN)) > -=20 > - config WHO > - bool "who" > ---=20 > -1.8.1.2 > - > diff --git a/meta-oe/recipes-core/toybox/toybox/toybox_build-add-Missing-= CFLAGS.patch b/meta-oe/recipes-core/toybox/toybox/toybox_build-add-Missing-= CFLAGS.patch > new file mode 100644 > index 0000000..80d6b2a > --- /dev/null > +++ b/meta-oe/recipes-core/toybox/toybox/toybox_build-add-Missing-CFLAGS.= patch > @@ -0,0 +1,28 @@ > +From 686492e6b0aa582b42bf95cfc9a31324204d8f79 Mon Sep 17 00:00:00 2001 > +From: Alejandro Joya > +Date: Tue, 2 Feb 2016 17:47:50 -0800 > +Subject: [PATCH] toybox_build: add Missing CFLAGS > + > +add CFLAGS to multiple builds to forward libraries location in Yocto. > + > +Signed-off-by: Alejandro Joya > +--- > + Makefile | 2 +- > + 1 file changed, 1 insertion(+), 1 deletion(-) > + > +diff --git a/Makefile b/Makefile > +index 5422efe..2dca3ae 100644 > +--- a/Makefile > ++++ b/Makefile > +@@ -37,7 +37,7 @@ bloatcheck: toybox_old toybox_unstripped > +=20 > + generated/instlist: toybox_stuff > + NOBUILD=3D1 scripts/make.sh > +- $(HOSTCC) -I . scripts/install.c -o generated/instlist > ++ $(HOSTCC) -I . $(CFLAGS) scripts/install.c -o generated/instlist > +=20 > + install_flat: generated/instlist > + scripts/install.sh --symlink --force > +--=20 > +1.9.1 > + > diff --git a/meta-oe/recipes-core/toybox/toybox_0.6.0.bb b/meta-oe/recipe= s-core/toybox/toybox_0.7.0.bb > similarity index 87% > rename from meta-oe/recipes-core/toybox/toybox_0.6.0.bb > rename to meta-oe/recipes-core/toybox/toybox_0.7.0.bb > index da03200..a1fa8a9 100644 > --- a/meta-oe/recipes-core/toybox/toybox_0.6.0.bb > +++ b/meta-oe/recipes-core/toybox/toybox_0.7.0.bb > @@ -1,10 +1,11 @@ > SUMMARY =3D "Toybox combines common utilities together into a single exe= cutable." > HOMEPAGE =3D "http://www.landley.net/toybox/" > =20 > -SRC_URI =3D "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz" > +SRC_URI =3D "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz= \ > + file://toybox_build-add-Missing-CFLAGS.patch" > =20 > -SRC_URI[md5sum] =3D "7f4a6c89e56c48e3350e611f5b36c2cf" > -SRC_URI[sha256sum] =3D "b6e2694d19ac08f1c3416d5b2a02a31d445db2ed98dec897= 61430cdff2c9710d" > +SRC_URI[md5sum] =3D "d86c78624b47625c2f0fc64eda599443" > +SRC_URI[sha256sum] =3D "65428816f88ad3fe92b67df86dc05427c8078fe03843b8b9= 715fdfa6d29c0f97" > =20 > =20 > LICENSE =3D "BSD-0-Clause" > @@ -12,9 +13,10 @@ LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3Df0b8b3dd643= 1bcaa245da0a08bd0d511" > =20 > SECTION =3D "base" > =20 > +CFLAGS_prepend =3D "-I ${STAGING_DIR_HOST}${includedir_native}" > + > do_configure() { > oe_runmake defconfig > - > # Disable killall5 as it isn't managed by update-alternatives > sed -e 's/CONFIG_KILLALL5=3Dy/# CONFIG_KILLALL5 is not set/' -i .con= fig > } > --=20 > 1.9.1 >=20 > --=20 > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel --=20 Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --QNDPHrPUIc00TOLW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlbBmHsACgkQN1Ujt2V2gBxEgwCgrHnQX3MrbFAbRLmy7/XWBqEf SH8AoLNCuob/GJ2EIJuiPO3joswksh+I =82m8 -----END PGP SIGNATURE----- --QNDPHrPUIc00TOLW--