diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2015-08-12 10:55:00 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2015-08-14 12:16:27 +0800 |
commit | 18038a504324c04790183b52fd74b399d80d9aa5 (patch) | |
tree | 78e45de00c44d255e56ac13dc7895f6db6b96d20 /net/xl2tpd | |
parent | 164b67cce58d8617985fa6d2d0a7149559084940 (diff) |
xl2tpd: conditionally build with flags for more verbose log output.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'net/xl2tpd')
-rw-r--r-- | net/xl2tpd/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/xl2tpd/Makefile b/net/xl2tpd/Makefile index 2dc598f84..6f9bce869 100644 --- a/net/xl2tpd/Makefile +++ b/net/xl2tpd/Makefile @@ -42,6 +42,26 @@ endef # Use optimization options from OpenWrt build system MAKE_FLAGS += OFLAGS="" +ifneq (0,0) + # debugging options from Makefile of xl2tpd package + EXTRA_CFLAGS += \ + -DDEBUG_ZLB \ + -DDEBUG_HELLO \ + -DDEBUG_CLOSE \ + -DDEBUG_FLOW \ + -DDEBUG_FILE \ + -DDEBUG_AAA \ + -DDEBUG_PAYLOAD \ + -DDEBUG_CONTROL \ + -DDEBUG_PPPD \ + -DDEBUG_HIDDEN \ + -DDEBUG_ENTROPY \ + -DDEBUG_CONTROL_XMIT \ + -DDEBUG_MAGIC \ + -DDEBUG_FLOW_MORE \ + -DDEBUG_AUTH +endif + define Package/xl2tpd/conffiles /etc/xl2tpd/xl2tpd.conf /etc/xl2tpd/xl2tp-secrets |