1 # Makefile.arm -- with config changes.
2 # Copyright 1990 W. Jolitz
3 # from: @(#)Makefile.i386 7.1 5/10/91
8 # This makefile is constructed from a machine description:
10 # Most changes should be made in the machine description
11 # /sys/arm/conf/``machineid''
12 # after which you should do
14 # Generic makefile changes should be made in
15 # /sys/conf/Makefile.arm
16 # after which config should be rerun for all machines.
19 # Which version of config(8) is required.
22 # Temporary stuff while we're still embryonic
34 .include "$S/conf/kern.pre.mk"
36 SYSTEM_LD:= ${SYSTEM_LD:$S/conf/ldscript.$M=ldscript.$M}
37 SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M}
39 .if defined(ARM_BIG_ENDIAN)
56 ldscript.$M: $S/conf/ldscript.$M
57 cat $S/conf/ldscript.$M|sed s/KERNPHYSADDR/${KERNPHYSADDR}/g| \
58 sed s/KERNVIRTADDR/${KERNVIRTADDR}/g > ldscript.$M
61 .include "$S/conf/kern.post.mk"