ref: 6b64efbf92476e1f1740ff8242131ba832ba976c
parent: 235f6e3474e4a44a9e54be4be653d6dc5ed08500
author: zhuiling <[email protected]>
date: Fri Sep 12 05:59:46 EDT 2014
improve py
--- a/build/mktargets.py
+++ b/build/mktargets.py
@@ -152,7 +152,7 @@
f.write("\t$(%s_SRCDIR)/%s\\\n"%(PREFIX, c))
f.write("\n")
f.write("%s_OBJSARM += $(%s_ASM_ARM_SRCS:.S=.$(OBJ))\n\n"%(PREFIX, PREFIX))
- f.write("ifeq ($(ASM_ARCH), arm)\n")
+ f.write("ifeq ($(ASM_ARCH), arm)\n")
f.write("%s_OBJS += $(%s_OBJSARM)\n"%(PREFIX,PREFIX))
f.write("endif\n\n")
@@ -162,7 +162,7 @@
f.write("\t$(%s_SRCDIR)/%s\\\n"%(PREFIX, c))
f.write("\n")
f.write("%s_OBJSARM64 += $(%s_ASM_ARM64_SRCS:.S=.$(OBJ))\n\n"%(PREFIX, PREFIX))
- f.write("ifeq ($(ASM_ARCH), arm64)\n")
+ f.write("ifeq ($(ASM_ARCH), arm64)\n")
f.write("%s_OBJS += $(%s_OBJSARM64)\n"%(PREFIX,PREFIX))
f.write("endif\n\n")