build/mmc: Add host libraries for fat_shell. Drop unused var

Change-Id: I16a93fd4161569eb756ec244f3f5c1b768247089
This commit is contained in:
Alexander von Gluck IV 2021-01-07 16:05:46 -06:00
parent 58332722cd
commit 0b10216c7c

View File

@ -17,7 +17,6 @@ rule BuildSDImage image : files
Depends $(image) : $(mbrtool) ;
Depends $(image) : $(fatshell) ;
SDIMAGE_OS_NAME on $(image) = $(HAIKU_IMAGE_NAME) ;
SDIMAGE_OS_SIZE on $(image) = $(HAIKU_IMAGE_SIZE) ;
SDIMAGE_BEGIN on $(image) = $(HAIKU_BOOT_SDIMAGE_BEGIN:E=63) ;
@ -48,6 +47,8 @@ actions BuildUBootSDImage1
{
$(RM) $(1)
export $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
# in KiB
EFI_SIZE=32768
BOOT_SIZE=`expr ${EFI_SIZE} + $(SDIMAGE_BEGIN)`
@ -106,6 +107,8 @@ actions BuildEfiSDImage1
{
$(RM) $(1)
export $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR)
# in KiB
EFI_SIZE=32768
BOOT_SIZE=`expr ${EFI_SIZE} + $(SDIMAGE_BEGIN)`