aboutsummaryrefslogtreecommitdiff
path: root/package/libpcap/libpcap.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpcap/libpcap.mk')
-rw-r--r--package/libpcap/libpcap.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 53ec7f09fb..104fbad1c7 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -77,3 +77,11 @@ libpcap-clean:
libpcap-dirclean:
rm -rf $(LIBPCAP_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LIBPCAP)),y)
+TARGETS+=libpcap
+endif