Require* calls must now be placed before BuildPackage calls
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 May 2009 11:01:44 +0000 (11:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 May 2009 11:01:44 +0000 (11:01 +0000)
SVN-Revision: 15620

package/iproute2/Makefile

index a05f0cd..5ce9083 100644 (file)
@@ -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. \
-))
+