[packages] Require* calls must now be placed before BuildPackage calls

git-svn-id: svn://svn.openwrt.org/openwrt/packages@15835 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
agb
2009-05-14 07:13:06 +00:00
parent 38a63190fa
commit b5c97c27ea
14 changed files with 71 additions and 62 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -41,10 +41,11 @@ define Package/lilo/install
$(CP) ./files/boot.msg $(1)/etc/
endef
$(eval $(call BuildPackage,lilo))
$(foreach command, as86 ld86, \
$(eval $(call RequireCommand,$(command), \
$(PKG_NAME) requires $(command). \
)) \
)
$(eval $(call BuildPackage,lilo))