diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-10-24 15:53:10 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-10-24 15:53:20 +0200 |
commit | fd124a0cff6170c8474166a33b0591d490a32bdb (patch) | |
tree | 3a2bc8da14b5e3602483a121b111b55e50e6b73f /package/base-files | |
parent | 7f0da41a6132598996d8aa8a694c86200702588f (diff) |
add new symbol for systems with tcp/ip but without netdevice. like arc simulator running test-suites with network functions
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 7 | ||||
-rw-r--r-- | package/base-files/files/interfaces-dhcp (renamed from package/base-files/src/etc/network/interfaces) | 0 |
2 files changed, 6 insertions, 1 deletions
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) diff --git a/package/base-files/src/etc/network/interfaces b/package/base-files/files/interfaces-dhcp index 11174c152..11174c152 100644 --- a/package/base-files/src/etc/network/interfaces +++ b/package/base-files/files/interfaces-dhcp |