[PATCH][KBUILD] Fix filechk_gen-asm-offsets

From: Marc Zyngier (mzyngier@freesurf.fr)
Date: Mon Mar 17 2003 - 06:42:15 EST


Sam,

It looks like kbuild was recently broken by the filechk changes.
At least on Alpha, filechk_gen-asm-offsets is getting nothing but
stdin... Not very useful ;-). All platforms but x86 look broken too.

The enclosed patchlet fixes my compilation problems.

Thanks,

        M.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1065 -> 1.1066
# Makefile 1.396 -> 1.397
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/17 maz@hina.wild-wind.fr.eu.org 1.1066
# Fix Makefile:filechk_gen-asm-offsets.
# It was getting nothing but stdin.
# --------------------------------------------
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile Mon Mar 17 12:35:17 2003
+++ b/Makefile Mon Mar 17 12:35:17 2003
@@ -573,7 +573,7 @@
          echo ""; \
          sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
          echo ""; \
- echo "#endif" )
+ echo "#endif" ) < $<
 endef
 
 else # ifdef include_config

-- 
Places change, faces change. Life is so very strange.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:19 EST