From 15ea93068339175e5e198ab204b83993b97fe859 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 5 May 2009 11:01:44 +0000 Subject: [PATCH] Require* calls must now be placed before BuildPackage calls git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15620 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/iproute2/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile index a05f0cdfe..5ce9083e3 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. \ -)) + -- 2.20.1