Commit 746290dfd86a70b41fc5fdd3df1424a647d5c5e8
1 parent
0332e4df71
Exists in
master
and in
54 other branches
Blackfin: pass --bmode/--initcode when creating ldr
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
blackfin_config.mk
... | ... | @@ -33,7 +33,11 @@ |
33 | 33 | |
34 | 34 | SYM_PREFIX = _ |
35 | 35 | |
36 | +LDR_FLAGS += --bmode $(subst BFIN_BOOT_,,$(CONFIG_BFIN_BOOT_MODE)) | |
36 | 37 | LDR_FLAGS += --use-vmas |
38 | +ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS) | |
39 | +LDR_FLAGS += --initcode $(obj)cpu/$(CPU)/initcode.o | |
40 | +endif | |
37 | 41 | ifneq (,$(findstring s,$(MAKEFLAGS))) |
38 | 42 | LDR_FLAGS += --quiet |
39 | 43 | endif |