Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/Makefile.arm64
Show All 19 Lines | |||||
# Which version of config(8) is required. | # Which version of config(8) is required. | ||||
%VERSREQ= 600012 | %VERSREQ= 600012 | ||||
.if !defined(S) | .if !defined(S) | ||||
S= ../../.. | S= ../../.. | ||||
.endif | .endif | ||||
.include "$S/conf/kern.pre.mk" | .include "$S/conf/kern.pre.mk" | ||||
INCLUDES+= -I$S/contrib/libfdt -I$S/contrib/device-tree/include | INCLUDES+= -I$S/contrib/device-tree/include | ||||
LINUX_DTS_VERSION!= awk '/freebsd,dts-version/ { sub(/;$$/,"", $$NF); print $$NF }' $S/dts/freebsd-compatible.dts | LINUX_DTS_VERSION!= awk '/freebsd,dts-version/ { sub(/;$$/,"", $$NF); print $$NF }' $S/dts/freebsd-compatible.dts | ||||
CFLAGS += -DLINUX_DTS_VERSION=\"${LINUX_DTS_VERSION}\" | CFLAGS += -DLINUX_DTS_VERSION=\"${LINUX_DTS_VERSION}\" | ||||
# Use a custom SYSTEM_LD command to generate the elf kernel, so we can | # Use a custom SYSTEM_LD command to generate the elf kernel, so we can | ||||
# set the text segment start address, and also strip the "arm mapping | # set the text segment start address, and also strip the "arm mapping | ||||
# symbols" which have names like $a.0 and $d.2; see the document | # symbols" which have names like $a.0 and $d.2; see the document | ||||
# "ELF for the ARM architecture" for more info on the mapping symbols. | # "ELF for the ARM architecture" for more info on the mapping symbols. | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |