From: Felix Fietkau Date: Tue, 5 May 2009 11:01:44 +0000 (+0000) Subject: Require* calls must now be placed before BuildPackage calls X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=2a9e7b4aaac8f3920f864a8f274bb64f7c69af48 Require* calls must now be placed before BuildPackage calls SVN-Revision: 15620 --- diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile index a05f0cdfe1..5ce9083e38 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. \ -)) +