build: fix automake 1.11.2 issues

automake 1.11.2 throws `pkglibdir' is not a legitimate directory for `DATA'
if nobase_dist_pkglib_DATA is used.

We work around this issue by defining our own location.

Change-Id: I3c29e2df0b67e745283c50d358e31699bd60dc74
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/457
Tested-by: jenkins
This commit is contained in:
Spencer Oliver
2012-02-14 12:57:18 +00:00
parent b0ef9cf117
commit 737a52d7b2
3 changed files with 5 additions and 6 deletions

View File

@@ -164,7 +164,7 @@ noinst_HEADERS = \
avr32_mem.h \
avr32_regs.h
nobase_dist_pkglib_DATA =
nobase_dist_pkglib_DATA += ecos/at91eb40a.elf
ocddatadir = $(pkglibdir)
nobase_dist_ocddata_DATA = ecos/at91eb40a.elf
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in