--- Makefile.orig Thu Dec 21 16:55:34 2006 +++ Makefile Thu Dec 21 16:59:30 2006 @@ -85,7 +85,7 @@ endif endif -CFLAGS = -g -O2 -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET $(EXTRA_CFLAGS) $(SIM_EXTRA_CFLAGS) $(SUPPORT_ARCH_DEF) -I. +CFLAGS = -g -O2 -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET $(EXTRA_CFLAGS) $(SIM_EXTRA_CFLAGS) $(SUPPORT_ARCH_DEF) -I. -I$(LOCALBASE)/include ARM_COMMON_PATH= arch/arm/common ARM_DBCT_PATH= arch/arm/dbct @@ -238,7 +238,7 @@ rm -f binary/*.o rm -f binary/*.a rm -f binary/skyeye - make -C arch/coldfire clean + $(MAKE) -C arch/coldfire clean distclean mostlyclean maintainer-clean realclean: clean rm -f TAGS tags @@ -276,7 +276,7 @@ CF_COMMON_PATH = arch/coldfire/common/ COLDFIRE_FLAG = -I arch/coldire/tracer binary/libcoldfire.a:$(SIM_CF_OBJS) - make -C arch/coldfire + $(MAKE) -C arch/coldfire $(AR) $(AR_FLAGS) binary/libcoldfire.a $(SIM_CF_OBJS) $(CF_COMMON_PATH)/*.o $(CF_PATH)/tracer/tracer.o $(CF_PATH)/i_5206/i.o $(RANLIB) binary/libcoldfire.a @@ -285,7 +285,7 @@ PPC_COMMON_PATH = arch/ppc/common/ POWERPC_FLAG = -I arch/ppc/common/ binary/libppc.a: - make -C arch/ppc + $(MAKE) -C arch/ppc $(AR) $(AR_FLAGS) binary/libppc.a $(PPC_COMMON_PATH)/*.o $(RANLIB) binary/ppc.a