Re: Featureset patches in linux-source package
On Mon, Jun 04, 2012 at 06:21:12AM +0100, Ben Hutchings wrote:
> Index: debian/rules.real
> ===================================================================
> --- debian/rules.real (revision 19077)
> +++ debian/rules.real (working copy)
> @@ -82,18 +91,19 @@
> $(call patch_cmd,all)
> @$(stamp)
>
> -$(STAMPS_DIR)/source_$(FEATURESET): SOURCE_DIR=$(BUILD_DIR)/source
> -$(STAMPS_DIR)/source_$(FEATURESET): DIR=$(BUILD_DIR)/source_$(FEATURESET)
> -$(STAMPS_DIR)/source_$(FEATURESET): $(STAMPS_DIR)/source
> +$(STAMPS_DIR)/source_%: SOURCE_DIR=$(BUILD_DIR)/source
> +$(STAMPS_DIR)/source_%: DIR=$(BUILD_DIR)/source_$*
> +$(STAMPS_DIR)/source_%: SOURCE_DIR=$(BUILD_DIR)/source
> +$(STAMPS_DIR)/source_%: $(STAMPS_DIR)/source
You may have to set .SECONDARY: then. Otherwise the stamp file will be
deleted as intermediate.
Bastian
--
One does not thank logic.
-- Sarek, "Journey to Babel", stardate 3842.4
Reply to: