Move udk dxe list to the board (winterfell only)

Signed-off-by: Julien Viard de Galbert <julien.viard-de-galbert@itrenew.com>
This commit is contained in:
Julien Viard de Galbert 2019-01-08 17:47:39 +01:00
parent f5dfd39ac7
commit 4e32a2c2c8
2 changed files with 8 additions and 7 deletions

View File

@ -139,13 +139,11 @@ dxe/%.ffs:
ifndef USE_UTK
$(BUILD)/linuxboot.rom: $(FVS)
else
$(BUILD)/linuxboot.rom: bin/utk ./dxe/linuxboot.ffs $(BUILD)/Linux.ffs $(BUILD)/Initrd.ffs
$(BUILD)/linuxboot.rom: bin/utk $(DXE_FFS)
$< \
$(ROM) \
remove_dxes_except boards/$(BOARD)/image-files.txt \
insert_dxe ./dxe/linuxboot.ffs \
insert_dxe $(BUILD)/Linux.ffs \
insert_dxe $(BUILD)/Initrd.ffs \
$(foreach ffs,$(DXE_FFS), insert_dxe $(ffs)) \
save $@
endif

View File

@ -36,11 +36,14 @@ $(BUILD)/rom/0x00f00000.fv \
# Replace the DxeCore and SmmCore with our own
# and add in the Linux kernel / initrd
DXE_FFS := \
./dxe/linuxboot.ffs \
$(BUILD)/Linux.ffs \
$(BUILD)/Initrd.ffs \
$(BUILD)/dxe.vol: \
$(dxe-files) \
./dxe/linuxboot.ffs \
$(BUILD)/Linux.ffs \
$(BUILD)/Initrd.ffs \
$(DXE_FFS) \
#
# Compact the NVRAM region. this isn't required, but makes for cleaner images.