NetBSD/sys/arch/alpha/conf/Makefile.alpha
garbled d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00

108 lines
2.0 KiB
Makefile

# $NetBSD: Makefile.alpha,v 1.79 2007/10/17 19:52:57 garbled Exp $
# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
# config machineid
# Most changes should be made in the machine description
# /sys/arch/alpha/conf/``machineid''
# after which you should do
# config machineid
# Machine generic makefile changes should be made in
# /sys/arch/alpha/conf/Makefile.alpha
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
# makeoptions DEBUGLIST="uvm* trap if_*"
MACHINE_ARCH= alpha
USETOOLS?= no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>
##
## (1) port identification
##
ALPHA= $S/arch/alpha
GENASSYM_CONF= ${ALPHA}/alpha/genassym.cf
##
## (2) compile settings
##
CPPFLAGS+= -Dalpha
CFLAGS+= -mno-fp-regs
AFLAGS+= -traditional
NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | sed -e 's,^\#.*,,' | \
${AS} -o ${.TARGET}
##
## (3) libkern and compat
##
##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS= locore.o transfer.o
MD_CFILES=
MD_SFILES= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s
locore.o: ${ALPHA}/alpha/locore.s assym.h
${NORMAL_S}
transfer.o: ${ALPHA}/alpha/transfer.s
${NORMAL_S}
lock_stubs.o: assym.h
##
## (5) link settings
##
LINKFORMAT= -N
TEXTADDR?= fffffc0000300000
ENTRYPOINT= __transfer
EXTRA_LINKFLAGS= -G 4
STRIPFLAGS= -g -X
##
## (6) port specific target dependencies
##
# depend on CPU configuration
clock.o apecs.o cia.o lca.o ioasic.o icasic.o: Makefile
##
## (7) misc settings
##
MKDEP_AFLAGS= -x assembler-with-cpp ${AFLAGS}
##
## (8) config(8) generated machinery
##
%INCLUDES
%OBJS
%CFILES
%SFILES
%LOAD
%RULES
## Include rules for Atheros WLAN
.include "$S/contrib/dev/ath/netbsd/Makefile.ath.inc"
##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND