Skip to content

Commit

Permalink
drm/xe: Replace 'grouped target' in Makefile with pattern rule
Browse files Browse the repository at this point in the history
Since 'grouped target' is used only in 'make' 4.3, it should
be avoided. Replace it with 'multi-target pattern rule' which
has the same behavior.

Fixes: 9616e74 ("drm/xe: Add support for OOB workarounds")
Signed-off-by: Dafna Hirschfeld <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
[ reword commit message ]
Signed-off-by: Lucas De Marchi <[email protected]>
  • Loading branch information
dhirschfeld1 authored and lucasdemarchi committed Mar 4, 2024
1 parent 27b5a3f commit 5224ed5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/xe/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ generated_oob := $(obj)/generated/xe_wa_oob.c $(obj)/generated/xe_wa_oob.h
quiet_cmd_wa_oob = GEN $(notdir $(generated_oob))
cmd_wa_oob = mkdir -p $(@D); $^ $(generated_oob)

$(generated_oob) &: $(obj)/xe_gen_wa_oob $(srctree)/$(src)/xe_wa_oob.rules
$(obj)/generated/%_wa_oob.c $(obj)/generated/%_wa_oob.h: $(obj)/xe_gen_wa_oob \
$(srctree)/$(src)/xe_wa_oob.rules
$(call cmd,wa_oob)

uses_generated_oob := \
Expand Down

0 comments on commit 5224ed5

Please sign in to comment.