[openwrt/openwrt] mpc85xx: fix incorrect kernel target

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 19 19:10:52 PDT 2023


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/00b40ef00d42b9b384e72aea604bc53e39e24ac3

commit 00b40ef00d42b9b384e72aea604bc53e39e24ac3
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sun Mar 19 21:33:32 2023 +0100

    mpc85xx: fix incorrect kernel target
    
    The wrapper-image for the WL-WDR4900 was used as a build-target for the
    kernel. This workd fine as long as only a single wrapper is used with
    the OpenWrt build-system.
    
    If additional wrappers are used, the build becomes racy in the
    wrapper-stage.
    
    The wrapper images actually do not represent a target. They are built
    based on the kernel configuration. Only copy the resulting images to
    avoid race-conditions as explained.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/mpc85xx/p1010/target.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mpc85xx/p1010/target.mk b/target/linux/mpc85xx/p1010/target.mk
index 019536ff1a..86628e32da 100644
--- a/target/linux/mpc85xx/p1010/target.mk
+++ b/target/linux/mpc85xx/p1010/target.mk
@@ -1,5 +1,5 @@
 BOARDNAME:=P1010
-KERNELNAME:=simpleImage.tl-wdr4900-v1
+KERNEL_IMAGES:=simpleImage.tl-wdr4900-v1
 
 define Target/Description
 	Build firmware images for P1010 based boards.




More information about the lede-commits mailing list