mpc85xx: Fix output location of padded dtb
authorMartin Kennedy <hurricos@gmail.com>
Tue, 26 Apr 2022 21:04:06 +0000 (17:04 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 30 Apr 2022 21:56:47 +0000 (23:56 +0200)
commit1d06277407d3e294589ecde46328303a9f3803fd
tree8f21ff87404e11ad07d95938f103f52192645004
parentaeaa816cd2bd22de165c71a41d8d198a9235e971
mpc85xx: Fix output location of padded dtb

In commit 7e614820a892 ("mpc85xx: add support for Extreme Networks
WS-AP3825i"), we borrowed a recipe convention from apm821xx for device
tree blob padding. Unfortunately, in the apm821xx target, the image
recipes name the device tree blob differently, meaning that in
mpc85xx, the padded dtb is never consumed.

Change the definition of `Build/dtb` so that it outputs the padded dtb
to the correct location for it to be consumed.

Also, rename the recipe to `Build/pad-dtb`, so it is clear we
are building and padding the device tree blob.

This change fixes Github issue #9779 [1].

[1]: https://github.com/openwrt/openwrt/issues/9779

Fixes: 7e614820a892 ("mpc85xx: add support for Extreme Networks WS-AP3825i")
Signed-off-by: Martin Kennedy <hurricos@gmail.com>
target/linux/mpc85xx/image/Makefile
target/linux/mpc85xx/image/p1020.mk