To avoid conflicts between flash drivers being added, consistently use an alphabetical sort order for the three places new drivers get added: * Makefile.am NOR_DRIVERS (note: automake disallows a trailing backslash) * drivers.c struct flash_driver forward declarations * drivers.c flash_drivers array Change-Id: Idcd6a8e12821ef10958a6b3ad7bac0dc63cadd08 Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-on: http://openocd.zylin.com/3417 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
68 lines
879 B
Makefile
68 lines
879 B
Makefile
include $(top_srcdir)/common.mk
|
|
|
|
noinst_LTLIBRARIES = libocdflashnor.la
|
|
libocdflashnor_la_SOURCES = \
|
|
core.c \
|
|
tcl.c \
|
|
$(NOR_DRIVERS) \
|
|
drivers.c
|
|
|
|
NOR_DRIVERS = \
|
|
aduc702x.c \
|
|
aducm360.c \
|
|
at91sam4.c \
|
|
at91sam4l.c \
|
|
at91samd.c \
|
|
at91sam3.c \
|
|
at91sam7.c \
|
|
atsamv.c \
|
|
avrf.c \
|
|
cfi.c \
|
|
dsp5680xx_flash.c \
|
|
efm32.c \
|
|
em357.c \
|
|
faux.c \
|
|
fm3.c \
|
|
fm4.c \
|
|
jtagspi.c \
|
|
kinetis.c \
|
|
kinetis_ke.c \
|
|
lpc2000.c \
|
|
lpc288x.c \
|
|
lpc2900.c \
|
|
lpcspifi.c \
|
|
mdr.c \
|
|
mrvlqspi.c \
|
|
niietcm4.c \
|
|
non_cfi.c \
|
|
nrf51.c \
|
|
numicro.c \
|
|
ocl.c \
|
|
pic32mx.c \
|
|
psoc4.c \
|
|
sim3x.c \
|
|
spi.c \
|
|
stmsmi.c \
|
|
stellaris.c \
|
|
stm32f1x.c \
|
|
stm32f2x.c \
|
|
stm32lx.c \
|
|
stm32l4x.c \
|
|
str7x.c \
|
|
str9x.c \
|
|
str9xpec.c \
|
|
tms470.c \
|
|
virtual.c \
|
|
xmc4xxx.c
|
|
|
|
noinst_HEADERS = \
|
|
core.h \
|
|
cfi.h \
|
|
driver.h \
|
|
imp.h \
|
|
non_cfi.h \
|
|
ocl.h \
|
|
spi.h
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|