Skip to content

Commit

Permalink
Fixed lisa_l 1.1 makefile to use the correct linker script.
Browse files Browse the repository at this point in the history
Added some more verbosity about linker script selection.
  • Loading branch information
esden committed Aug 10, 2012
1 parent 62e2001 commit 8e1bdd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/Makefile.stm32
Expand Up @@ -93,9 +93,11 @@ AOBJ = $(ASRC:%.S=$(OBJDIR)/%.o)
# if not, use the default STM32f103re_flash.ld
ifndef LDSCRIPT
ifndef $(TARGET).LDSCRIPT
$(warning Linker script for target "$(TARGET)" on board "$(BOARD)" not defined. Using stm32default.ld.)
LDSCRIPT = $(SRC_ARCH)/stm32default.ld
else
LDSCRIPT = $($(TARGET).LDSCRIPT)
$(info Using "$($(TARGET).LDSCRIPT)" as ldscript for target "$(TARGET)".)
endif
endif

Expand Down
1 change: 1 addition & 0 deletions conf/boards/lisa_l_1.1.makefile
Expand Up @@ -11,6 +11,7 @@
BOARD=lisa_l
BOARD_VERSION=1.0
BOARD_CFG=\"boards/$(BOARD)_$(BOARD_VERSION).h\"
$(TARGET).LDSCRIPT=$(SRC_ARCH)/lisa-l.ld
NO_LUFTBOOT=1

# -----------------------------------------------------------------------
Expand Down

0 comments on commit 8e1bdd6

Please sign in to comment.