]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
UBUNTU: [Packaging] debian/rules: Honor 'do_skip_checks' for builds
authorJuerg Haefliger <juerg.haefliger@canonical.com>
Wed, 8 Mar 2023 08:25:25 +0000 (09:25 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 9 Mar 2023 14:58:33 +0000 (15:58 +0100)
One of the build steps is a config check to ensure that the generated
configs are as expected. For mainline builds, this sometimes isn't the
case but we don't care so skip that check if 'do_skip_checks' is true
(which is the case for mainline builds).

Ignore: yes
Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
debian/rules.d/4-checks.mk

index dba124fbad8ed0abcac5450fb5f3e3a6d24d6d7f..2f7853fd51e5c24308e4637a8952122d8e7c791e 100644 (file)
@@ -30,6 +30,7 @@ checks-%: module-check-% module-signature-check-% abi-check-% retpoline-check-%
 # Check the config against the known options list.
 config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
        @echo Debug: $@
+ifneq ($(do_skip_checks),true)
        if [ -e $(commonconfdir)/config.common.ubuntu ]; then \
                perl -f $(DROOT)/scripts/checks/config-check \
                        $(builddir)/build-$*/.config "$(arch)" "$*" "$(commonconfdir)" \
@@ -38,3 +39,4 @@ config-prepare-check-%: $(stampdir)/stamp-prepare-tree-%
                python3 $(DROOT)/scripts/misc/annotations -f $(commonconfdir)/annotations \
                        --arch $(arch) --flavour $* --check $(builddir)/build-$*/.config; \
        fi
+endif