Skip to contentSkip to conversation

Compile warning...

PATCH Peter Jones 2 participants 3 messages Apr 15, 1999

lore
Share & tools
lore
#0 lore raw

When I try to build the current CVS tree, I get a error like

gargleblaster:/usr/src/linux$ make
sed: -e expression #1, char 37: Unknown option to 's'
rm -f include/asm

It seems to be coming from arch/sparc64/Makefile line 23 ,

MAKEOVERRIDES := $(shell echo "$(MAKEOVERRIDES)" | sed 's CC=$(CC)
CC=$(CC)\\\ -D__KERNEL__\\\ -I$(TOPDIR)/include ')

Which looks like its not pertenant to anything else, at all, anywhere (I just grepped the whole source tree for MAKEOVERRIDES ;)

Can we just take this out?

Here's the patch, because I know I'm lazy and I'll assume the rest of the world is too...

sparc64/Makefile Thu Apr 15 13:51:25 1999 renamed from sparc64/Makefile.old Thu Apr 15 13:51:13 1999 +0 -2
@@ -20,7 +20,6 @@
 
 ifneq ($(CC_HAS_ARGS),y)
 TMP = $(shell echo sed \'s CC=$(CC) CC=$(CC)\\\ -D__KERNEL__\\\
-I$(TOPDIR)/include \') > /tmp/overrides)
-MAKEOVERRIDES  := $(shell echo "$(MAKEOVERRIDES)" | sed 's CC=$(CC)

CC=$(CC)\\\ -D__KERNEL__\\\ -I$(TOPDIR)/include ')
override CC := $(CC) -D__KERNEL__ -I$(TOPDIR)/include
endif

-- Peter

"Good night, Mrs. Calabash, wherever you are."
-- Armstrong

#1 lore raw

Date: Thu, 15 Apr 1999 13:52:08 -0400 (EDT)
From: Peter Jones <[email protected]>

   gargleblaster:/usr/src/linux$ make
   sed: -e expression #1, char 37: Unknown option to 's'
   rm -f include/asm

I don't get this... The first thing I do after a beta RH install is to cvs checkout and build a kernel, so I'd notice something like this, or else it goes by in the build output so fast I don't catch it :-)

Which looks like its not pertenant to anything else, at all, anywhere (I just grepped the whole source tree for MAKEOVERRIDES ;)

Can we just take this out?

MAKEOVERRIDES is an internal 'make' variable, it is used even though it is not explicitly referenced.

Later,
David S. Miller
[email protected]

#2 lore raw
In reply to Peter Jones
Quoted 10 lines · David Miller

Date: Thu, 15 Apr 1999 13:52:08 -0400 (EDT)
From: Peter Jones <[email protected]>

   gargleblaster:/usr/src/linux$ make
   sed: -e expression #1, char 37: Unknown option to 's'
   rm -f include/asm

I don't get this... The first thing I do after a beta RH install is to cvs checkout and build a kernel, so I'd notice something like this, or else it goes by in the build output so fast I don't catch it :-)

Well, I guess I'll look harder for having done something stupid then ;)

Quoted 7 lines

Which looks like its not pertenant to anything else, at all, anywhere (I just grepped the whole source tree for MAKEOVERRIDES ;)

Can we just take this out?

MAKEOVERRIDES is an internal 'make' variable, it is used even though it is not explicitly referenced.

Oh, ok. I guess I'll have to pull it appart some more and figure out why my system is doing odd things with it, and read some more make docs...

Quoted 3 lines

Later,
David S. Miller
[email protected]

-- Peter

"An age is called dark not because the light fails to shine, but because people refuse to see it."
-- James Michener, "Space"