Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59eba1f

Browse files
committed
Fix DKMS include path parsing
filter-out first argument is the space separated list of patterns.Current implementation will remove any individual "-include" positionalarguments which will make cmdline invalid.Signed-off-by: Sergei Iudin <tsipa740@gmail.com>
1 parent5b46cf5 commit59eba1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎drivers/gpu/drm/amd/dkms/Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ endif
125125
exportOS_NAMEOS_VERSION
126126

127127
LINUX_SRCTREE_INCLUDE :=\
128-
$(filter-out -I%/uapi -include%/kconfig.h,$(LINUXINCLUDE))
128+
$(shell echo$(LINUXINCLUDE) | \
129+
sed -e "s|-I[^ ]*uapi||g" \
130+
-e "s|-include [^ ]*/kconfig.h||g" -E "s| +| |g")
129131
USER_INCLUDE :=$(filter-out$(LINUX_SRCTREE_INCLUDE),$(LINUXINCLUDE))
130132

131133
LINUXINCLUDE :=\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp