Lines Matching +full:custom +full:- +full:temp
1 # Makefile.arm64 -- with config changes.
26 INCLUDES+= -I$S/contrib/libfdt -I$S/contrib/device-tree/include
28 LINUX_DTS_VERSION!= awk '/freebsd,dts-version/ { sub(/;$$/,"", $$NF); print $$NF }' $S/dts/freebsd-…
29 CFLAGS += -DLINUX_DTS_VERSION=\"${LINUX_DTS_VERSION}\"
35 ARM64_SSP_CFLAGS = -mstack-protector-guard=sysreg
36 ARM64_SSP_CFLAGS += -mstack-protector-guard-reg=sp_el0
37 ARM64_SSP_CFLAGS += -mstack-protector-guard-offset=0
39 ARM64_SSP_CFLAGS += -DPERTHREAD_SSP_WARNING
46 # Use a custom SYSTEM_LD command to generate the elf kernel, so we can
52 --defsym='text_start=kernbase + SIZEOF_HEADERS' \
53 -o ${.TARGET} ${SYSTEM_OBJS} vers.o; \
55 --wildcard \
56 --strip-symbol='$$[adtx]*' \
60 CFLAGS += -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
80 # Copy the kernel to u-boot's booti image format (the elf headers are
81 # stripped and a custom binary head blob is prepended), saving the
82 # output in a temp file. We also strip arm "marker" symbols which are
86 # and the temp file together to make the kernel.bin file.
88 @${OBJCOPY} --wildcard --strip-symbol='$$[adtx]*' \
89 --output-target=binary ${FULLKERNEL} ${.TARGET}.temp
92 ${AWK} -f $S/tools/arm_kernel_boothdr.awk -v hdrtype=v8booti && \
93 cat ${.TARGET}.temp; \
95 @rm ${.TARGET}.temp