summaryrefslogtreecommitdiff
path: root/examples/typec
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-14 17:53:55 +0700
committerhathach <[email protected]>2025-10-14 17:53:55 +0700
commitc48bbfab5e9ae9a417e30b0f9c0280d6f662b01c (patch)
treee9c06bbb5afd45ff1f16f92ca47d53960f714709 /examples/typec
parent0a2b6e77da336e7fa579f194cb16a7160d5dab02 (diff)
more make refactor
Diffstat (limited to 'examples/typec')
-rw-r--r--examples/typec/power_delivery/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/typec/power_delivery/Makefile b/examples/typec/power_delivery/Makefile
index e8cacd359..7f65c689a 100644
--- a/examples/typec/power_delivery/Makefile
+++ b/examples/typec/power_delivery/Makefile
@@ -2,10 +2,12 @@ include ../../../hw/bsp/family_support.mk
INC += \
src \
- $(TOP)/hw \
+
# Example source
-EXAMPLE_SOURCE += $(wildcard src/*.c)
-SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
+EXAMPLE_SOURCE += \
+ src/main.c
+
+SRC_C += $(addprefix $(EXAMPLE_PATH)/, $(EXAMPLE_SOURCE))
-include ../../build_system/make/rules.mk
+include ../../../hw/bsp/family_rules.mk