[qca-ssdk-shell]: merge hawkeye codes to master branch

merge dev_hawkeye_fpga branch qca-ssdk-shell codes to master branch

Change-Id: Idaac1d294d512861144215e0fe2f5dfdd4b8163a
Signed-off-by: mingxinh <mingxinh@codeaurora.org>
diff --git a/make/linux_opt.mk b/make/linux_opt.mk
index f68fac9..e0cf4ba 100755
--- a/make/linux_opt.mk
+++ b/make/linux_opt.mk
@@ -78,6 +78,18 @@
   MODULE_CFLAG += -DIN_SEC
 endif
 
+ifeq (TRUE, $(IN_QM))
+  MODULE_CFLAG += -DIN_QM
+endif
+
+ifeq (TRUE, $(IN_BM))
+  MODULE_CFLAG += -DIN_BM
+endif
+
+ifeq (TRUE, $(IN_FLOW))
+  MODULE_CFLAG += -DIN_FLOW
+endif
+
 ifeq (TRUE, $(IN_NAT_HELPER))
   MODULE_CFLAG += -DIN_NAT_HELPER
 endif
@@ -86,10 +98,34 @@
   MODULE_CFLAG += -DIN_INTERFACECONTROL
 endif
 
+ifeq (TRUE, $(IN_CTRLPKT))
+  MODULE_CFLAG += -DIN_CTRLPKT
+endif
+
+ifeq (TRUE, $(IN_SERVCODE))
+  MODULE_CFLAG += -DIN_SERVCODE
+endif
+
 ifeq (TRUE, $(IN_MACBLOCK))
   MODULE_CFLAG += -DIN_MACBLOCK
 endif
 
+ifeq (TRUE, $(IN_VSI))
+  MODULE_CFLAG += -DIN_VSI
+endif
+
+ifeq (TRUE, $(IN_POLICER))
+  MODULE_CFLAG += -DIN_POLICER
+endif
+
+ifeq (TRUE, $(IN_SHAPER))
+  MODULE_CFLAG += -DIN_SHAPER
+endif
+
+ifeq (TRUE, $(IN_PPPOE))
+  MODULE_CFLAG += -DIN_PPPOE
+endif
+
 ifneq (TRUE, $(FAL))
   MODULE_CFLAG += -DHSL_STANDALONG
 endif
@@ -263,11 +299,14 @@
    	  MODULE_CFLAG += -DKVER24
     endif
 
-    ifeq (TRUE, $(KERNEL_MODE))
-      MODULE_CFLAG += -static
-    else
-      MODULE_CFLAG += -static -DUSER_MODE
+    ifneq (TRUE, $(KERNEL_MODE))
+      MODULE_CFLAG += -DUSER_MODE
     endif
+
+    ifneq (arm64, $(ARCH))
+      MODULE_CFLAG += -static
+    endif
+ 
 endif
 
 ifneq (TRUE, $(KERNEL_MODE))