1#         $NetBSD: bsd.powerpc-booke.mk,v 1.4 2018/11/15 04:57:00 riastradh Exp $
2
3.ifndef _BSD_POWERPC_BOOKE_MK_
4_BSD_POWERPC_BOOKE_MK_=1
5
6KMODULEARCHDIR:=    powerpc-booke
7
8.include <bsd.own.mk>
9
10# gcc emits bad code with these options
11#CPPFLAGS+=         -mcpu=8548
12CPPFLAGS+=          ${${ACTIVE_CC} == "gcc":? -misel -Wa,-me500 :}
13PPC_BOOKE=          1
14
15# hack into bsd.kmodule.mk
16PPC_INTR_IMPL=\"powerpc/booke/intr.h\"
17PPC_PCI_MACHDEP_IMPL=\"powerpc/pci_machdep.h\"
18
19AFLAGS+=  ${${ACTIVE_CC} == "gcc":? -Wa,-me500 :}
20
21.endif # _BSD_POWERPC_BOOKE_MK_
22