Makefile.inc: Move payload code to payloads/
Change-Id: I91d9537e8c78560c944c552255e703fc0e6f1f78 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14349 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
01bc897dfa
commit
785a31d67e
12
Makefile.inc
12
Makefile.inc
|
@ -742,18 +742,6 @@ $(obj)/coreboot.pre: $$(prebuilt-files) $(CBFSTOOL)
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
endif # ifneq ($(CONFIG_UPDATE_IMAGE),y)
|
endif # ifneq ($(CONFIG_UPDATE_IMAGE),y)
|
||||||
|
|
||||||
ifeq ($(CONFIG_PAYLOAD_LINUX),y)
|
|
||||||
ifneq ($(strip $(call strip_quotes,$(CONFIG_LINUX_COMMAND_LINE))),)
|
|
||||||
ADDITIONAL_PAYLOAD_CONFIG+=-C $(CONFIG_LINUX_COMMAND_LINE)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(call strip_quotes,$(CONFIG_LINUX_INITRD))),)
|
|
||||||
ADDITIONAL_PAYLOAD_CONFIG+=-I $(CONFIG_LINUX_INITRD)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(call strip_quotes,$(CONFIG_PAYLOAD_OPTIONS))),)
|
|
||||||
ADDITIONAL_PAYLOAD_CONFIG+=$(strip $(call strip_quotes,$(CONFIG_PAYLOAD_OPTIONS)))
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_HAVE_REFCODE_BLOB),y)
|
ifeq ($(CONFIG_HAVE_REFCODE_BLOB),y)
|
||||||
REFCODE_BLOB=$(obj)/refcode.rmod
|
REFCODE_BLOB=$(obj)/refcode.rmod
|
||||||
$(REFCODE_BLOB): $(RMODTOOL)
|
$(REFCODE_BLOB): $(RMODTOOL)
|
||||||
|
|
|
@ -30,6 +30,18 @@ PAYLOAD_CONFIG=payloads/external/depthcharge/depthcharge/.config
|
||||||
#TODO: Figure out version
|
#TODO: Figure out version
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PAYLOAD_LINUX),y)
|
||||||
|
ifneq ($(strip $(call strip_quotes,$(CONFIG_LINUX_COMMAND_LINE))),)
|
||||||
|
ADDITIONAL_PAYLOAD_CONFIG+=-C $(CONFIG_LINUX_COMMAND_LINE)
|
||||||
|
endif
|
||||||
|
ifneq ($(strip $(call strip_quotes,$(CONFIG_LINUX_INITRD))),)
|
||||||
|
ADDITIONAL_PAYLOAD_CONFIG+=-I $(CONFIG_LINUX_INITRD)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifneq ($(strip $(call strip_quotes,$(CONFIG_PAYLOAD_OPTIONS))),)
|
||||||
|
ADDITIONAL_PAYLOAD_CONFIG+=$(strip $(call strip_quotes,$(CONFIG_PAYLOAD_OPTIONS)))
|
||||||
|
endif
|
||||||
|
|
||||||
cbfs-files-$(CONFIG_INCLUDE_CONFIG_FILE) += payload_config
|
cbfs-files-$(CONFIG_INCLUDE_CONFIG_FILE) += payload_config
|
||||||
payload_config-file := $(PAYLOAD_CONFIG)
|
payload_config-file := $(PAYLOAD_CONFIG)
|
||||||
payload_config-type := raw
|
payload_config-type := raw
|
||||||
|
|
Loading…
Reference in New Issue