summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-05 11:01:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-05 11:01:44 +0000
commitca29771c2a631fc669217f8c9b8873a032537807 (patch)
tree16562cb5e3f659220d0c1f294b52e32fe42301ba
parent90826d83c9ed70722e8d3ff0b6c399ab8d9818b2 (diff)
downloadmtk-20170518-ca29771c2a631fc669217f8c9b8873a032537807.zip
mtk-20170518-ca29771c2a631fc669217f8c9b8873a032537807.tar.gz
mtk-20170518-ca29771c2a631fc669217f8c9b8873a032537807.tar.bz2
Require* calls must now be placed before BuildPackage calls
SVN-Revision: 15620
-rw-r--r--package/iproute2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index a05f0cd..5ce9083 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -74,10 +74,12 @@ define Package/genl/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/genl/genl $(1)/usr/sbin/
endef
+$(eval $(call RequireCommand,bison, \
+ $(PKG_NAME) requires GNU bison. \
+))
+
$(eval $(call BuildPackage,ip))
$(eval $(call BuildPackage,tc))
$(eval $(call BuildPackage,genl))
-$(eval $(call RequireCommand,bison, \
- $(PKG_NAME) requires GNU bison. \
-))
+