From fee35636450b49b617ece91f8a49108b4a7e2db0 Mon Sep 17 00:00:00 2001 From: Markham Date: Sun, 3 Apr 2016 12:11:37 +0200 Subject: [PATCH] call customize scripts with platform & boxmodel --- Makefile | 2 +- make/flashimage.mk | 4 ++-- make/neutrino.mk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a70f0a3..c4bb1fd 100755 --- a/Makefile +++ b/Makefile @@ -165,7 +165,7 @@ modules: # post customize post-customize: $(BASE_DIR)/customize/post-customize.sh - $(BASE_DIR)/customize/post-customize.sh + $(BASE_DIR)/customize/post-customize.sh $(PLATFORM) $(BOXMODEL) # neutrino.mk neutrino: diff --git a/make/flashimage.mk b/make/flashimage.mk index 7b94186..cf8773f 100755 --- a/make/flashimage.mk +++ b/make/flashimage.mk @@ -4,11 +4,11 @@ DATE := $(shell date +%Y-%m-%d) flash-customize: $(BASE_DIR)/customize/flash-customize.sh - $(BASE_DIR)/customize/flash-customize.sh + $(BASE_DIR)/customize/flash-customize.sh $(PLATFORM) $(BOXMODEL) flash-finalize: @if [ -x $(BASE_DIR)/customize/version.sh ]; then \ - $(BASE_DIR)/customize/version.sh finalize; \ + $(BASE_DIR)/customize/version.sh $(PLATFORM) $(BOXMODEL) "finalize"; \ echo " ============================================================================== "; \ echo -e " \033[32mCUSTOM FINALIZE DONE :) Have fun\033[0m"; \ echo " ============================================================================== "; \ diff --git a/make/neutrino.mk b/make/neutrino.mk index e00f9ad..3241e74 100755 --- a/make/neutrino.mk +++ b/make/neutrino.mk @@ -92,7 +92,7 @@ $(NEUTRINO_OBJDIR)/config.status: $(NEUTRINO_DEPS) $(D)/neutrino-hd-libs neutrino-version: $(TARGETPREFIX)/bin/neutrino if [ -e $(BASE_DIR)/customize/version.sh ]; then \ - $(BASE_DIR)/customize/version.sh; \ + $(BASE_DIR)/customize/version.sh $(PLATFORM) $(BOXMODEL); \ else \ $(MAKE) $(TARGETPREFIX)/.version; \ fi -- 2.39.5