Setup-environment-internal: use getconf to determine the number of cpus

If /usr/bin/getconf exists use that, otherwise fallback to /proc/cpuinfo

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Add meta-beagleboard-extras to fray

Change-Id: I9751cd28ae2cdeb6199f0a894c7e4df3a4a7f43b
Signed-off-by: Khem Raj <raj.khem@gmail.com>