You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
972 B

  1. From 1df5a0eaf78e93e21d21f1438afbe5fa8a37ea61 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Tue, 26 May 2020 22:45:53 +0800
  4. Subject: [PATCH] datapath: allow passing additional $(OVS_KERNEL_MAKE_FLAGS)
  5. This can be useful for passing args like -iremap for reproducible builds
  6. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
  7. ---
  8. datapath/linux/Makefile.main.in | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in
  11. index 6db4aa3ab..6f295387a 100644
  12. --- a/datapath/linux/Makefile.main.in
  13. +++ b/datapath/linux/Makefile.main.in
  14. @@ -68,7 +68,7 @@ ifeq (,$(wildcard $(CONFIG_FILE)))
  15. endif
  16. default:
  17. - $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules
  18. + $(MAKE) -C $(KSRC) $(OVS_KERNEL_MAKE_FLAGS) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules
  19. modules_install:
  20. $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules_install