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:
@@ -5,7 +5,8 @@ noinst_LTLIBRARIES = libocdjtagdrivers.la
|
||||
libocdjtagdrivers_la_SOURCES = \
|
||||
$(DRIVERFILES)
|
||||
|
||||
nobase_dist_pkglib_DATA =
|
||||
ocddatadir = $(pkglibdir)
|
||||
nobase_dist_ocddata_DATA =
|
||||
|
||||
ULINK_FIRMWARE = $(srcdir)/OpenULINK
|
||||
|
||||
@@ -74,7 +75,7 @@ DRIVERFILES += rlink.c rlink_speed_table.c
|
||||
endif
|
||||
if ULINK
|
||||
DRIVERFILES += ulink.c
|
||||
nobase_dist_pkglib_DATA += $(ULINK_FIRMWARE)/ulink_firmware.hex
|
||||
nobase_dist_ocddata_DATA += $(ULINK_FIRMWARE)/ulink_firmware.hex
|
||||
endif
|
||||
if VSLLINK
|
||||
DRIVERFILES += versaloon/usbtoxxx/usbtogpio.c
|
||||
|
||||
Reference in New Issue
Block a user