Skip to contentSkip to conversation

Export RCS_TAR_IGNORE for rpm targets

PATCH RESEND In review Tom Rini 2 participants 2 messages Oct 18, 2005 – Oct 19, 2005 Kbuild

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH RESEND 1/1 Export RCS_TAR_IGNORE for rpm targets

[ Originally sent Oct 10, no comments but should be clearly correct ]

The variable RCS_TAR_IGNORE is used in scripts/packaging/Makefile, but not exported from the main Makefile, so it's never used.

This results in the rpm targets being very unhappy in quilted trees.

Makefile +1 -1
@@ -372,7 +372,7 @@ export MODVERDIR := $(if $(KBUILD_EXTMOD
 # Files to ignore in find ... statements
 
 RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg \) -prune -o
-RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg
+export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg
 
 # ===========================================================================
 # Rules shared between *config targets and build targets
Signature · 2 lines
Tom Rini
http://gate.crashing.org/~trini/
#1 lore raw

Andrew - please apply. It's an obvious bugfix.

Sam

Quoted 8 lines · Tom Rini

[ Originally sent Oct 10, no comments but should be clearly correct ]

The variable RCS_TAR_IGNORE is used in scripts/packaging/Makefile, but not exported from the main Makefile, so it's never used.

This results in the rpm targets being very unhappy in quilted trees.

Quoted 22 lines
Makefile +1 -1
@@ -372,7 +372,7 @@ export MODVERDIR := $(if $(KBUILD_EXTMOD
 # Files to ignore in find ... statements
 
 RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg \) -prune -o
-RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg
+export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg
 
 # ===========================================================================
 # Rules shared between *config targets and build targets
Signature · 8 lines
-- 
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/