From fd124a0cff6170c8474166a33b0591d490a32bdb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Oct 2015 15:53:10 +0200 Subject: add new symbol for systems with tcp/ip but without netdevice. like arc simulator running test-suites with network functions --- package/base-files/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'package/base-files/Makefile') diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 7642c5e09..1c7f2bfdf 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/mk/rootfs.mk PKG_NAME:= base-files PKG_VERSION:= 1.1 -PKG_RELEASE:= 15 +PKG_RELEASE:= 16 PKG_SECTION:= base/apps PKG_DESCR:= basic files and scripts @@ -68,6 +68,11 @@ endif mkdir -p $(IDIR_BASE_FILES)/etc/network/{if-pre-up.d,if-up.d,if-down.d,if-post-down.d} mkdir -p $(IDIR_BASE_FILES)/usr/{lib,bin} chmod 600 $(IDIR_BASE_FILES)/etc/shadow +ifeq ($(ADK_TARGET_WITH_NETDEVICE),y) + cp ./files/interfaces-dhcp $(IDIR_BASE_FILES)/etc/network/interfaces +else + cp ./files/interfaces-lo $(IDIR_BASE_FILES)/etc/network/interfaces +endif chmod 600 $(IDIR_BASE_FILES)/etc/network/interfaces ifeq (${ADK_TARGET_ROOTFS_NFSROOT},y) (cd $(IDIR_BASE_FILES)/etc; ln -sf ../proc/net/pnp resolv.conf) -- cgit v1.2.3