From aecfa96b98be1bdc9562cf912c7497dd241cd9b8 Mon Sep 17 00:00:00 2001 From: Hao Zhang Date: Mon, 24 Jul 2023 15:58:03 +0800 Subject: [PATCH] Support PMC8222 driver build for OpenEuler-2203 version. This patch is referred from src/Makefile.alt. Signed-off-by: Hao Zhang --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8e7196c..3c4cadb 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,10 @@ OSVENDOR := $(shell \ $(KVER_SHORT) = "4.19" ]; \ then \ echo "OEULER2003"; \ + elif [ -n "`grep 'release 22.03' /etc/openEuler-release`" -a \ + $(KVER_SHORT) = "5.10" ]; \ + then \ + echo "OEULER2203"; \ fi; \ elif [ -f /etc/os-release ]; \ then \ -- 2.33.0