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.

23 lines
859 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. --- a/datapath/linux/Makefile.main.in
  11. +++ b/datapath/linux/Makefile.main.in
  12. @@ -68,7 +68,7 @@ ifeq (,$(wildcard $(CONFIG_FILE)))
  13. endif
  14. default:
  15. - $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules
  16. + $(MAKE) -C $(KSRC) $(OVS_KERNEL_MAKE_FLAGS) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules
  17. modules_install:
  18. $(MAKE) -C $(KSRC) $(if @KARCH@,ARCH=@KARCH@) M=$(builddir) modules_install