From e855d498e34227ebd690c48aa5f4ae7df8807433 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Fri, 18 Oct 2013 11:45:33 +0000
Subject: [PATCH] x86: fix condition in base-files.mk

TARGET_x86_generic_Soekris48xx is not defined,
CONFIG_TARGET_x86_generic_Soekris48xx is

This changes makes it possible to override the network config for soekris net48xx
and net45xx targets.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 38450
---
 target/linux/x86/base-files.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/x86/base-files.mk b/target/linux/x86/base-files.mk
index 889f944d75..6c6e6f1688 100644
--- a/target/linux/x86/base-files.mk
+++ b/target/linux/x86/base-files.mk
@@ -1,4 +1,4 @@
-ifneq ($(TARGET_x86_generic_Soekris48xx)$(TARGET_x86_generic_Soekris45xx),)
+ifneq ($(CONFIG_TARGET_x86_generic_Soekris48xx)$(CONFIG_TARGET_x86_generic_Soekris45xx),)
 define Package/base-files/install-target
 	rm -f $(1)/etc/config/network
 endef
-- 
GitLab