[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,2007 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.
@ -84,7 +84,7 @@ define Build/Configure
)
endef
define Build/Compile
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
EARLY_CONFIGURE= \
EXTRA_CONFIGURE= \
@ -126,12 +126,12 @@ define Package/sablevm-mini/install
$(1)/usr/share/sablevm/examples/
endef
$(eval $(call BuildPackage,sablevm))
$(eval $(call BuildPackage,sablevm-mini))
$(foreach command, jikes fastjar, \
$(eval $(call RequireCommand,$(command), \
$(PKG_NAME) requires $(command). \
)) \
)
$(eval $(call BuildPackage,sablevm))
$(eval $(call BuildPackage,sablevm-mini))