X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/cf807efd13ca47672871d0c50d23274fe34c3114..052dece811fc6f676805bf7625c24ff34d36d23e:/package/Makefile?ds=sidebyside diff --git a/package/Makefile b/package/Makefile index b6165b856..304343a2a 100644 --- a/package/Makefile +++ b/package/Makefile @@ -9,8 +9,9 @@ include $(TOPDIR)/rules.mk include $(TOPDIR)/.config include $(TOPDIR)/.pkgdeps +include $(INCLUDE_DIR)/host.mk -PREREQ_PACKAGES:=$(patsubst %,%-prereq,$(package-prereq)) +PREREQ_PACKAGES:=$(patsubst %,%-prereq,$(prereq-y) $(prereq-m)) DOWNLOAD_PACKAGES:=$(patsubst %,%-download,$(package-y) $(package-m)) COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y) $(package-m)) INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y)) @@ -58,7 +59,7 @@ install: index: $(PACKAGE_DIR)/Packages $(PACKAGE_DIR)/Packages: $(PACKAGE_DIR)/*.ipk - (cd $(PACKAGE_DIR); $(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages) + (cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages) ifeq ($(MAKECMDGOALS),compile-targets)