From 1bb321cbecc7f046bf8488a7dcf40b016714fe77 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 4 Oct 2006 20:03:26 +0000
Subject: [PATCH] move arch specific base-files install call to the end of the
 generic one - fixes wrong /etc/config/network

SVN-Revision: 4914
---
 openwrt/package/base-files/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openwrt/package/base-files/Makefile b/openwrt/package/base-files/Makefile
index 1e234c65a3..9f6da3bc7c 100644
--- a/openwrt/package/base-files/Makefile
+++ b/openwrt/package/base-files/Makefile
@@ -142,7 +142,6 @@ define Package/base-files$(TARGET)/install-brcm
 endef
 
 define Package/base-files$(TARGET)/install
-  $(call Package/base-files$(TARGET)/install-$(BOARD),$(1))
 	$(CP) ./default/* $(1)/
 	if [ -d $(BOARD)-$(KERNEL) ]; then \
 		$(CP) $(BOARD)-$(KERNEL)/* $(1)/; \
@@ -164,6 +163,7 @@ define Package/base-files$(TARGET)/install
 	rm -f $(1)/var
 	ln -sf /tmp $(1)/var
 	mkdir -p $(1)/etc
+$(call Package/base-files$(TARGET)/install-$(BOARD),$(1))
 endef
 
 define Package/libgcc/install
-- 
GitLab