Przeglądaj źródła

fixup kernel compile

Eric Andersen 20 lat temu
rodzic
commit
487f8c9d03

+ 6 - 0
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
+

+ 0 - 10
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