X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/242527ccb9da3ac4cfe50969092a739c8b359321..de95ef402febb29c914ce44dc4ad558e04a3dc6d:/package/Makefile diff --git a/package/Makefile b/package/Makefile index 4b924a390..7a3af2e6f 100644 --- a/package/Makefile +++ b/package/Makefile @@ -1,17 +1,24 @@ -# Main makefile for the packages +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + include $(TOPDIR)/rules.mk include $(TOPDIR)/.config include $(TOPDIR)/.pkgdeps -SOURCE_PACKAGES:=$(patsubst %,%-source,$(package-y) $(package-m)) +SOURCE_PACKAGES:=$(patsubst %,%-download,$(package-y) $(package-m)) COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y) $(package-m)) INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y)) $(STAMP_DIR) $(TARGET_DIR): mkdir -p $@ -%-source: $(STAMP_DIR) $(TARGET_DIR) - $(MAKE) -C $(patsubst %-source,%,$@) source MAKEFLAGS="$(BUILD_MAKEFLAGS)" +%-download: $(STAMP_DIR) $(TARGET_DIR) + $(MAKE) -C $(patsubst %-download,%,$@) download MAKEFLAGS="$(BUILD_MAKEFLAGS)" %-prepare: $(STAMP_DIR) $(TARGET_DIR) $(MAKE) -C $(patsubst %-prepare,%,$@) prepare MAKEFLAGS="$(BUILD_MAKEFLAGS)"