From 487f8c9d03a62f92b69c22afaa7f6c5082494c72 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 22 Feb 2005 08:46:49 +0000 Subject: [PATCH] fixup kernel compile --- target/device/Soekris/Makefile.in | 6 ++++++ target/device/Soekris/net4521/linux.mk | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/target/device/Soekris/Makefile.in b/target/device/Soekris/Makefile.in index 5a00e9b0f7..4aaf1ef8e9 100644 --- a/target/device/Soekris/Makefile.in +++ b/target/device/Soekris/Makefile.in @@ -3,3 +3,9 @@ ifeq ($(strip $(BR2_TARGET_SOEKRIS_NET4521)),y) UCLIBC_CONFIG_FILE:=target/device/Soekris/net4521/uClibc.config BUSYBOX_CONFIG:=target/device/Soekris/net4521/busybox.config endif + +ifeq ($(strip $(BR2_PACKAGE_LINUX)),y) +include target/device/Soekris/net4521/linux.mk +TARGETS+=linux +endif + diff --git a/target/device/Soekris/net4521/linux.mk b/target/device/Soekris/net4521/linux.mk index 2d29a6a3ec..a081eec4c4 100644 --- a/target/device/Soekris/net4521/linux.mk +++ b/target/device/Soekris/net4521/linux.mk @@ -19,7 +19,6 @@ # -Erik # ############################################################# -ifneq ($(filter $(TARGETS),linux),) # Version of Linux to download and then apply patches to DOWNLOAD_LINUX_VERSION=2.4.29 @@ -110,12 +109,3 @@ linuxclean: clean linux-dirclean: rm -rf $(LINUX_DIR) -endif -############################################################# -# -# Toplevel Makefile options -# -############################################################# -ifeq ($(strip $(BR2_PACKAGE_LINUX)),y) -TARGETS+=linux -endif -- 2.30.2