Makefile.arm revision 144510
1129199Scognet# Makefile.arm -- with config changes. 2129199Scognet# Copyright 1990 W. Jolitz 3129199Scognet# from: @(#)Makefile.i386 7.1 5/10/91 4129199Scognet# $FreeBSD: head/sys/conf/Makefile.arm 144510 2005-04-01 22:56:10Z imp $ 5129199Scognet# 6129199Scognet# Makefile for FreeBSD 7129199Scognet# 8129199Scognet# This makefile is constructed from a machine description: 9129199Scognet# config machineid 10129199Scognet# Most changes should be made in the machine description 11135670Scognet# /sys/arm/conf/``machineid'' 12129199Scognet# after which you should do 13129199Scognet# config machineid 14129199Scognet# Generic makefile changes should be made in 15135670Scognet# /sys/conf/Makefile.arm 16129199Scognet# after which config should be rerun for all machines. 17129199Scognet# 18129199Scognet 19129199Scognet# Which version of config(8) is required. 20144510Simp%VERSREQ= 600002 21129199Scognet 22129199Scognet# Temporary stuff while we're still embryonic 23136910SruNO_MODULES= 24129199Scognet 25129199ScognetSTD8X16FONT?= iso 26129199Scognet 27129199Scognet.if !defined(S) 28129199Scognet.if exists(./@/.) 29129199ScognetS= ./@ 30129199Scognet.else 31129199ScognetS= ../../.. 32129199Scognet.endif 33129199Scognet.endif 34129199Scognet.include "$S/conf/kern.pre.mk" 35129199Scognet 36135670ScognetSYSTEM_LD:= ${SYSTEM_LD:$S/conf/ldscript.$M=ldscript.$M} 37135670ScognetSYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M} 38140479Scognet 39140479Scognet.if defined(ARM_BIG_ENDIAN) 40140479ScognetCC += -mbig-endian 41140479ScognetSYSTEM_LD += -EB 42140479Scognet.endif 43140479Scognet 44129199Scognet%BEFORE_DEPEND 45129199Scognet 46129199Scognet%OBJS 47129199Scognet 48129199Scognet%FILES.c 49129199Scognet 50129199Scognet%FILES.s 51129199Scognet 52129199Scognet%FILES.m 53129199Scognet 54129199Scognet%CLEAN 55129199Scognet 56135670Scognetldscript.$M: $S/conf/ldscript.$M 57135670Scognet cat $S/conf/ldscript.$M|sed s/KERNPHYSADDR/${KERNPHYSADDR}/g| \ 58135670Scognet sed s/KERNVIRTADDR/${KERNVIRTADDR}/g > ldscript.$M 59129199Scognet%RULES 60129199Scognet 61129199Scognet.include "$S/conf/kern.post.mk" 62