From de7ae0beedd19eb9f2bf696d2b71dde5771afc2a Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 12 Feb 2007 17:42:18 +0000 Subject: - revert incorrect parts from sjhill's r17800 and add some more documentation. Now the kernel as well as /lib/modules are properly included in the final tarball and all other tarroot/genfs targets. --- target/Makefile.in | 8 +++++--- target/device/Makefile.in | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/target/Makefile.in b/target/Makefile.in index 7ec139db9..d00442d10 100644 --- a/target/Makefile.in +++ b/target/Makefile.in @@ -1,13 +1,15 @@ # make sure to put everything that is board-specific before the tarroot targets include target/generic/Makefile.in + +# this eventually adds the kernel target to TARGETS: include target/device/Makefile.in include target/x86/Makefile.in include target/arm/Makefile.in include target/powerpc/Makefile.in # and finally build the filesystems/tarballs include target/*/*.mk + # kernel rules -ifeq ($(BR2_PACKAGE_LINUX),y) -TARGETS+=linux26 -endif +# We already did add the kernel target to TARGETS and now just pull in the rules +# to actually build this target. include target/linux*.mk diff --git a/target/device/Makefile.in b/target/device/Makefile.in index c2d04a97a..be23fc7bb 100644 --- a/target/device/Makefile.in +++ b/target/device/Makefile.in @@ -1,3 +1,8 @@ TARGET_DEVICE_DEPMOD:=target/device/x86/depmod.pl -include target/device/*/Makefile.in + +ifeq ($(BR2_PACKAGE_LINUX),y) +TARGETS+=linux26 +endif + -- cgit v1.2.3