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 ifndef USE_UTK
$(BUILD)/linuxboot.rom: $(FVS) $(BUILD)/linuxboot.rom: $(FVS)
else else
$(BUILD)/linuxboot.rom: bin/utk ./dxe/linuxboot.ffs $(BUILD)/Linux.ffs $(BUILD)/Initrd.ffs $(BUILD)/linuxboot.rom: bin/utk $(DXE_FFS)
$< \ $< \
$(ROM) \ $(ROM) \
remove_dxes_except boards/$(BOARD)/image-files.txt \ remove_dxes_except boards/$(BOARD)/image-files.txt \
insert_dxe ./dxe/linuxboot.ffs \ $(foreach ffs,$(DXE_FFS), insert_dxe $(ffs)) \
insert_dxe $(BUILD)/Linux.ffs \
insert_dxe $(BUILD)/Initrd.ffs \
save $@ save $@
endif endif

View File

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