netbase: put sys940x specific interfaces file in MACHINE directory

Move the interfaces file to a MACHINE appropriate subdirectory of
files so that:
a) base.bbclass appropriately marks the resultant package MACHINE
   specific.
b) builds for alternative MACHINES whilst this layer is enabled
   don't get the sys940x interfaces file

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
Joshua Lock 2012-02-10 16:32:39 -08:00 committed by Darren Hart
parent 188881dbca
commit 1ca68394fa
3 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,10 @@
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp
hwaddress ether RANDOM_MAC

View File

@ -1,3 +1,3 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
RDEPENDS_${PN} += "genmac"
PRINC := "${@int(PRINC) + 1}"
PRINC := "${@int(PRINC) + 2}"