ARM Makefile fix to 2.1.88

Trevor Johnson (
Tue, 24 Feb 1998 01:04:36 -0800 (PST)

With ARCH=arm, I tried:

% make config
Makefile:204: *** target file `symlinks' has both : and :: entries. Stop.

The patch at the end of this message seems to correct the problem. I've
also made it available at .

I had another problem:

% make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/scratch/src/linux/scripts/lxdialog'
make[1]: Leaving directory `/scratch/src/linux/scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/arm/
Using defaults found in arch/arm/defconfig
Preparing configuration scripts: version, functions,
line 1: 1075 Segmentation fault awk "$1"
Awk died with error code 139. Giving up.

This is quickly obscured by the "dialog" screen, which is mostly empty:

Linux Kernel v2.1.88 Configuration

Main Menu
Arrow keys navigate the menu. <Enter> selects submenus --->.
Highlighted letters are hotkeys. Pressing <Y> includes, <N> excludes,
<M> modularizes features. Press <Esc><Esc> to exit, <?> for Help.
Legend: [*] built-in [ ] excluded <M> module < > module capable

Load an Alternate Configuration File
Save Configuration to an Alternate File

<Select> < Exit > < Help >

% what `which awk`
yaccpar 1.9 (Berkeley) modified 12/17/94
mawk 1.3.3
Trevor Johnson

--- linux/arch/arm/Makefile.orig Tue Jan 20 16:39:41 1998
+++ linux/arch/arm/Makefile Tue Feb 24 00:48:51 1998
@@ -154,11 +154,11 @@
DRIVERS := $(DRIVERS) arch/arm/drivers/sound/sound.a

$(RM) include/asm-arm/arch include/asm-arm/proc
(cd include/asm-arm; ln -sf arch-$(MACHINE) arch; ln -sf proc-$(PROCESSOR) proc)

rm -f include/asm-arm/arch include/asm-arm/proc
@$(MAKE) -C arch/$(ARCH)/drivers mrproper

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to