Skip to content

Commit 736e62f

Browse files
committed
fixup! WIP: add header test target copied from i915
Fixes out of tree header check after Fixes: b1992c3 ("kbuild: use $(src) instead of $(srctree)/$(src) for source directory"). Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 7181fa6 commit 736e62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/apple/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ no-header-test := \
2323

2424
always-y += \
2525
$(patsubst %.h,%.hdrtest, $(filter-out $(no-header-test), \
26-
$(shell cd $(srctree)/$(src) && find * -name '*.h')))
26+
$(shell cd $(src) && find * -name '*.h')))
2727

2828
quiet_cmd_hdrtest = HDRTEST $(patsubst %.hdrtest,%.h,$@)
2929
cmd_hdrtest = $(CC) $(filter-out $(CFLAGS_GCOV), $(c_flags)) -S -o /dev/null -x c /dev/null -include $<; touch $@

0 commit comments

Comments
 (0)