summaryrefslogtreecommitdiff
path: root/scripts/Makefile.compiler
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2025-04-29 23:42:29 +0300
committerRob Clark <robdclark@chromium.org>2025-04-29 23:42:29 +0300
commit844e31bbaef7c8a6ff2c0fbac45c0c85b5484482 (patch)
tree01d80b723a71bff43ffd866499f497e697a9766a /scripts/Makefile.compiler
parent9d78f02503227d3554d26cf8ca73276105c98f3e (diff)
parent0d607a59a0f6593e72630854a8bcb8b01b8dce40 (diff)
downloadlinux-844e31bbaef7c8a6ff2c0fbac45c0c85b5484482.tar.xz
Merge remote-tracking branch 'drm-misc/drm-misc-next' into msm-next
Merge drm-misc-next to get commit Fixes: fec450ca15af ("drm/display: hdmi: provide central data authority for ACR params"). Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/Makefile.compiler')
-rw-r--r--scripts/Makefile.compiler4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.compiler b/scripts/Makefile.compiler
index 8c1029687e2e..8956587b8547 100644
--- a/scripts/Makefile.compiler
+++ b/scripts/Makefile.compiler
@@ -67,6 +67,10 @@ gcc-min-version = $(call test-ge, $(CONFIG_GCC_VERSION), $1)
# Usage: cflags-$(call clang-min-version, 110000) += -foo
clang-min-version = $(call test-ge, $(CONFIG_CLANG_VERSION), $1)
+# rustc-min-version
+# Usage: rustc-$(call rustc-min-version, 108500) += -Cfoo
+rustc-min-version = $(call test-ge, $(CONFIG_RUSTC_VERSION), $1)
+
# ld-option
# Usage: KBUILD_LDFLAGS += $(call ld-option, -X, -Y)
ld-option = $(call try-run, $(LD) $(KBUILD_LDFLAGS) $(1) -v,$(1),$(2),$(3))