mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
Fix spurious rebuilds from dumped vars
Commit f49f452f2
greatly tidied up the file, which is nice, but also
introduced some whitespace around the first argument to vars-prereq.
In Make, this causes chaos!
In particular, we ended up checking whether a variable called
something like "$(last- gen -vars-loaded)" was defined. It isn't,
but $(last-gen-vars-loaded) is.
Call strip in the vars-prereq function to get rid of the whitespace at
the "entry point" for all this machinery.
This commit is contained in:
parent
9e0e0cd014
commit
903d895750
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ FORCE:
|
|||
# might print a message to the console explaining why we're rebuilding TGT).
|
||||
#
|
||||
# Call it as $(call vars-prereq,X,TGT,VS)
|
||||
vars-prereq = $(if $(call vars-differ,$(1),$(2),$(3)),FORCE,)
|
||||
vars-prereq = $(if $(call vars-differ,$(call strip,$(1)),$(2),$(3)),FORCE,)
|
||||
|
||||
###############################################################################
|
||||
# Get a list of tests and seeds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue