mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix incorrect -I option in sys/conf/Makefile.arm
In commit 8e53cd7099 the intent was to add sys/dts/include to the
compiler include path, but this was spelled incorrectly, leading to an
error with clang 19:
cc: error: no such include directory: '$/dts/include' [-Werror,-Wmissing-include-dirs]
Use the spelling -I$S/dts/include instead.
MFC after: 3 days
(cherry picked from commit 8ce3e489a5eec1b41bc5e08f43c5e95aa8115b93)
This commit is contained in:
parent
e656c69b8d
commit
2b05d46dc3
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ S= ../../..
|
|||
.endif
|
||||
.include "$S/conf/kern.pre.mk"
|
||||
|
||||
INCLUDES+= -I$S/contrib/libfdt -I$S/contrib/device-tree/include -I$$/dts/include
|
||||
INCLUDES+= -I$S/contrib/libfdt -I$S/contrib/device-tree/include -I$S/dts/include
|
||||
|
||||
LINUX_DTS_VERSION!= awk '/freebsd,dts-version/ { sub(/;$$/,"", $$NF); print $$NF }' $S/dts/freebsd-compatible.dts
|
||||
CFLAGS += -DLINUX_DTS_VERSION=\"${LINUX_DTS_VERSION}\"
|
||||
|
|
|
|||
Loading…
Reference in a new issue