From: Don Zickus on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1579#note_8284...
I believe both of the PREBUILD_GIT_ONLY's should be ?= . Then you can remove
'ifneq' because ?= implies 'set if not defined by user' which is what the
spirit of 'ifneq' is, right?
IOW:
ifeq MAKECMDGOALS...
PREBUILD_GIT_ONLY ?= 0
else
PREBUILD_GIT_ONLY ?= 1
endif