summaryrefslogtreecommitdiffstatshomepage
path: root/py/mkrules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'py/mkrules.mk')
-rw-r--r--py/mkrules.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk
index 3ed4afec19..b77f8d600f 100644
--- a/py/mkrules.mk
+++ b/py/mkrules.mk
@@ -49,7 +49,7 @@ $(BUILD)/%.o: %.c
# List all native flags since the current build system doesn't have
# the micropython configuration available. However, these flags are
# needed to extract all qstrings
-QSTR_GEN_EXTRA_CFLAGS += -D__QSTR_EXTRACT -DN_X64 -DN_X86 -DN_THUMB -DN_ARM
+QSTR_GEN_EXTRA_CFLAGS += -DNO_QSTR -DN_X64 -DN_X86 -DN_THUMB -DN_ARM
QSTR_GEN_EXTRA_CFLAGS += -I$(BUILD)/tmp
vpath %.c . $(TOP)
@@ -115,9 +115,6 @@ ifndef DEBUG
endif
$(Q)$(SIZE) $(PROG)
-lib: $(OBJ)
- $(AR) rcs libmicropython.a $^
-
clean: clean-prog
clean-prog:
$(RM) -f $(PROG)
@@ -126,6 +123,9 @@ clean-prog:
.PHONY: clean-prog
endif
+lib: $(OBJ)
+ $(AR) rcs libmicropython.a $^
+
clean:
$(RM) -rf $(BUILD)
.PHONY: clean