build : add more dtb files to default kernel build
authorYaniv Machani <yanivma@ti.com>
Thu, 25 Dec 2014 11:56:07 +0000 (13:56 +0200)
committerYaniv Machani <yanivma@ti.com>
Thu, 25 Dec 2014 13:01:25 +0000 (15:01 +0200)
Added Bone dtb files to output

Signed-off-by: Yaniv Machani <yanivma@ti.com>
build_wl18xx.sh

index 75a9ad1167e2ea427b91554b478609864f80b51d..ee6143d9ca7f72c835279131237a4bd023f44568 100755 (executable)
@@ -281,10 +281,12 @@ function build_uimage()
         then
             make -j${PROCESSORS_NUMBER} zImage
             make -j${PROCESSORS_NUMBER} am335x-evm.dtb
+            make -j${PROCESSORS_NUMBER} am335x-bone.dtb
+            make -j${PROCESSORS_NUMBER} am335x-boneblack.dtb
            make -j${PROCESSORS_NUMBER} modules
            INSTALL_MOD_PATH=`path filesystem` make -j${PROCESSORS_NUMBER} modules_install
             cp `repo_path kernel`/arch/arm/boot/zImage `path tftp`/zImage
-            cp `repo_path kernel`/arch/arm/boot/dts/am335x-evm.dtb `path tftp`/am335x-evm.dtb
+            cp `repo_path kernel`/arch/arm/boot/dts/*.dtb `path tftp`/
         else
             LOADADDR=0x80008000 make -j${PROCESSORS_NUMBER} uImage.am335x-evm 
             cp `repo_path kernel`/arch/arm/boot/uImage.am335x-evm `path tftp`/uImage
@@ -493,7 +495,7 @@ function build_outputs()
             if [ -z $NO_DTB ]
             then
                 cp `path tftp`/zImage `path outputs`/zImage
-                cp `path tftp`/am335x-evm.dtb `path outputs`/am335x-evm.dtb
+                cp `path tftp`/*.dtb `path outputs`/
             else
                 cp `path tftp`/uImage `path outputs`/uImage
             fi