Files
openwrt/target/linux/Makefile
T
Robert Marko 7cd9ef1f22 build: add optional DTB schema check target
Add target/linux/dtbs_check for manually checking selected OpenWrt
DTBs against the patched kernel binding schemas. It runs only when
explicitly requested; normal builds do not invoke it.

DT_SCHEMA_FILES can limit validation to specific bindings.

Link: https://github.com/openwrt/openwrt/pull/26240
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-10-27 17:45:21 +01:00

13 lines
403 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2006-2007 OpenWrt.org
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.mk
include $(INCLUDE_DIR)/default-packages.mk
export TARGET_BUILD=1
prereq clean download prepare compile install oldconfig menuconfig nconfig xconfig update refresh dtb dtbs_check: FORCE
@+$(NO_TRACE_MAKE) -C $(firstword $(wildcard feeds/$(BOARD) $(BOARD))) $@