mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-21 18:14:43 +02:00
include .targetinfo in the image builder, and allow direct calls to the package_index target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6093 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d7b0d6669f
commit
f025f34c0d
@ -25,6 +25,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: FORCE
|
|||||||
$(INCLUDE_DIR) $(SCRIPT_DIR) $(PACKAGE_DIR) \
|
$(INCLUDE_DIR) $(SCRIPT_DIR) $(PACKAGE_DIR) \
|
||||||
$(TOPDIR)/rules.mk $(TOPDIR)/.config \
|
$(TOPDIR)/rules.mk $(TOPDIR)/.config \
|
||||||
$(TMP_DIR)/.target.mk \
|
$(TMP_DIR)/.target.mk \
|
||||||
|
$(TMP_DIR)/.targetinfo \
|
||||||
./files/Makefile \
|
./files/Makefile \
|
||||||
$(IB_BUILD_DIR)/
|
$(IB_BUILD_DIR)/
|
||||||
$(CP) $(STAGING_DIR)/bin/* $(IB_BUILD_DIR)/staging_dir_$(ARCH)/bin
|
$(CP) $(STAGING_DIR)/bin/* $(IB_BUILD_DIR)/staging_dir_$(ARCH)/bin
|
||||||
|
@ -88,7 +88,7 @@ $(TOPDIR)/tmp/ipkg.conf: FORCE
|
|||||||
BUILD_PACKAGES:=$(sort $(DEFAULT_PACKAGES) $(PACKAGES) $($(PROFILE)_PACKAGES) kernel)
|
BUILD_PACKAGES:=$(sort $(DEFAULT_PACKAGES) $(PACKAGES) $($(PROFILE)_PACKAGES) kernel)
|
||||||
BUILD_PACKAGES:=$(patsubst base-files,base-files-$(BOARD)-$(KERNEL),$(BUILD_PACKAGES))
|
BUILD_PACKAGES:=$(patsubst base-files,base-files-$(BOARD)-$(KERNEL),$(BUILD_PACKAGES))
|
||||||
|
|
||||||
image: $(TOPDIR)/tmp/ipkg.conf
|
image:
|
||||||
if [ -z "$($(PROFILE)_NAME)" ]; then \
|
if [ -z "$($(PROFILE)_NAME)" ]; then \
|
||||||
echo Profile $(PROFILE) not found.; \
|
echo Profile $(PROFILE) not found.; \
|
||||||
echo 'Use "make info" to get a list of available target profiles'; \
|
echo 'Use "make info" to get a list of available target profiles'; \
|
||||||
@ -107,7 +107,7 @@ endif
|
|||||||
$(MAKE) package_postinst
|
$(MAKE) package_postinst
|
||||||
$(MAKE) build_image
|
$(MAKE) build_image
|
||||||
|
|
||||||
package_index: FORCE
|
package_index: $(TOPDIR)/tmp/ipkg.conf FORCE
|
||||||
@echo
|
@echo
|
||||||
@echo Building package index...
|
@echo Building package index...
|
||||||
(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages) >/dev/null 2>/dev/null
|
(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages) >/dev/null 2>/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user