matchbox-panel: specify optional dependency on wireless_tools
authorArnout Vandecappelle <arnout@mind.be>
Mon, 2 Feb 2015 14:38:57 +0000 (15:38 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 2 Feb 2015 20:42:48 +0000 (21:42 +0100)
Make sure build is reproducible and doesn't depend on the order.

There is no corresponding configure option, but configure looks for
iwlib.h

Cc: Jean-Paul Etienne <fractalclone@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/matchbox/matchbox-panel/matchbox-panel.mk

index 72ee2861147c0c215ffe1949b522c7856608343b..9b3b6ac96003a8bffc5fc1f92e0b9397ef7b85fc 100644 (file)
@@ -22,6 +22,10 @@ else
 MATCHBOX_PANEL_CONF_OPTS += --disable-startup-notification
 endif
 
+ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS),y)
+MATCHBOX_PANEL_DEPENDENCIES += wireless_tools
+endif
+
 ################################################################################
 
 $(eval $(autotools-package))