From cc690d782c81197478adcdb5fb99061969adf756 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Jun 2007 06:16:08 +0000 Subject: Add quilt integration for packages make package/-prepare QUILT=1 will apply all patches using quilt Autorebuild will be disabled, so that you can edit all patches in the build dir. When you're done editing patches and everything works, you can call: make package/-refresh That will copy the updated patches from quilt into package//patches, and remove all old patches. Before the patches are overwritten, the correct order of the patches is verified ('cat series' is compared against 'sort series'). SVN-Revision: 7471 --- include/package.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include/package.mk') diff --git a/include/package.mk b/include/package.mk index 3e2944f..daff3ed 100644 --- a/include/package.mk +++ b/include/package.mk @@ -14,13 +14,16 @@ include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/host.mk include $(INCLUDE_DIR)/unpack.mk include $(INCLUDE_DIR)/depends.mk -include $(INCLUDE_DIR)/package-defaults.mk -include $(INCLUDE_DIR)/package-dumpinfo.mk -include $(INCLUDE_DIR)/package-ipkg.mk STAMP_PREPARED:=$(PKG_BUILD_DIR)/.prepared$(if $(DUMP),,_$(shell find ${CURDIR} $(PKG_FILE_DEPEND) $(DEP_FINDPARAMS) | md5s)) STAMP_CONFIGURED:=$(PKG_BUILD_DIR)/.configured STAMP_BUILT:=$(PKG_BUILD_DIR)/.built + +include $(INCLUDE_DIR)/quilt.mk +include $(INCLUDE_DIR)/package-defaults.mk +include $(INCLUDE_DIR)/package-dumpinfo.mk +include $(INCLUDE_DIR)/package-ipkg.mk + export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME) ifneq ($(CONFIG_AUTOREBUILD),) -- cgit v1.1