[xenial 3/7] UBUNTU: SAUCE: bnxt_en_bpo: Remove unnecessary compile flags

Juerg Haefliger juerg.haefliger at canonical.com
Thu Aug 17 06:24:53 UTC 2017


BugLink: http://bugs.launchpad.net/bugs/1711056

Remove the following compile flags that are set by the kernel's
Makefile:
  -g -D__LINUX

Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
 ubuntu/bnxt/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ubuntu/bnxt/Makefile b/ubuntu/bnxt/Makefile
index e295011f99d9..59cd730b2ee2 100644
--- a/ubuntu/bnxt/Makefile
+++ b/ubuntu/bnxt/Makefile
@@ -403,7 +403,7 @@ ifneq ($(shell ls $(LINUXSRC)/include/$(UAPI)/linux/net_tstamp.h > /dev/null 2>&
   endif
 endif
 
-EXTRA_CFLAGS += ${DISTRO_CFLAG} -g -DCHIMP_FW -D__LINUX -DCONFIG_BNXT_SRIOV -DCONFIG_BNXT_DCB -DCONFIG_BNXT_FLASHDEV -DHSI_DBG_DISABLE -DCONFIG_BNXT_RE
+EXTRA_CFLAGS += $(DISTRO_CFLAG) -DCHIMP_FW -DCONFIG_BNXT_SRIOV -DCONFIG_BNXT_DCB -DCONFIG_BNXT_FLASHDEV -DHSI_DBG_DISABLE -DCONFIG_BNXT_RE
 
 cflags-y += $(EXTRA_CFLAGS)
 
-- 
2.11.0





More information about the kernel-team mailing list