Skip to content

Commit

Permalink
Fix of CFLAGS and LDFLAGS for sd_card_bootloader
Browse files Browse the repository at this point in the history
Using of the removed flags leads to infinite loops or freezing
during booting of the kernel. Later will be probably solved.
  • Loading branch information
Jan Viktorin committed Jun 9, 2012
1 parent 570f1a8 commit f1fc7f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/sd-card-bootldr
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ MB_LIBS ?= $(SD_CARD_BOOTLDR_PATH)/$(FPGA_PROC_ID)/lib

# The additional flags allow to strip some unused functions
# and thus make the result smaller...
MB_CFLAGS ?= -Os -fdata-sections -ffunction-sections
MB_LDFLAGS ?= -Wl,--gc-sections
#MB_CFLAGS ?= -Os -fdata-sections -ffunction-sections
#MB_LDFLAGS ?= -Wl,--gc-sections
MB_CFLAGS ?= -Wall -O0 -pedantic -g3
MB_LDFLAGS ?=

############################

Expand Down

0 comments on commit f1fc7f8

Please sign in to comment.