blob: e21806c954b320e0a122d7716b1008606eaef18f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $NetBSD: Makefile.evbppc.inc,v 1.9 2022/09/11 09:14:56 rin Exp $
CPPFLAGS += -D__${BOARDTYPE}__
RAMDISKDIR!= cd ${NETBSDSRCDIR}/distrib/${THISPPC:T}/ramdisk && ${PRINTOBJDIR}
.-include "${THISPPC}/conf/Makefile.${BOARDTYPE}.inc"
# XXX hack for clang:
# - integrated as does not recognize {l,st}swx.
# - it does not pass gas for appropriate -mfoo flag.
.if ${ACTIVE_CC} == "clang"
. if !empty(AFLAGS:M-mcpu=403)
COPTS.trap.c+= -fno-integrated-as -Wa,-m403
. endif
. if !empty(AFLAGS:M-mcpu=405)
COPTS.trap.c+= -fno-integrated-as -Wa,-m405
. endif
.endif
|