Install the ld script upon 'make install'.

This commit is contained in:
Uwe Hermann 2009-07-24 23:30:36 +02:00
parent 50ba77bea9
commit 428e328b7e
2 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,8 @@ install: build
$(Q)$(INSTALL) -m 0644 include/libopenstm32/*.h $(INCDIR)/libopenstm32
@printf " INSTALL lib\n"
$(Q)$(INSTALL) -m 0644 lib/*.a $(LIBDIR)
@printf " INSTALL ldscript\n"
$(Q)$(INSTALL) -m 0644 lib/*.ld $(LIBDIR)
clean:
$(Q)$(MAKE) -C examples clean

View File

@ -20,6 +20,7 @@
/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */
/* Define memory regions. */
/* TODO: Make this overridable by the application code, it's MCU specific. */
MEMORY
{
rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K