Remove vpath for %.pl files
It isn't needed, and in some configurations it causes build failures. Similar problems could still occur for other file types with a similar vpath, but it's less likely that other file types would be installed in an equivalent $(TOP)/../<dir> path. The original issue with .pl files was caused by an installation of Base where the parent directory had a bin/<host> soft-link pointing to the same bin/<host> of a newer installation of the same version of Base, so it had all the necessary .pl files in it. The vpath allowed the build in src/tools to search $(TOP)/../bin/<host> when checking the buildInstall dependency, and since it found those .pl files through the vpath it didn't bother to install them. When they were run later on in the build from the $(TOP)/bin/<host>/ path they weren't present so it failed.
This commit is contained in:
@@ -25,7 +25,6 @@ vpath %.html $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
vpath %.skel.static $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
vpath %.y $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
vpath %.l $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
vpath %.pl $(USR_VPATH) $(ALL_SRC_DIRS)
|
||||
|
||||
#---------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user