From: Eric Andersen Date: Tue, 22 Feb 2005 08:46:49 +0000 (-0000) Subject: fixup kernel compile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=487f8c9d03a62f92b69c22afaa7f6c5082494c72;p=buildroot.git fixup kernel compile --- 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