summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/Makefile.in3
-rw-r--r--target/device/Makefile.in3
2 files changed, 3 insertions, 3 deletions
diff --git a/target/Makefile.in b/target/Makefile.in
index a65b74019..7ec139db9 100644
--- a/target/Makefile.in
+++ b/target/Makefile.in
@@ -7,4 +7,7 @@ include target/powerpc/Makefile.in
# and finally build the filesystems/tarballs
include target/*/*.mk
# kernel rules
+ifeq ($(BR2_PACKAGE_LINUX),y)
+TARGETS+=linux26
+endif
include target/linux*.mk
diff --git a/target/device/Makefile.in b/target/device/Makefile.in
index fd9f03f11..c2d04a97a 100644
--- a/target/device/Makefile.in
+++ b/target/device/Makefile.in
@@ -1,6 +1,3 @@
TARGET_DEVICE_DEPMOD:=target/device/x86/depmod.pl
-include target/device/*/Makefile.in
-ifeq ($(BR2_PACKAGE_LINUX),y)
-TARGETS+=linux26
-endif