mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
change 'source' to 'download'
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4176 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fa318fcede
commit
121ce3b367
@ -294,7 +294,7 @@ else
|
|||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
ifneq ($(strip $(PKG_SOURCE)),)
|
ifneq ($(strip $(PKG_SOURCE)),)
|
||||||
source: $(DL_DIR)/$(PKG_SOURCE)
|
download: $(DL_DIR)/$(PKG_SOURCE)
|
||||||
|
|
||||||
$(DL_DIR)/$(PKG_SOURCE):
|
$(DL_DIR)/$(PKG_SOURCE):
|
||||||
mkdir -p $(DL_DIR)
|
mkdir -p $(DL_DIR)
|
||||||
@ -303,7 +303,7 @@ else
|
|||||||
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source:
|
download:
|
||||||
prepare: $(PKG_BUILD_DIR)/.prepared
|
prepare: $(PKG_BUILD_DIR)/.prepared
|
||||||
configure: $(PKG_BUILD_DIR)/.configured
|
configure: $(PKG_BUILD_DIR)/.configured
|
||||||
|
|
||||||
|
@ -3,15 +3,15 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(TOPDIR)/.config
|
include $(TOPDIR)/.config
|
||||||
include $(TOPDIR)/.pkgdeps
|
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))
|
COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y) $(package-m))
|
||||||
INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y))
|
INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y))
|
||||||
|
|
||||||
$(STAMP_DIR) $(TARGET_DIR):
|
$(STAMP_DIR) $(TARGET_DIR):
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
%-source: $(STAMP_DIR) $(TARGET_DIR)
|
%-download: $(STAMP_DIR) $(TARGET_DIR)
|
||||||
$(MAKE) -C $(patsubst %-source,%,$@) source MAKEFLAGS="$(BUILD_MAKEFLAGS)"
|
$(MAKE) -C $(patsubst %-download,%,$@) download MAKEFLAGS="$(BUILD_MAKEFLAGS)"
|
||||||
|
|
||||||
%-prepare: $(STAMP_DIR) $(TARGET_DIR)
|
%-prepare: $(STAMP_DIR) $(TARGET_DIR)
|
||||||
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare MAKEFLAGS="$(BUILD_MAKEFLAGS)"
|
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare MAKEFLAGS="$(BUILD_MAKEFLAGS)"
|
||||||
|
@ -20,7 +20,7 @@ linux-install: $(BIN_DIR)
|
|||||||
sdk-compile: linux-install
|
sdk-compile: linux-install
|
||||||
image_install: linux-install
|
image_install: linux-install
|
||||||
|
|
||||||
download: $(patsubst %,%-source,$(TARGETS-y))
|
download: $(patsubst %,%-download,$(TARGETS-y))
|
||||||
prepare: linux-prepare
|
prepare: linux-prepare
|
||||||
compile: linux-compile image_compile
|
compile: linux-compile image_compile
|
||||||
install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
|
install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
|
||||||
@ -38,8 +38,8 @@ image_install: image_compile
|
|||||||
|
|
||||||
%-clean: FORCE
|
%-clean: FORCE
|
||||||
$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
||||||
%-source: FORCE
|
%-download: FORCE
|
||||||
$(MAKE) -C $(patsubst %-source,%,$@) source
|
$(MAKE) -C $(patsubst %-download,%,$@) download
|
||||||
%-prepare: FORCE
|
%-prepare: FORCE
|
||||||
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare
|
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare
|
||||||
%-compile: %-prepare
|
%-compile: %-prepare
|
||||||
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
TARGETS-y:=sed kernel-headers sstrip binutils gcc uClibc ipkg-utils libnotimpl squashfs jffs2 lzma
|
TARGETS-y:=sed kernel-headers sstrip binutils gcc uClibc ipkg-utils libnotimpl squashfs jffs2 lzma
|
||||||
TARGETS-$(CONFIG_GDB) += gdb
|
TARGETS-$(CONFIG_GDB) += gdb
|
||||||
|
|
||||||
TARGETS_DOWNLOAD:=$(patsubst %,%-source,$(TARGETS-y))
|
TARGETS_DOWNLOAD:=$(patsubst %,%-download,$(TARGETS-y))
|
||||||
TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS-y))
|
TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS-y))
|
||||||
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS-y))
|
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS-y))
|
||||||
|
|
||||||
@ -41,8 +41,8 @@ $(STAGING_DIR):
|
|||||||
$(TOOL_BUILD_DIR):
|
$(TOOL_BUILD_DIR):
|
||||||
@mkdir -p $@
|
@mkdir -p $@
|
||||||
|
|
||||||
%-source: FORCE
|
%-download: FORCE
|
||||||
$(MAKE) -C $(patsubst %-source,%,$@) source
|
$(MAKE) -C $(patsubst %-download,%,$@) download
|
||||||
|
|
||||||
%-prepare: $(TOOLCHAIN_STAMP_DIR) $(STAGING_DIR) $(TOOL_BUILD_DIR) FORCE
|
%-prepare: $(TOOLCHAIN_STAMP_DIR) $(STAGING_DIR) $(TOOL_BUILD_DIR) FORCE
|
||||||
@[ -f $(TOOLCHAIN_STAMP_DIR)/.toolchain_$@ ] || { \
|
@[ -f $(TOOLCHAIN_STAMP_DIR)/.toolchain_$@ ] || { \
|
||||||
|
Loading…
Reference in New Issue
Block a user