ARM Makefile fix to 2.1.88

Trevor Johnson (trevor@jpj.net)
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
http://jpj.net/~trevor/linux/arm-makefile-2.1.88.diff .

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/config.in
Using defaults found in arch/arm/defconfig
Preparing configuration scripts: version, functions,
parsingscripts/Menuconfig:
line 1: 1075 Segmentation fault awk "$1"
Awk died with error code 139. Giving up.
....done.

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`
/usr/bin/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
endif

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

-mrproper::
+mr_proper:
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 majordomo@vger.rutgers.edu