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 6 KMODULEARCHDIR:= powerpc-booke 7 8 .include <bsd.own.mk> 9 10 # gcc emits bad code with these options 11 #CPPFLAGS+= -mcpu=8548 12 CPPFLAGS+= ${${ACTIVE_CC} == "gcc":? -misel -Wa,-me500 :} 13 PPC_BOOKE= 1 14 15 # hack into bsd.kmodule.mk 16 PPC_INTR_IMPL=\"powerpc/booke/intr.h\" 17 PPC_PCI_MACHDEP_IMPL=\"powerpc/pci_machdep.h\" 18 19 AFLAGS+= ${${ACTIVE_CC} == "gcc":? -Wa,-me500 :} 20 21 .endif # _BSD_POWERPC_BOOKE_MK_ 22