base-hw: avoid double slashes in path names

This commit is contained in:
Norman Feske 2021-02-16 14:21:34 +01:00
parent fa68325a57
commit db3f86d603
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ NR_OF_CPUS ?= 1
CC_OPT += -Wa,--defsym -Wa,NR_OF_CPUS=$(NR_OF_CPUS) -DNR_OF_CPUS=$(NR_OF_CPUS)
TMP := $(call select_from_repositories,lib/mk/bootstrap-hw.inc)
BASE_HW_DIR := $(TMP:%lib/mk/bootstrap-hw.inc=%)
BASE_HW_DIR := $(TMP:%/lib/mk/bootstrap-hw.inc=%)
vpath base/% $(BASE_HW_DIR)/src
vpath bootstrap/% $(BASE_HW_DIR)/src

View File

@ -72,7 +72,7 @@ NR_OF_CPUS ?= 1
CC_OPT += -Wa,--defsym -Wa,NR_OF_CPUS=$(NR_OF_CPUS) -DNR_OF_CPUS=$(NR_OF_CPUS)
TMP := $(call select_from_repositories,lib/mk/core-hw.inc)
BASE_HW_DIR := $(TMP:%lib/mk/core-hw.inc=%)
BASE_HW_DIR := $(TMP:%/lib/mk/core-hw.inc=%)
# declare source locations
vpath % $(BASE_HW_DIR)/src/core