system/skeleton: make nsswitch install conditional
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 20 Oct 2014 12:28:05 +0000 (09:28 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 25 Oct 2014 10:48:17 +0000 (12:48 +0200)
commite1eba3d97c5d435ed1b88fdb6b6989871aa2c9eb
tree247ebe63543bc8ae29dca992209a10ce41e797e7
parent9623ff651f83a350819719f10705552da9793205
system/skeleton: make nsswitch install conditional

Don't blindly install the /etc/nsswitch.conf file, it's useless for
toolchains that aren't (e)glibc-based and misleading.
Make the installation conditional on a (e)glibc toolchain.

[Thomas: use $(INSTALL) instead of cp.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/glibc/nsswitch.conf [new file with mode: 0644]
system/skeleton/etc/nsswitch.conf [deleted file]
toolchain/toolchain.mk