From 40e3f660c1c0f400092cce09feb8c13bec97caeb Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Fri, 6 Sep 2019 08:29:50 +0000
Subject: [PATCH] uboot-fritz4040: build with ipq40xx "generic" subtarget

Fixes: 853e4dd3 ("ipqx0xx: add Generic subtarget")
Ref: https://forum.openwrt.org/t/ipq40xx-snapshot-not-updated-since-22nd-august/44126
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
---
 package/boot/uboot-fritz4040/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile
index df9c685c954f..7deaf45dea49 100644
--- a/package/boot/uboot-fritz4040/Makefile
+++ b/package/boot/uboot-fritz4040/Makefile
@@ -21,6 +21,7 @@ include $(INCLUDE_DIR)/package.mk
 
 define U-Boot/Default
   BUILD_TARGET:=ipq40xx
+  BUILD_SUBTARGET:=generic
   UBOOT_BOARD:=$(1)
   UBOOT_IMAGE:=uboot-$(1).bin
 endef
-- 
2.30.2