Skip to contentSkip to conversation

Export RCS_TAR_IGNORE for rpm targets

PATCH Superseded Tom Rini 1 participant 1 message Oct 10, 2005 Kbuild

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Export RCS_TAR_IGNORE for rpm targets

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/