Cleanup of path variables.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
This commit is contained in:
parent
5ce923b3fb
commit
230331d9a5
6 changed files with 8 additions and 23 deletions
|
|
@ -8,14 +8,13 @@ MB_BUILD_SDCC_CMD ?= $(PATH_SDCC)/sdcc
|
|||
MB_BUILD_SDASM_CMD ?= $(PATH_SDCC)/sdasz80
|
||||
MB_BUILD_SDAR_CMD ?= $(PATH_SDCC)/sdar
|
||||
MB_BUILD_SDOBJCOPY_CMD ?= $(PATH_SDCC)/sdobjcopy
|
||||
MB_BUILD_UNIX2DOS_CMD ?= $(PATH_UNIX2DOS)/unix2dos
|
||||
|
||||
# TODO: Add C + mixed support;
|
||||
#$(MB_SDASM) -I$(MB_LIBASM_SRC)/include
|
||||
#-l$(LIBASM_LINK)
|
||||
|
||||
define mb_unix2dos
|
||||
$(MB_BUILD_UNIX2DOS_CMD) -n $(1) $(2)
|
||||
unix2dos -n $(1) $(2)
|
||||
endef
|
||||
|
||||
define mb_compile_asm
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
MB_MSXHUB_API ?= https://msxhub.com/api
|
||||
MB_MSXHUB_CACHE ?= $(MB_CACHE)/msxhub/repro-v0
|
||||
MB_MSXHUB_WGET ?= wget
|
||||
|
||||
# NOTE: with HDD import/export we get duplicate files after openMSX run, so force to lowercase.
|
||||
define _mb_lowercase
|
||||
|
|
@ -11,7 +10,7 @@ endef
|
|||
define _mb_msxhub_file_fetch
|
||||
@echo === Fetch msxhub file
|
||||
$(if $(wildcard $(dir $(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(1)))),,$(call mb_mkdir,$(dir $(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(1)))))
|
||||
$(if $(wildcard $(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(1))),,$(MB_MSXHUB_WGET) -O $(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(1)) $(1))
|
||||
$(if $(wildcard $(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(1))),,wget -O $(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(1)) $(1))
|
||||
endef
|
||||
|
||||
define mb_msxhub_file
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
# Setup required tools paths
|
||||
PATH_SDCC ?= /usr/bin
|
||||
PATH_UNIX2DOS ?= /usr/bin
|
||||
PATH_OPENMSX ?= /usr/bin
|
||||
PATH_MSXBUILD ?= $(dir $(lastword $(MAKEFILE_LIST)))../..
|
||||
PATH_MSXBUILD_REAL := $(if $(realpath $(PATH_MSXBUILD)),$(realpath $(PATH_MSXBUILD)),$(PATH_MSXBUILD))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue