From 5f633a64922365ac0c3a61bc374102faa9b81d8e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 22 Oct 2019 20:53:16 +0200 Subject: [PATCH] - neutrino.mk: fix neutrino build for breze4k --- make/neutrino.mk | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/make/neutrino.mk b/make/neutrino.mk index 4331fc83..b8d53baa 100644 --- a/make/neutrino.mk +++ b/make/neutrino.mk @@ -110,6 +110,14 @@ N_WEATHER_DEV_KEY ?= # ----------------------------------------------------------------------------- +ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd1 hd2)) + N_BOXMODEL = $(BOXSERIES) +else + N_BOXMODEL = $(BOXMODEL) +endif + +# ----------------------------------------------------------------------------- + N_BUILD_ENV = \ $(MAKE_OPTS) \ \ @@ -160,7 +168,7 @@ $(N_OBJ_DIR)/config.status: $(N_DEPS) --with-target=cdk \ --with-targetprefix= \ --with-boxtype=$(BOXTYPE) \ - --with-boxmodel=$(BOXSERIES) + --with-boxmodel=$(N_BOXMODEL) # ----------------------------------------------------------------------------- @@ -222,7 +230,7 @@ $(LH_OBJ_DIR)/config.status: $(LH_DEPS) \ --with-target=cdk \ --with-boxtype=$(BOXTYPE) \ - --with-boxmodel=$(BOXSERIES) + --with-boxmodel=$(N_BOXMODEL) # -----------------------------------------------------------------------------