]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
infra/pkg-config: hide away non-critical commands
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 1 Dec 2017 15:09:45 +0000 (16:09 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 31 Mar 2018 20:34:55 +0000 (22:34 +0200)
commit152f58e2092158cfd243934f577430badd619637
treed10504e51ae9e663afb44609fccd209007ada284
parentf542085a61ee0e1d85e32a1f6f71ccea9101ea31
infra/pkg-config: hide away non-critical commands

When updating back the (def)config file, the touch command is not very
useful by default, so hide it away.

We do not hide away the cp command, as that could confuse the user under
some circunmstances. For example, when the toolchain does not yet exist,
the uClibc buildsystem will complain multiple times about gcc not being
found, like so:

    make[2]: /home/ymorin/dev/buildroot/O/host/bin/i686-buildroot-linux-uclibc-gcc: Command not found

(Note that we can not suppress those warnings, as they are on stderr,
and we still want to see stderr in case of real errors).

So, if we were to hide the cp command, the user could be left confused,
even though we were sucessful in updating back the (def)config file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkg-kconfig.mk