[link-raw] add switch for link raw to common-switches.mk (#2800)

diff --git a/examples/common-switches.mk b/examples/common-switches.mk
index ba199c8..bda5663 100644
--- a/examples/common-switches.mk
+++ b/examples/common-switches.mk
@@ -79,6 +79,10 @@
 configure_OPTIONS              += --enable-legacy
 endif
 
+ifeq ($(LINK_RAW),1)
+configure_OPTIONS              += --enable-raw-link-api
+endif
+
 ifeq ($(MAC_FILTER),1)
 configure_OPTIONS              += --enable-mac-filter
 endif