From: Peng Fan <peng....@nxp.com>

Need to include ALWAYS_COMPAT_MK to build out inmates demo with
5.4 kernel.

Fixes: 7b2876158c416("kbuild: Avoid deprecated 'always'")
Signed-off-by: Peng Fan <peng....@nxp.com>
---
 inmates/lib/arm/Makefile.lib   | 1 +
 inmates/lib/arm64/Makefile.lib | 1 +
 2 files changed, 2 insertions(+)

diff --git a/inmates/lib/arm/Makefile.lib b/inmates/lib/arm/Makefile.lib
index 723ff6aa..aaa33fcf 100644
--- a/inmates/lib/arm/Makefile.lib
+++ b/inmates/lib/arm/Makefile.lib
@@ -39,6 +39,7 @@
 #
 
 -include $(GEN_CONFIG_MK)
+-include $(ALWAYS_COMPAT_MK)
 
 LINUXINCLUDE += -I$(INMATES_LIB)/include
 LINUXINCLUDE += -I$(INMATES_LIB)/../arm-common/include
diff --git a/inmates/lib/arm64/Makefile.lib b/inmates/lib/arm64/Makefile.lib
index 723ff6aa..aaa33fcf 100644
--- a/inmates/lib/arm64/Makefile.lib
+++ b/inmates/lib/arm64/Makefile.lib
@@ -39,6 +39,7 @@
 #
 
 -include $(GEN_CONFIG_MK)
+-include $(ALWAYS_COMPAT_MK)
 
 LINUXINCLUDE += -I$(INMATES_LIB)/include
 LINUXINCLUDE += -I$(INMATES_LIB)/../arm-common/include
-- 
2.28.0

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20200925101006.15965-1-peng.fan%40nxp.com.

Reply via email to