From: Prarit Bhargava on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/953#note_52457...
-fedora-configs: FLAVOR = fedora
-fedora-configs: dist-configs
+dist-fedora-configs: FLAVOR = fedora
+dist-fedora-configs: dist-configs
^^^ I know exactly the bug you're trying to fix. You have to
```
cd redhat; make rh-configs
```
instead of just doing it at the top-level
Why don't you just add
ifeq ($(filter rh-%,$(MAKECMDGOALS)),)
include Makefile
endif
ifeq ($(filter fedora-%,$(MAKECMDGOALS)),)
include Makefile
endif
to the 'makefile'?