[openwrt/openwrt] ipq40xx: fix boards being shown twice

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 21 14:34:27 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/36347d003a934372bf10e59645121ba387a6d27e

commit 36347d003a934372bf10e59645121ba387a6d27e
Author: Robert Marko <robert.marko at sartura.hr>
AuthorDate: Thu Jan 21 13:08:57 2021 +0100

    ipq40xx: fix boards being shown twice
    
    Since generic images have been split to their own
    Makefile boards are showing up twice in menuconfig
    as $(eval $(call BuildImage)) was not dropped from
    the new generic.mk.
    
    Hence $(eval $(call BuildImage)) was being called
    twice.
    
    So, lets simply drop it from generic.mk.
    
    Fixes: 378c7ff28210 ("ipq40xx: split generic images into own file")
    
    Signed-off-by: Robert Marko <robert.marko at sartura.hr>
---
 target/linux/ipq40xx/image/generic.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
index 9cd50e23ff..4e40b8be50 100644
--- a/target/linux/ipq40xx/image/generic.mk
+++ b/target/linux/ipq40xx/image/generic.mk
@@ -805,5 +805,3 @@ define Device/zyxel_wre6606
 	DEVICE_PACKAGES := -kmod-ath10k-ct kmod-ath10k-ct-smallbuffers
 endef
 TARGET_DEVICES += zyxel_wre6606
-
-$(eval $(call BuildImage))



More information about the lede-commits mailing list