From: johanknol Date: Sun, 6 Jan 2002 13:04:24 +0000 (+0000) Subject: frame word for xa51 (not enabled yet) X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=61881702f51a35d593552eccf25c0b482d1db287;p=fw%2Fsdcc frame word for xa51 (not enabled yet) git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1773 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/Makefile.bcc b/Makefile.bcc index 5e2c2cb0..89803e54 100644 --- a/Makefile.bcc +++ b/Makefile.bcc @@ -15,7 +15,7 @@ cpp2: make -f Makefile.bcc cd ..\.. -ports: z80 mcs51 avr ds390 pic izt +ports: z80 mcs51 avr ds390 pic izt xa51 z80: cd src\z80 @@ -47,6 +47,11 @@ izt: make -f Makefile.bcc cd ..\.. +xa51: + cd src\xa51 + make -f Makefile.bcc + cd ..\.. + sdcc: cd src make -f Makefile.bcc diff --git a/configure b/configure index 922cd37e..04c0f398 100755 --- a/configure +++ b/configure @@ -27,6 +27,8 @@ ac_help="$ac_help --disable-i186-port Excludes the I186 port" ac_help="$ac_help --disable-tlcs900h-port Excludes the TLCS900H port" +ac_help="$ac_help +--disable-xa51-port Excludes the XA51 port" ac_help="$ac_help --disable-ucsim Disables configuring and building of ucsim" ac_help="$ac_help @@ -2609,6 +2611,9 @@ cat >> confdefs.h <> confdefs.h <> confdefs.h <>ports.all +if test "$enable_xa51_port" = "no"; then + cat >> confdefs.h <>ports.build + cat >> confdefs.h <>ports.all +if test "$enable_xa51_port" = "no"; then + AC_DEFINE_UNQUOTED(OPT_DISABLE_XA51, 1) +else + echo xa51 >>ports.build + AC_DEFINE_UNQUOTED(OPT_DISABLE_XA51, 0) +fi + AC_ARG_ENABLE(ucsim,[ --disable-ucsim Disables configuring and building of ucsim]) OPT_ENABLE_UCSIM=$enable_ucsim AC_SUBST(OPT_ENABLE_UCSIM) diff --git a/sdccconf_in.h b/sdccconf_in.h index 8965b21d..09c02b16 100644 --- a/sdccconf_in.h +++ b/sdccconf_in.h @@ -22,6 +22,7 @@ #undef STD_LONG_LIB #undef STD_FP_LIB #undef STD_DS390_LIB +//#undef STD_XA51_LIB #undef HAVE_SYS_SOCKET_H #undef HAVE_SYS_ISA_DEFS_H #undef HAVE_ENDIAN_H @@ -37,6 +38,7 @@ #undef OPT_DISABLE_PIC #undef OPT_DISABLE_I186 #undef OPT_DISABLE_TLCS900H +//#undef OPT_DISABLE_XA51 #undef OPT_ENABLE_LIBGC