Skip to content

Commit

Permalink
Merge pull request #45 from mithro/realpath-fix-only
Browse files Browse the repository at this point in the history
common: realpath is a Makefile builtin.
  • Loading branch information
mithro committed Feb 21, 2018
2 parents f46775f + 9a96fa5 commit 3850d8a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common/make/arch.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))

XML_DEPS = $(shell realpath $(SELF_DIR)/../../utils/xml_deps.py)
XML_DEPS = $(realpath $(SELF_DIR)/../../utils/xml_deps.py)

arch.deps.mk: arch.xml $(XML_DEPS) $(SELF_DIR)/arch.mk
$(XML_DEPS) $@ $<
Expand Down
2 changes: 1 addition & 1 deletion common/make/prjxray-clb.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
TOP_DIR := $(shell realpath $(SELF_DIR)/../../)
TOP_DIR := $(realpath $(SELF_DIR)/../../)

.SUFFIXES:

Expand Down
2 changes: 1 addition & 1 deletion common/make/prjxray-int.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
TOP_DIR := $(shell realpath $(SELF_DIR)/../../)
TOP_DIR := $(realpath $(SELF_DIR)/../../)

.SUFFIXES:

Expand Down
6 changes: 3 additions & 3 deletions common/make/sim.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ NPM ?= npm

SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))

NETLISTSVG = $(shell realpath $(SELF_DIR)/../../third_party/netlistsvg)
NETLISTSVG_STAMP = $(shell realpath $(SELF_DIR)/../../third_party/.netlistsvg.stamp)
NETLISTSVG = $(realpath $(SELF_DIR)/../../third_party/netlistsvg)
NETLISTSVG_STAMP = $(realpath $(SELF_DIR)/../../third_party/.netlistsvg.stamp)
NETLISTSVG_SKIN ?= $(NETLISTSVG)/lib/default.svg
NETLISTSVG_DPI ?= 300

YOSYSSVG_DPI ?= 300

NAME := $(shell echo $(notdir $(shell realpath .)) | tr a-z A-Z)
NAME := $(shell echo $(notdir $(realpath .)) | tr a-z A-Z)

$(NETLISTSVG_SKIN): $(NETLISTSVG_STAMP)
@true
Expand Down
2 changes: 1 addition & 1 deletion common/make/w.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))

WPY = $(shell realpath $(SELF_DIR)/../../utils/w.py)
WPY = $(realpath $(SELF_DIR)/../../utils/w.py)

NAMES := $(foreach W,A B C D,$(NAME_PREFIX)$(W)$(NAME_SUFFIX))

Expand Down

0 comments on commit 3850d8a

Please sign in to comment.