mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-31 16:58:40 +01:00
defs-cpp.mk, mcu-defs.mk, rules.mk: Code beautification and re-ordering
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
419d3b2a08
commit
ed76759a42
3 changed files with 79 additions and 91 deletions
|
|
@ -6,19 +6,19 @@
|
|||
# endif
|
||||
#endef
|
||||
|
||||
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
|
||||
#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