Deleted Added
full compact
Makefile.arm (150862) Makefile.arm (150918)
1# Makefile.arm -- with config changes.
2# Copyright 1990 W. Jolitz
3# from: @(#)Makefile.i386 7.1 5/10/91
1# Makefile.arm -- with config changes.
2# Copyright 1990 W. Jolitz
3# from: @(#)Makefile.i386 7.1 5/10/91
4# $FreeBSD: head/sys/conf/Makefile.arm 150862 2005-10-03 14:09:58Z cognet $
4# $FreeBSD: head/sys/conf/Makefile.arm 150918 2005-10-04 14:38:55Z cognet $
5#
6# Makefile for FreeBSD
7#
8# This makefile is constructed from a machine description:
9# config machineid
10# Most changes should be made in the machine description
11# /sys/arm/conf/``machineid''
12# after which you should do

--- 29 unchanged lines hidden (view full) ---

42.endif
43
44.if !defined(DEBUG)
45CFLAGS += -mno-apcs-frame
46.endif
47
48DDB_ENABLED!= grep DDB opt_ddb.h || true
49
5#
6# Makefile for FreeBSD
7#
8# This makefile is constructed from a machine description:
9# config machineid
10# Most changes should be made in the machine description
11# /sys/arm/conf/``machineid''
12# after which you should do

--- 29 unchanged lines hidden (view full) ---

42.endif
43
44.if !defined(DEBUG)
45CFLAGS += -mno-apcs-frame
46.endif
47
48DDB_ENABLED!= grep DDB opt_ddb.h || true
49
50.if defined(DDB_ENABLED)
50.if ${DDB_ENABLED} != ""
51SYSTEM_LD_TAIL += ;echo "\#define KERNNAME \"${KERNEL_KO}\"" >opt_kernname.h ; \
52 ${CC} -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.arm \
53 $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S -o ${KERNEL_KO}.tramp
54.endif
55
56%BEFORE_DEPEND
57
58%OBJS
59
60%FILES.c
61
62%FILES.s
63
64%FILES.m
65
66%CLEAN
67
51SYSTEM_LD_TAIL += ;echo "\#define KERNNAME \"${KERNEL_KO}\"" >opt_kernname.h ; \
52 ${CC} -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.arm \
53 $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S -o ${KERNEL_KO}.tramp
54.endif
55
56%BEFORE_DEPEND
57
58%OBJS
59
60%FILES.c
61
62%FILES.s
63
64%FILES.m
65
66%CLEAN
67
68.if ${DDB_ENABLED} != ""
69CLEAN+= kernel.tramp
70.endif
68ldscript.$M: $S/conf/ldscript.$M
69 cat $S/conf/ldscript.$M|sed s/KERNPHYSADDR/${KERNPHYSADDR}/g| \
70 sed s/KERNVIRTADDR/${KERNVIRTADDR}/g > ldscript.$M
71%RULES
72
73.include "$S/conf/kern.post.mk"
71ldscript.$M: $S/conf/ldscript.$M
72 cat $S/conf/ldscript.$M|sed s/KERNPHYSADDR/${KERNPHYSADDR}/g| \
73 sed s/KERNVIRTADDR/${KERNVIRTADDR}/g > ldscript.$M
74%RULES
75
76.include "$S/conf/kern.post.mk"