Makefile.arm (150918) | Makefile.arm (151423) |
---|---|
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 150918 2005-10-04 14:38:55Z cognet $ | 4# $FreeBSD: head/sys/conf/Makefile.arm 151423 2005-10-17 18:31:37Z 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 --- 23 unchanged lines hidden (view full) --- 36SYSTEM_LD:= ${SYSTEM_LD:$S/conf/ldscript.$M=ldscript.$M} 37SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M} 38 39.if defined(ARM_BIG_ENDIAN) 40CC += -mbig-endian 41SYSTEM_LD += -EB 42.endif 43 | 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 --- 23 unchanged lines hidden (view full) --- 36SYSTEM_LD:= ${SYSTEM_LD:$S/conf/ldscript.$M=ldscript.$M} 37SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M} 38 39.if defined(ARM_BIG_ENDIAN) 40CC += -mbig-endian 41SYSTEM_LD += -EB 42.endif 43 |
44 |
|
44.if !defined(DEBUG) 45CFLAGS += -mno-apcs-frame 46.endif 47 48DDB_ENABLED!= grep DDB opt_ddb.h || true 49 50.if ${DDB_ENABLED} != "" 51SYSTEM_LD_TAIL += ;echo "\#define KERNNAME \"${KERNEL_KO}\"" >opt_kernname.h ; \ | 45.if !defined(DEBUG) 46CFLAGS += -mno-apcs-frame 47.endif 48 49DDB_ENABLED!= grep DDB opt_ddb.h || true 50 51.if ${DDB_ENABLED} != "" 52SYSTEM_LD_TAIL += ;echo "\#define KERNNAME \"${KERNEL_KO}\"" >opt_kernname.h ; \ |
53 ${OBJCOPY} --strip-symbol '$$d' --strip-symbol '$$a' \ 54 --strip-symbol '$$t' ${KERNEL_KO} ;\ |
|
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 --- 17 unchanged lines hidden --- | 55 ${CC} -O -nostdlib -I. -Xlinker -T -Xlinker ldscript.arm \ 56 $S/$M/$M/elf_trampoline.c $S/$M/$M/inckern.S -o ${KERNEL_KO}.tramp 57.endif 58 59%BEFORE_DEPEND 60 61%OBJS 62 --- 17 unchanged lines hidden --- |