diff options
author | Martin Roth <martinroth@google.com> | 2016-01-20 14:52:08 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-01-23 21:25:48 +0100 |
commit | c4c7f166c21bac25618192d59e56c0966e9188aa (patch) | |
tree | a34fa84aff4934adf44232884a487738f2b5f988 | |
parent | eb907b3c9047fc262893a57c42777928b50c17d9 (diff) |
Makefile.inc: Comment some 'else' and 'endif' statements
Help figure out which 'else' or 'endif' is attached to which 'if'.
Change-Id: I5ad068eb7c69f2dae57856f0e886f786563f7783
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13064
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r-- | Makefile.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.inc b/Makefile.inc index 46c85f8494..89f02d41d5 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -698,7 +698,7 @@ FMAP_FMAP_SIZE := 0x100 # position and size of CBFS, relative to BIOS_BASE FMAP_CBFS_BASE := $(FMAP_FMAP_SIZE) FMAP_CBFS_SIZE := $(call int-subtract, $(FMAP_BIOS_SIZE) $(FMAP_FMAP_SIZE)) -else +else # ifeq ($(CONFIG_ARCH_X86),y) DEFAULT_FLASHMAP:=$(top)/util/cbfstool/default.fmd # entire flash FMAP_ROM_ADDR := 0 @@ -713,7 +713,7 @@ FMAP_FMAP_SIZE := 0x100 # position and size of CBFS, relative to BIOS_BASE FMAP_CBFS_BASE := $(call int-add,$(FMAP_FMAP_BASE) $(FMAP_FMAP_SIZE)) FMAP_CBFS_SIZE := $(call int-subtract,$(FMAP_BIOS_SIZE) $(FMAP_CBFS_BASE)) -endif +endif # ifeq ($(CONFIG_ARCH_X86),y) $(obj)/fmap.fmd: $(top)/Makefile.inc $(DEFAULT_FLASHMAP) $(obj)/config.h sed -e "s,##ROM_BASE##,$(FMAP_ROM_ADDR)," \ @@ -726,10 +726,10 @@ $(obj)/fmap.fmd: $(top)/Makefile.inc $(DEFAULT_FLASHMAP) $(obj)/config.h -e "s,##CBFS_SIZE##,$(FMAP_CBFS_SIZE)," \ $(DEFAULT_FLASHMAP) > $@.tmp mv $@.tmp $@ -else +else # ifeq ($(CONFIG_FMDFILE),) $(obj)/fmap.fmd: $(CONFIG_FMDFILE) $(obj)/config.h cp $< $@ -endif +endif # ifeq ($(CONFIG_FMDFILE),) # generated at the same time as fmap.fmap $(obj)/fmap.h: $(obj)/fmap.fmap @@ -747,7 +747,7 @@ ifeq ($(CONFIG_ARCH_X86),y) -n bootblock \ -t bootblock \ -b -$(call file-size,$(objcbfs)/bootblock.bin) $(cbfs-autogen-attributes) -else +else # ifeq ($(CONFIG_ARCH_X86),y) # don't add bootblock to cbfs yet, it's just a waste of space true $(CBFSTOOL) $@.tmp add \ -f $(objcbfs)/bootblock.bin \ @@ -766,11 +766,11 @@ else -t "cbfs header" \ -b -4 rm -f $@.tmp.2 -endif +endif # ifeq ($(CONFIG_ARCH_X86),y) $(CBFSTOOL) $@.tmp add-master-header $(prebuild-files) true mv $@.tmp $@ -else +else # ifneq ($(CONFIG_UPDATE_IMAGE),y) prebuilt-files = $(foreach file,$(cbfs-files), $(call extract_nth,1,$(file))) # Add all cbfs files to image of the form: CONFIG_CBFS_PREFIX/<filename> prebuild-files = \ @@ -785,7 +785,7 @@ $(obj)/coreboot.pre: $$(prebuilt-files) $(CBFSTOOL) mv $(obj)/coreboot.rom $@.tmp $(prebuild-files) true mv $@.tmp $@ -endif +endif # ifneq ($(CONFIG_UPDATE_IMAGE),y) ifeq ($(CONFIG_PAYLOAD_LINUX),y) ifneq ($(strip $(call strip_quotes,$(CONFIG_LINUX_COMMAND_LINE))),) |