mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-15 21:28:15 +01:00
Makefile, Makefile.spl: cosmetic change
Indent the linking commands so that they look cosmetically better. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
98e55f97af
commit
1445836ca7
4
Makefile
4
Makefile
@ -1713,7 +1713,9 @@ ARCH_POSTLINK := $(wildcard $(srctree)/arch/$(ARCH)/Makefile.postlink)
|
|||||||
quiet_cmd_u-boot__ ?= LD $@
|
quiet_cmd_u-boot__ ?= LD $@
|
||||||
cmd_u-boot__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_u-boot) -o $@ \
|
cmd_u-boot__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_u-boot) -o $@ \
|
||||||
-T u-boot.lds $(u-boot-init) \
|
-T u-boot.lds $(u-boot-init) \
|
||||||
--start-group $(u-boot-main) --end-group \
|
--start-group \
|
||||||
|
$(u-boot-main) \
|
||||||
|
--end-group \
|
||||||
$(PLATFORM_LIBS) -Map u-boot.map; \
|
$(PLATFORM_LIBS) -Map u-boot.map; \
|
||||||
$(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true)
|
$(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true)
|
||||||
|
|
||||||
|
@ -451,12 +451,17 @@ $(obj)/$(SPL_BIN).sym: $(obj)/$(SPL_BIN) FORCE
|
|||||||
# Rule to link u-boot-spl
|
# Rule to link u-boot-spl
|
||||||
# May be overridden by arch/$(ARCH)/config.mk
|
# May be overridden by arch/$(ARCH)/config.mk
|
||||||
quiet_cmd_u-boot-spl ?= LD $@
|
quiet_cmd_u-boot-spl ?= LD $@
|
||||||
cmd_u-boot-spl ?= (cd $(obj) && $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_$(@F)) \
|
cmd_u-boot-spl ?= \
|
||||||
$(patsubst $(obj)/%,%,$(u-boot-spl-init)) --start-group \
|
( \
|
||||||
|
cd $(obj) && \
|
||||||
|
$(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_$(@F)) \
|
||||||
|
$(patsubst $(obj)/%,%,$(u-boot-spl-init)) \
|
||||||
|
--start-group \
|
||||||
$(patsubst $(obj)/%,%,$(u-boot-spl-main)) \
|
$(patsubst $(obj)/%,%,$(u-boot-spl-main)) \
|
||||||
$(patsubst $(obj)/%,%,$(u-boot-spl-platdata)) \
|
$(patsubst $(obj)/%,%,$(u-boot-spl-platdata)) \
|
||||||
--end-group \
|
--end-group \
|
||||||
$(PLATFORM_LIBS) -Map $(SPL_BIN).map -o $(SPL_BIN))
|
$(PLATFORM_LIBS) -Map $(SPL_BIN).map -o $(SPL_BIN) \
|
||||||
|
)
|
||||||
|
|
||||||
$(obj)/$(SPL_BIN): $(u-boot-spl-platdata) $(u-boot-spl-init) \
|
$(obj)/$(SPL_BIN): $(u-boot-spl-platdata) $(u-boot-spl-init) \
|
||||||
$(u-boot-spl-main) $(obj)/u-boot-spl.lds FORCE
|
$(u-boot-spl-main) $(obj)/u-boot-spl.lds FORCE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user