|
From 1df5a0eaf78e93e21d21f1438afbe5fa8a37ea61 Mon Sep 17 00:00:00 2001
|
|
From: Yousong Zhou <yszhou4tech@gmail.com>
|
|
Date: Tue, 26 May 2020 22:45:53 +0800
|
|
Subject: [PATCH] datapath: allow passing additional $(OVS_KERNEL_MAKE_FLAGS)
|
|
|
|
This can be useful for passing args like -iremap for reproducible builds
|
|
|
|
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
|
|
---
|
|
datapath/linux/Makefile.main.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/datapath/linux/Makefile.main.in
|
|
+++ b/datapath/linux/Makefile.main.in
|
|
@@ -68,7 +68,7 @@ ifeq (,$(wildcard $(CONFIG_FILE)))
|
|
endif
|
|
|
|
default:
|
|
- $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules
|
|
+ $(MAKE) -C $(KSRC) $(OVS_KERNEL_MAKE_FLAGS) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules
|
|
|
|
modules_install:
|
|
$(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules_install
|