mpy-cross/Makefile: Override undefine any inherited variables.

This is a temporary hack to allow othe Makefiles to build mpy-cross
recursively.
pull/3036/head
Damien George 2017-04-26 11:34:22 +10:00
rodzic a1f254028d
commit 1d8c3f4cff
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,14 @@
# The following is a temporary hack to forefully undefine vars that might have
# be defined by a calling Makefile (from recursive make).
# TODO: Find a better way to be able to call this Makefile recursively.
override undefine COPT
override undefine CFLAGS_EXTRA
override undefine LDFLAGS_EXTRA
override undefine FROZEN_DIR
override undefine FROZEN_MPY_DIR
override undefine BUILD
override undefine PROG
include ../py/mkenv.mk
# define main target