mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
The distribution specific Makefile target names begin with rh-. Switch them to be use the distro agnostic dist-. rh-dist-git-test and rh-dist-git are renamed to dist-git-test and dist-git. Signed-off-by: Prarit Bhargava <prarit@redhat.com> v2: Update to include jcline's newly added docs v3: Clean up rh-help and rh-full-help output. I made all text conform to 80 chars.
17 lines
345 B
Makefile
17 lines
345 B
Makefile
ifeq ($(filter dist-% distg-%,$(MAKECMDGOALS)),)
|
|
include Makefile
|
|
endif
|
|
|
|
_OUTPUT := "."
|
|
# this section is needed in order to make O= to work
|
|
ifeq ("$(origin O)", "command line")
|
|
_OUTPUT := "$(abspath $(O))"
|
|
_EXTRA_ARGS := O=$(_OUTPUT)
|
|
endif
|
|
dist-%::
|
|
$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
|
|
|
|
distg-%::
|
|
$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
|
|
|