summary refs log tree commit diff
path: root/extra-modules.mk
blob: c7ed850995d71b5f1a09549ef25997494d2e482f (plain) (blame)
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))

CPPFLAGS-$(module).c += -DNOT_IN_libc