first issue of

[ 2807343 ] urjtag dependencies missing autoconf checks


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1657 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 16 years ago
parent 0fa110fc44
commit cb2130f557

@ -1,5 +1,10 @@
2009-07-15 Arnim Laeuger <arniml>
* configure.ac, src/Makefile.am: first issue of
[ 2807343 ] urjtag dependencies missing autoconf checks
disabled SVF or disabled BSDL prevents potfile creation
when generated flex/bison files are missing
* src/flash/amd.c: [ 2806917 ] Atmel AT49BV322D flash support (MURANAKA Masaki)
Work around flash chips that support multi byte write mode with a
different programming algorithm.

@ -334,7 +334,7 @@ AS_IF([test "$LEX" = flex], [
dnl If the transformed svf_flex.c is already existing, it doesn't matter
dnl that flex is too old for building the lexer.
AS_IF([test "x$svf_lexer" = xfalse], [
AS_IF([test -r src/svf/svf_flex.c], [
AS_IF([test -r src/svf/svf_bison.h], [
svf_lexer=true
])
])
@ -353,13 +353,22 @@ AS_IF([test "x$svf" = xtrue], [
AC_DEFINE(ENABLE_SVF, 1, [define if SVF player is enabled])
],[
AM_CONDITIONAL(ENABLE_SVF, false)
# SVF is disabled, but the generated files are still required for
# POTFILES. They simply have to exist as empty files.
AS_IF([test ! -r src/svf/svf_flex.c], [
touch src/svf/svf_flex.c
])
AS_IF([test ! -r src/svf/svf_bison.c], [
touch src/svf/svf_bison.c
])
])
dnl If the transformed bsdl_flex.c is already existing, it doesn't matter
dnl that flex is too old for building the lexer.
AS_IF([test "x$bsdl_lexer" = xfalse], [
AS_IF([test -r src/bsdl/bsdl_flex.c], [
AS_IF([test -r src/bsdl/bsdl_bison.h], [
bsdl_lexer=true
])
])
@ -378,6 +387,21 @@ AS_IF([test "x$bsdl" = xtrue], [
AC_DEFINE(ENABLE_BSDL, 1, [define if BSDL subsystem is enabled])
],[
AM_CONDITIONAL(ENABLE_BSDL, false)
# BSDL is disabled, but the generated files are still required for
# POTFILES. They simply have to exist as empty files.
AS_IF([test ! -r src/bsdl/vhdl_flex.c], [
touch src/bsdl/vhdl_flex.c
])
AS_IF([test ! -r src/bsdl/vhdl_bison.c], [
touch src/bsdl/vhdl_bison.c
])
AS_IF([test ! -r src/bsdl/bsdl_flex.c], [
touch src/bsdl/bsdl_flex.c
])
AS_IF([test ! -r src/bsdl/bsdl_bison.c], [
touch src/bsdl/bsdl_bison.c
])
])
dnl Enable experimental brute-force JEDEC flash autodetection?

@ -42,8 +42,10 @@ endif
bin_PROGRAMS = \
jtag
if ENABLE_BSDL
dist_bin_SCRIPTS = \
bsdl2jtag
endif
jtag_SOURCES = \
jtag.c

@ -1,3 +1,10 @@
2009-07-15 Arnim Laeuger <arniml>
* configure.ac, Makefile.am: first issue of
[ 2807343 ] urjtag dependencies missing autoconf checks
disabled SVF or disabled BSDL prevents potfile creation
when generated flex/bison files are missing
2009-07-15 Arnim <arniml>
* src/flash/amd.c: [ 2806917 ] Atmel AT49BV322D flash support (MURANAKA Masaki)

@ -32,10 +32,15 @@ SUBDIRS = \
if ENABLE_APPS
SUBDIRS += \
src/apps/jtag \
src/apps/jtag
if ENABLE_BSDL
SUBDIRS += \
src/apps/bsdl2jtag
endif
endif
DIST_SUBDIRS = \
$(SUBDIRS)

@ -376,7 +376,7 @@ AS_IF([test "$LEX" = flex], [
dnl If the transformed svf_flex.c is already existing, it doesn't matter
dnl that flex is too old for building the lexer.
AS_IF([test "x$svf_lexer" = xfalse], [
AS_IF([test -r src/svf/svf_flex.c], [
AS_IF([test -r src/svf/svf_bison.h], [
svf_lexer=true
])
])
@ -395,13 +395,22 @@ AS_IF([test "x$svf" = xtrue], [
AC_DEFINE(ENABLE_SVF, 1, [define if SVF player is enabled])
],[
AM_CONDITIONAL(ENABLE_SVF, false)
# SVF is disabled, but the generated files are still required for
# POTFILES. They simply have to exist as empty files.
AS_IF([test ! -r src/svf/svf_flex.c], [
touch src/svf/svf_flex.c
])
AS_IF([test ! -r src/svf/svf_bison.c], [
touch src/svf/svf_bison.c
])
])
dnl If the transformed bsdl_flex.c is already existing, it doesn't matter
dnl that flex is too old for building the lexer.
AS_IF([test "x$bsdl_lexer" = xfalse], [
AS_IF([test -r src/bsdl/bsdl_flex.c], [
AS_IF([test -r src/bsdl/bsdl_bison.h], [
bsdl_lexer=true
])
])
@ -420,6 +429,21 @@ AS_IF([test "x$bsdl" = xtrue], [
AC_DEFINE(ENABLE_BSDL, 1, [define if BSDL subsystem is enabled])
],[
AM_CONDITIONAL(ENABLE_BSDL, false)
# BSDL is disabled, but the generated files are still required for
# POTFILES. They simply have to exist as empty files.
AS_IF([test ! -r src/bsdl/vhdl_flex.c], [
touch src/bsdl/vhdl_flex.c
])
AS_IF([test ! -r src/bsdl/vhdl_bison.c], [
touch src/bsdl/vhdl_bison.c
])
AS_IF([test ! -r src/bsdl/bsdl_flex.c], [
touch src/bsdl/bsdl_flex.c
])
AS_IF([test ! -r src/bsdl/bsdl_bison.c], [
touch src/bsdl/bsdl_bison.c
])
])
dnl Enable experimental brute-force JEDEC flash autodetection?

Loading…
Cancel
Save