Ubuntu-focal-kernel/debian/rules.d/4-checks.mk

15 lines
523 B
Makefile

checks-%:
@echo Debug: $@
# Check the config against the known options list.
config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
@echo Debug: $@
if [ -e $(commonconfdir)/config.common.ubuntu ]; then \
perl -f $(DROOT)/scripts/config-check \
$(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" \
"$(skipconfig)" "$(do_enforce_all)"; \
else \
python3 $(DROOT)/scripts/misc/annotations -f $(commonconfdir)/annotations \
--arch $(arch) --flavour $* --check $(builddir)/build-$*/.config; \
fi