Changeset View
Changeset View
Standalone View
Standalone View
lib/libstand/Makefile
Show All 33 Lines | |||||
CFLAGS+= -Os | CFLAGS+= -Os | ||||
.endif | .endif | ||||
.if ${MACHINE_CPUARCH} == "powerpc" | .if ${MACHINE_CPUARCH} == "powerpc" | ||||
CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG | CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG | ||||
.endif | .endif | ||||
.if ${MACHINE_CPUARCH} == "arm" | .if ${MACHINE_CPUARCH} == "arm" | ||||
CFLAGS+= -msoft-float -D_STANDALONE | CFLAGS+= -msoft-float -D_STANDALONE | ||||
.endif | .endif | ||||
.if ${MACHINE_CPUARCH} == "aarch64" | |||||
CFLAGS+= -D_STANDALONE -mgeneral-regs-only | |||||
.endif | |||||
.if ${MACHINE_CPUARCH} == "mips" | .if ${MACHINE_CPUARCH} == "mips" | ||||
CFLAGS+= -G0 -fno-pic -mno-abicalls | CFLAGS+= -G0 -fno-pic -mno-abicalls | ||||
.endif | .endif | ||||
# standalone components and stuff we have modified locally | # standalone components and stuff we have modified locally | ||||
SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ | SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ | ||||
globals.c pager.c printf.c strdup.c strerror.c strtol.c strtoul.c random.c \ | globals.c pager.c printf.c strdup.c strerror.c strtol.c strtoul.c random.c \ | ||||
sbrk.c twiddle.c zalloc.c zalloc_malloc.c | sbrk.c twiddle.c zalloc.c zalloc_malloc.c | ||||
Show All 20 Lines | |||||
SRCS+= clzsi2.c ctzsi2.c | SRCS+= clzsi2.c ctzsi2.c | ||||
# Divide and modulus functions called by the compiler | # Divide and modulus functions called by the compiler | ||||
SRCS+= divmoddi4.c divmodsi4.c divdi3.c divsi3.c moddi3.c modsi3.c | SRCS+= divmoddi4.c divmodsi4.c divdi3.c divsi3.c moddi3.c modsi3.c | ||||
SRCS+= udivmoddi4.c udivmodsi4.c udivdi3.c udivsi3.c umoddi3.c umodsi3.c | SRCS+= udivmoddi4.c udivmodsi4.c udivdi3.c udivsi3.c umoddi3.c umodsi3.c | ||||
.PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/builtins/arm/ | .PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/builtins/arm/ | ||||
SRCS+= aeabi_idivmod.S aeabi_ldivmod.S aeabi_uidivmod.S aeabi_uldivmod.S | SRCS+= aeabi_idivmod.S aeabi_ldivmod.S aeabi_uidivmod.S aeabi_uldivmod.S | ||||
SRCS+= aeabi_memcmp.S aeabi_memcpy.S aeabi_memmove.S aeabi_memset.S | SRCS+= aeabi_memcmp.S aeabi_memcpy.S aeabi_memmove.S aeabi_memset.S | ||||
.endif | |||||
.if ${MACHINE_CPUARCH} == "aarch64" | |||||
.PATH: ${.CURDIR}/../libc/aarch64/gen | |||||
.endif | .endif | ||||
.if ${MACHINE_CPUARCH} == "powerpc" | .if ${MACHINE_CPUARCH} == "powerpc" | ||||
.PATH: ${.CURDIR}/../libc/quad | .PATH: ${.CURDIR}/../libc/quad | ||||
SRCS+= ashldi3.c ashrdi3.c | SRCS+= ashldi3.c ashrdi3.c | ||||
SRCS+= syncicache.c | SRCS+= syncicache.c | ||||
.endif | .endif | ||||
# uuid functions from libc | # uuid functions from libc | ||||
.PATH: ${.CURDIR}/../libc/uuid | .PATH: ${.CURDIR}/../libc/uuid | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |