1 1.3 joerg # $NetBSD: bsd.powerpc-booke.mk,v 1.3 2014/08/10 17:46:54 joerg Exp $ 2 1.1 mrg 3 1.1 mrg .ifndef _BSD_POWERPC_BOOKE_MK_ 4 1.1 mrg _BSD_POWERPC_BOOKE_MK_=1 5 1.1 mrg 6 1.1 mrg KMODULEARCHDIR:= powerpc-booke 7 1.1 mrg 8 1.1 mrg # gcc emits bad code with these options 9 1.1 mrg #CPPFLAGS+= -mcpu=8548 10 1.3 joerg CPPFLAGS+= ${${ACTIVE_CC} == "gcc":? -misel -Wa,-me500 :} 11 1.1 mrg PPC_BOOKE= 1 12 1.1 mrg 13 1.1 mrg # hack into bsd.kmodule.mk 14 1.1 mrg PPC_INTR_IMPL=\"powerpc/booke/intr.h\" 15 1.1 mrg PPC_PCI_MACHDEP_IMPL=\"powerpc/pci_machdep.h\" 16 1.1 mrg 17 1.3 joerg AFLAGS+= ${${ACTIVE_CC} == "gcc":? -Wa,-me500 :} 18 1.1 mrg 19 1.1 mrg .endif # _BSD_POWERPC_BOOKE_MK_ 20