Ver Fonte

- 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.

Bernhard Reutner-Fischer há 18 anos atrás
pai
commit
de7ae0beed
2 ficheiros alterados com 10 adições e 3 exclusões
  1. 5 3
      target/Makefile.in
  2. 5 0
      target/device/Makefile.in

+ 5 - 3
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

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