mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
mcu-defs.mk: Don't error out on clean target
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
7eca86c5a1
commit
6f86a51783
1 changed files with 12 additions and 10 deletions
|
|
@ -8,16 +8,18 @@
|
|||
|
||||
include $(MODDIR)/make/mcu-tags.mk
|
||||
|
||||
ifeq ($(MCU_BOARD_MODEL),)
|
||||
$(error MCU_BOARD_MODEL not specified)
|
||||
endif
|
||||
|
||||
ifeq ($(MCU_FLASH_OFFSET),)
|
||||
$(error MCU_FLASH_OFFSET not specified)
|
||||
endif
|
||||
|
||||
ifeq ($(MCU_FLASH_SIZE),)
|
||||
$(error MCU_FLASH_SIZE not specified)
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
ifeq ($(MCU_BOARD_MODEL),)
|
||||
$(error MCU_BOARD_MODEL not specified)
|
||||
endif
|
||||
|
||||
ifeq ($(MCU_FLASH_OFFSET),)
|
||||
$(error MCU_FLASH_OFFSET not specified)
|
||||
endif
|
||||
|
||||
ifeq ($(MCU_FLASH_SIZE),)
|
||||
$(error MCU_FLASH_SIZE not specified)
|
||||
endif
|
||||
endif
|
||||
|
||||
MCU_PRODUCT_TMPL_DIR ?= $(MODDIR)/tmpl/products
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue