x86: fix condition in base-files.mk
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 18 Oct 2013 11:45:33 +0000 (11:45 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 18 Oct 2013 11:45:33 +0000 (11:45 +0000)
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

index 889f944d75fa16897bcb8ecf000f92d55fe1d182..6c6e6f1688da5da383b7ecd159bd107fdb518a50 100644 (file)
@@ -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