yaffs removed direct/timothy_tests from git and added a convert error_code_str()...
[yaffs2.git] / direct / python / Makefile
index e5aa96dd5a9f34ba9248b2aab08e3964d884ffe7..8922e418008981341f3d047d8896fa9e8c48dfaa 100644 (file)
@@ -22,7 +22,7 @@ CFLAGS =      -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -DCONFIG_Y
 CFLAGS +=     -DCONFIG_YAFFS_PROVIDE_DEFS -DCONFIG_YAFFSFS_PROVIDE_VALUES -DNO_Y_INLINE
 CFLAGS +=    -Wall -g $(EXTRA_COMPILE_FLAGS) -Wstrict-aliasing 
 #CFLAGS +=    -fno-strict-aliasing
-CFLAGS +=    -O0
+CFLAGS +=    -O0 -fPIC
 #CFLAGS +=    -DVALGRIND_TEST
 
 #CFLAGS+=   -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations
@@ -40,10 +40,10 @@ COMMONTESTOBJS = yaffscfg2k.o yramsim.o yaffs_fileem2k.o\
                 yaffs_norif1.o  ynorsim.o \
                 yaffs_bitmap.o \
                 yaffs_verify.o \
-                yaffs_yaffs1.o yaffs_yaffs2.o
+                yaffs_yaffs1.o yaffs_yaffs2.o 
 
 
-YAFFSLIBOBJS  = $(COMMONTESTOBJS) yaffs_python_helper.o
+YAFFSLIBOBJS  = $(COMMONTESTOBJS) yaffs_python_helper.o yaffs_error_converter.o