diff options
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig index cc44b00012..1f4b62822a 100644 --- a/Makeconfig +++ b/Makeconfig @@ -107,9 +107,10 @@ sysdirs := $(foreach D,$(config-sysdirs),$(firstword $(filter /%,$D) $(..)$D)) # to find specific add-on files without assuming the add-on directory name. # It also means that headers can go into an add-on's base directory # instead of the add-on needing a sysdeps/generic of its own. -+sysdep_dirs := $(sysdirs) $(foreach add-on,$(sysdeps-add-ons),\ - $(firstword $(filter /%,$(add-on)) \ - $(..)$(add-on))) +sysdeps-srcdirs := $(foreach add-on,$(sysdeps-add-ons),\ + $(firstword $(filter /%,$(add-on)) \ + $(..)$(add-on))) ++sysdep_dirs = $(sysdirs) $(sysdeps-srcdirs) ifdef objdir +sysdep_dirs := $(objdir) $(+sysdep_dirs) endif |