mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
base-hw: avoid double slashes in path names
This commit is contained in:
parent
fa68325a57
commit
db3f86d603
@ -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)
|
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)
|
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 base/% $(BASE_HW_DIR)/src
|
||||||
vpath bootstrap/% $(BASE_HW_DIR)/src
|
vpath bootstrap/% $(BASE_HW_DIR)/src
|
||||||
|
@ -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)
|
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)
|
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
|
# declare source locations
|
||||||
vpath % $(BASE_HW_DIR)/src/core
|
vpath % $(BASE_HW_DIR)/src/core
|
||||||
|
Loading…
x
Reference in New Issue
Block a user