flash/stm32l4x: add support of STM32WL5x dual core
[fw/openocd] / src / flash / Makefile.am
index 65692e3a2e620b51ec9baca7b3140ebae84cb7eb..4c70702b53cad2054f972e59ec78c626b45d2976 100644 (file)
@@ -1,5 +1,12 @@
-INCLUDES = -I$(top_srcdir)/src/helper -I$(top_srcdir)/src/jtag -I$(top_srcdir)/src/target $(all_includes)
-METASOURCES = AUTO
-noinst_LIBRARIES = libflash.a
-libflash_a_SOURCES = flash.c lpc2000.c cfi.c at91sam7.c str7x.c str9x.c
-noinst_HEADERS = flash.h lpc2000.h cfi.h at91sam7.h str7x.h str9x.h
+noinst_LTLIBRARIES += %D%/libflash.la
+%C%_libflash_la_SOURCES = \
+       %D%/common.c %D%/common.h
+
+%C%_libflash_la_LIBADD = \
+       %D%/nor/libocdflashnor.la \
+       %D%/nand/libocdflashnand.la
+
+STARTUP_TCL_SRCS += %D%/startup.tcl
+
+include %D%/nor/Makefile.am
+include %D%/nand/Makefile.am