41b065336f
check conditions of make for equality of variables with an empty value instead of check definition. A defined but empty variable under all these conditions results errors.
21 lines
559 B
Makefile
21 lines
559 B
Makefile
# this makefile is used as the last step during an individual
|
|
# feature configuration (that is, while building the actual profile
|
|
# from subprofiles and requested features)
|
|
#
|
|
# please note, it runs *after* copying subdirectories corresponding
|
|
# to requested subprofiles and *after* running generate.sh, see also
|
|
# features.in/Makefile
|
|
#
|
|
# for a real-world example, see syslinux feature
|
|
|
|
include $(BUILDDIR)/distcfg.mk
|
|
|
|
ifeq (,$(00EXAMPLE))
|
|
$(warning this is an example, who might want to include it? :])
|
|
endif
|
|
|
|
EXAMPLE := hello, world
|
|
|
|
all:
|
|
@echo $(EXAMPLE)
|