2003-03-17 11:32:47

by Marc Zyngier

[permalink] [raw]
Subject: [PATCH][KBUILD] Fix filechk_gen-asm-offsets

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 [email protected] 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.


2003-03-17 18:15:42

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH][KBUILD] Fix filechk_gen-asm-offsets

On Mon, Mar 17, 2003 at 12:42:15PM +0100, Marc Zyngier wrote:
> 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.

Thanks - forgot to test my last version on ppc (which I use
for cross-compile testing atm.).

Kai already sent the fix to Linus a few hours ago, so it is solved
in Linus-BK.

Sam