remove RPM_BUILD_ROOT from asm-offsets.h
authorOlaf Hering <olh@suse.de>
Wed, 26 Jul 2006 01:42:26 +0000 (18:42 -0700)
committerSam Ravnborg <sam@neptun.ravnborg.org>
Mon, 25 Sep 2006 07:00:01 +0000 (09:00 +0200)
No file in rpm binary package should have the RPM_BUILD_ROOT string in it.
To simplify building of external modules, our kernel-source package
contains some temp files from the Kbuild system.  asm/asm-offsets.h is one
of the files that contains the absolute path if make O=$O is used.

  * This file was generated by /var/tmp/kernel-source-2.6.14_rc4-build/usr/src/linux-2.6.14-rc4-2/Kbuild

Remove the $RPM_BUILD_ROOT string in the shipped tempfile.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Kbuild

diff --git a/Kbuild b/Kbuild
index 2d4f95e4b89f7f81da6cb94b07e8449b3689ba37..0451f69353bad4d07de34fd4658f40b805bd467a 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -28,7 +28,7 @@ define cmd_offsets
         echo "/*"; \
         echo " * DO NOT MODIFY."; \
         echo " *"; \
-        echo " * This file was generated by $(srctree)/Kbuild"; \
+        echo " * This file was generated by Kbuild"; \
         echo " *"; \
         echo " */"; \
         echo ""; \