From 0fe78556d7dd6f0adf068ded76183eef143a93f8 Mon Sep 17 00:00:00 2001 From: Antonio Aloisio Date: Thu, 14 Mar 2024 19:55:08 +0100 Subject: [PATCH] fix --- .../u-boot-2019.07/drivers/net/bcmbca/rtk/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release/src-rt-5.04axhnd.675x/bootloaders/u-boot-2019.07/drivers/net/bcmbca/rtk/Makefile b/release/src-rt-5.04axhnd.675x/bootloaders/u-boot-2019.07/drivers/net/bcmbca/rtk/Makefile index 9d03360e449..ed301481f46 100644 --- a/release/src-rt-5.04axhnd.675x/bootloaders/u-boot-2019.07/drivers/net/bcmbca/rtk/Makefile +++ b/release/src-rt-5.04axhnd.675x/bootloaders/u-boot-2019.07/drivers/net/bcmbca/rtk/Makefile @@ -3,7 +3,8 @@ obj-y += RTK_OBJS.o # HACK: BUILD_NAME and MODEL are lacks of '-'. # Check if BUILD_NAME contains RTAX58U_V2 ifeq ($(findstring RTAX58U_V2,$(BUILD_NAME)),RTAX58U_V2) - MODEL = rt-ax58u_v2 + MODEL_X = rt-ax58u_v2 + $(info "Selected $(MODEL_X)") else # Otherwise, exit with an error message $(error Build name not defined) @@ -11,4 +12,4 @@ endif RTK_OBJS-objs += RTK_OBJS_preb.o $(obj)/RTK_OBJS_preb.o: - cp $(srctree)/../obj.$(MODEL)/uboot/drivers/net/bcmbca/rtk/RTK_OBJS.o $(obj)/RTK_OBJS_preb.o + cp $(srctree)/../obj.$(MODEL_X)/uboot/drivers/net/bcmbca/rtk/RTK_OBJS.o $(obj)/RTK_OBJS_preb.o