Skip to content

Commit 1d8c3f4

Browse files
committed
mpy-cross/Makefile: Override undefine any inherited variables.
This is a temporary hack to allow othe Makefiles to build mpy-cross recursively.
1 parent a1f2540 commit 1d8c3f4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

mpy-cross/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# The following is a temporary hack to forefully undefine vars that might have
2+
# be defined by a calling Makefile (from recursive make).
3+
# TODO: Find a better way to be able to call this Makefile recursively.
4+
override undefine COPT
5+
override undefine CFLAGS_EXTRA
6+
override undefine LDFLAGS_EXTRA
7+
override undefine FROZEN_DIR
8+
override undefine FROZEN_MPY_DIR
9+
override undefine BUILD
10+
override undefine PROG
11+
112
include ../py/mkenv.mk
213

314
# define main target

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy