Changeset View
Changeset View
Standalone View
Standalone View
stand/usb/Makefile
Show All 37 Lines | |||||
CFLAGS+= -ffunction-sections -fdata-sections | CFLAGS+= -ffunction-sections -fdata-sections | ||||
CFLAGS+= -Wformat -Wall | CFLAGS+= -Wformat -Wall | ||||
CFLAGS+= -g | CFLAGS+= -g | ||||
CFLAGS+= -fno-pic | CFLAGS+= -fno-pic | ||||
.if ${MACHINE_CPUARCH} == "amd64" | .if ${MACHINE_CPUARCH} == "amd64" | ||||
CFLAGS+= -m32 | CFLAGS+= -m32 | ||||
.endif | .endif | ||||
.if ${MACHINE_CPUARCH} == "mips" | |||||
CFLAGS+= -mno-abicalls | |||||
.endif | |||||
.include "usbcore.mk" | .include "usbcore.mk" | ||||
.include "../kshim/kshim.mk" | .include "../kshim/kshim.mk" | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |