From c9bcb29f504aabada01d838e8f4e5135ef6c6db2 Mon Sep 17 00:00:00 2001 From: niklascfw Date: Sat, 11 Apr 2026 00:14:41 +0200 Subject: [PATCH] Exclude source/TegraExplorer from Makefile object list The vendored tree under source/TegraExplorer is optional reference-only; building it fails without extra usb/ headers. The payload uses bdk/ at repo root instead. Made-with: Cursor --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index b4a3b29..78c46a4 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,9 @@ OBJS += $(patsubst $(BDKDIR)/%.S, $(BUILDDIR)/$(TARGET)/%.o, \ $(patsubst $(BDKDIR)/%.c, $(BUILDDIR)/$(TARGET)/%.o, \ $(call rwildcard, $(BDKDIR), *.S *.c))) +# Optional vendored tree under source/TegraExplorer/ is not part of this payload build. +OBJS := $(filter-out $(BUILDDIR)/$(TARGET)/TegraExplorer/%,$(OBJS)) + GFX_INC := '"../$(SOURCEDIR)/gfx.h"' FFCFG_INC := '"../$(SOURCEDIR)/libs/fatfs/ffconf.h"'