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>
Sun, 1 May 2022 11:23:12 +0000 (13:23 +0200)
commita142d96ade462e2b9bb922c8e615d3811066e794
treee216a2eff0c75daf36f8bcd550616cb1b87df56c
parentfbd9605a908dc514ebf669589d40ea38c1d25134
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>
(cherry picked from commit 1d06277407d3e294589ecde46328303a9f3803fd)
target/linux/mpc85xx/image/Makefile
target/linux/mpc85xx/image/p1020.mk