mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00
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:
parent
188881dbca
commit
1ca68394fa
10
meta-sys940x/recipes-core/netbase/files/sys940x/interfaces
Normal file
10
meta-sys940x/recipes-core/netbase/files/sys940x/interfaces
Normal 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
|
|
@ -1,3 +1,3 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
RDEPENDS_${PN} += "genmac"
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
PRINC := "${@int(PRINC) + 2}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user