summaryrefslogtreecommitdiff
path: root/extra-modules.mk
blob: 5f8e693b15369a0cdfc9105ccd3e9267a39fd8b7 (plain)
1
2
3
4
5
6
7
8
9
# This file is included several times in a row, once
# for each element of $(modules-names).  $(extra-modules-left)
# is initialized first to $(modules-names) so that with each
# inclusion, we advance $(module) to the next name.

module := $(firstword $(extra-modules-left))
extra-modules-left := $(filter-out $(module),$(extra-modules-left))

libof-$(notdir $(module)) := extramodules