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

Marc Zyngier (mzyngier@freesurf.fr)
17 Mar 2003 12:42:15 +0100


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/