Skip to content

Commit f433ed6

Browse files
committed
Mend hw/xilinx Makefile to match vars from 419e6f0
1 parent 3887080 commit f433ed6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

hw/xilinx/Makefile

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ OPT := 1
99
# Verbosity off by default
1010
V :=#
1111

12-
TAS = $(abspath .)/bin/tas
13-
TLD = $(abspath .)/bin/tld
12+
tas = $(abspath .)/bin/tas
13+
tld = $(abspath .)/bin/tld
1414

15-
export TAS
16-
export TLD
15+
export tas
16+
export tld
1717

18-
$(TAS) $(TLD): $(TOP)/Makefile
18+
$(tas) $(tld): $(TOP)/Makefile
1919
mkdir -p $(@D)
2020
$(MAKE) BUILDDIR=$(@D) -f $< $(@F)
2121

@@ -99,22 +99,22 @@ include $(DESIGN).md
9999

100100
# force remaking %.texe because we don't have actual dependency information here
101101
FORCE:
102-
%.texe: %.tas.cpp FORCE | $(TAS) $(TLD)
102+
%.texe: %.tas.cpp FORCE | $(tas) $(tld)
103103
@@$(MAKESTEP) -n "Recursively building $@ from $< ... "
104-
$(MAKE) -s -C $(<D) $@ TAS=$(TAS) TLD=$(TLD)
104+
$(MAKE) -s -C $(<D) $@ tas=$(tas) tld=$(tld)
105105
cp -p $(<D)/$(@F) $@
106106
@@$(MAKESTEP) done
107107

108-
%.texe: %.tas FORCE | $(TAS) $(TLD)
108+
%.texe: %.tas FORCE | $(tas) $(tld)
109109
@@$(MAKESTEP) -n "Recursively building $@ from $< ... "
110-
$(MAKE) -s -C $(<D) $@ TAS=$(TAS) TLD=$(TLD)
110+
$(MAKE) -s -C $(<D) $@ tas=$(tas) tld=$(tld)
111111
cp -p $(<D)/$(@F) $@
112112
@@$(MAKESTEP) done
113113

114-
gen/%.memh: %.texe | $(TAS)
114+
gen/%.memh: %.texe | $(tas)
115115
mkdir -p $(@D)
116116
@# TODO document / hoist start address
117-
$(TAS) -vd $< | $(TAS) -p format.memh.offset=0x1000 -p format.memh.explicit=1 -fmemh -o $@ -
117+
$(tas) -vd $< | $(tas) -p format.memh.offset=0x1000 -p format.memh.explicit=1 -fmemh -o $@ -
118118

119119
gen/%.mem: gen/%.memh
120120
cp -p $< $@

0 commit comments

Comments
 (0)