Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/Makefile.arm64
Show All 14 Lines | |||||
# Generic makefile changes should be made in | # Generic makefile changes should be made in | ||||
# /sys/conf/Makefile.arm64 | # /sys/conf/Makefile.arm64 | ||||
# after which config should be rerun for all machines. | # after which config should be rerun for all machines. | ||||
# | # | ||||
# Which version of config(8) is required. | # Which version of config(8) is required. | ||||
%VERSREQ= 600012 | %VERSREQ= 600012 | ||||
DRM_INCLUDES+= -I${S}/dev/drm/core/include | |||||
DRM_INCLUDES+= -I${S}/dev/drm/core/include/uapi | |||||
DRM_INCLUDES+= -I${S}/dev/drm/drmkpi/include/ | |||||
DRM_CFLAGS= ${CFLAGS} ${DRM_INCLUDES} | |||||
DRM_CFLAGS+= -include ${S}/dev/drm/drmkpi/include/drm/drm_os_freebsd.h | |||||
DRM_CFLAGS+= '-DKBUILD_MODNAME="DRMv5.4"' | |||||
DRM_CFLAGS+= -Wno-cast-qual -Wno-pointer-arith -Wno-missing-prototypes | |||||
# Complain about unsigned long long versus uint64_t, remove -Wformat for now | |||||
DRM_CFLAGS+= -Wno-format | |||||
DRM_C= ${CC} -c ${DRM_CFLAGS} ${WERROR} ${PROF} ${.IMPSRC} | |||||
.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 | INCLUDES+= -I$S/contrib/libfdt | ||||
# 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 | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |