summaryrefslogtreecommitdiffstats
path: root/package/hotplug/hotplug.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/hotplug/hotplug.mk')
-rw-r--r--package/hotplug/hotplug.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/hotplug/hotplug.mk b/package/hotplug/hotplug.mk
index 293bf6228..74ffc8603 100644
--- a/package/hotplug/hotplug.mk
+++ b/package/hotplug/hotplug.mk
@@ -36,3 +36,11 @@ hotplug-clean:
hotplug-dirclean:
rm -rf $(HOTPLUG_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_HOTPLUG)),y)
+TARGETS+=hotplug
+endif