diff --git a/include/target.mk b/include/target.mk index 2557e74967..24b740ccfd 100644 --- a/include/target.mk +++ b/include/target.mk @@ -228,7 +228,9 @@ ifeq ($(DUMP),1) .PRECIOUS: $(TMP_CONFIG) ifdef KERNEL_TESTING_PATCHVER - FEATURES += testing-kernel + ifneq ($(KERNEL_TESTING_PATCHVER),$(KERNEL_PATCHVER)) + FEATURES += testing-kernel + endif endif ifneq ($(CONFIG_OF),) FEATURES += dt