summaryrefslogtreecommitdiff
path: root/examples/embedding/micropython_embed.mk
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-10-06 11:14:58 +1100
committerDamien George <damien@micropython.org>2023-01-20 22:28:50 +1100
commit4f3780a156e1ba3f6981ab3a90be655a718f88f5 (patch)
tree8a65be84c5d2189bdbd9ae79e7d8e846ad36b054 /examples/embedding/micropython_embed.mk
parenta8a1ad13916aa74fca30ad23061a5552935bf097 (diff)
examples/embedding: Rework example to use ports/embed.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'examples/embedding/micropython_embed.mk')
-rw-r--r--examples/embedding/micropython_embed.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/embedding/micropython_embed.mk b/examples/embedding/micropython_embed.mk
new file mode 100644
index 000000000..5db541592
--- /dev/null
+++ b/examples/embedding/micropython_embed.mk
@@ -0,0 +1,9 @@
+# This file is part of the MicroPython project, http://micropython.org/
+# The MIT License (MIT)
+# Copyright (c) 2022-2023 Damien P. George
+
+# Set the location of the top of the MicroPython repository.
+MICROPYTHON_TOP = ../..
+
+# Include the main makefile fragment to build the MicroPython component.
+include $(MICROPYTHON_TOP)/ports/embed/embed.mk