Makefile (266882) | Makefile (266894) |
---|---|
1# | 1# |
2# $FreeBSD: head/sys/boot/usb/Makefile 266882 2014-05-30 13:39:58Z hselasky $ | 2# $FreeBSD: head/sys/boot/usb/Makefile 266894 2014-05-30 16:49:12Z hselasky $ |
3# 4# Copyright (c) 2013 Hans Petter Selasky. All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: 9# 1. Redistributions of source code must retain the above copyright 10# notice, this list of conditions and the following disclaimer. --- 37 unchanged lines hidden (view full) --- 48CFLAGS+= -ffreestanding 49CFLAGS+= -Wformat -Wall 50CFLAGS+= -I${S} 51CFLAGS+= -I${T} 52CFLAGS+= -I${.CURDIR} 53CFLAGS+= -I${.CURDIR}/../common 54CFLAGS+= -g 55CFLAGS+= -DUSB_MSCTEST_BULK_SIZE=65536 | 3# 4# Copyright (c) 2013 Hans Petter Selasky. All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: 9# 1. Redistributions of source code must retain the above copyright 10# notice, this list of conditions and the following disclaimer. --- 37 unchanged lines hidden (view full) --- 48CFLAGS+= -ffreestanding 49CFLAGS+= -Wformat -Wall 50CFLAGS+= -I${S} 51CFLAGS+= -I${T} 52CFLAGS+= -I${.CURDIR} 53CFLAGS+= -I${.CURDIR}/../common 54CFLAGS+= -g 55CFLAGS+= -DUSB_MSCTEST_BULK_SIZE=65536 |
56CFLAGS+= -DUSB_POOL_SIZE=262144 | 56CFLAGS+= -DUSB_POOL_SIZE=131072 |
57CFLAGS+= -fno-pic 58CFLAGS+= -DHAVE_ENDIAN_DEFS | 57CFLAGS+= -fno-pic 58CFLAGS+= -DHAVE_ENDIAN_DEFS |
59CFLAGS+= -DHAVE_MALLOC | |
60 61.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 62CFLAGS+= -march=i386 63CFLAGS.gcc+= -mpreferred-stack-boundary=2 64.endif 65.if ${MACHINE_CPUARCH} == "amd64" 66CFLAGS+= -m32 67.endif --- 149 unchanged lines hidden --- | 59 60.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 61CFLAGS+= -march=i386 62CFLAGS.gcc+= -mpreferred-stack-boundary=2 63.endif 64.if ${MACHINE_CPUARCH} == "amd64" 65CFLAGS+= -m32 66.endif --- 149 unchanged lines hidden --- |