Skip to content

Commit 96e1f9e

Browse files
committed
kind of but not really fix build
1 parent 0d65831 commit 96e1f9e

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

lk.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ifdef OBJS
77
INCLUDES += -I$(DROIDBOOT_PLATFORM_LOCAL_PATH)/common
88
INCLUDES += -I$(DROIDBOOT_PLATFORM_LOCAL_PATH)/libc-hack
99
INCLUDES += -I$(DROIDBOOT_PLATFORM_LOCAL_PATH)/libc-hack/lk
10-
OBJS += $(DROIDBOOT_PLATFORM_LOCAL_PATH)/common/droidboot_platform_common.o
10+
OBJS += $(DROIDBOOT_PLATFORM_LOCAL_PATH)/common/droidboot_platform_common.o $(DROIDBOOT_PLATFORM_LOCAL_PATH)/libc-hack/uefi/sscanf.o
1111
else
1212
GLOBAL_INCLUDES += $(DROIDBOOT_PLATFORM_LOCAL_PATH)/common
1313
GLOBAL_INCLUDES += $(DROIDBOOT_PLATFORM_LOCAL_PATH)/libc-hack

lk/common_mtk/src/lk_mtk_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ssize_t dridboot_internal_sd_read_block(void *buf, uint32_t block, uint count);
1616
ssize_t dridboot_internal_sd_write_block(const void *buf, uint32_t block, uint count);
1717
uint32_t droidboot_internal_sd_blklen();
1818
uint64_t droidboot_internal_sd_blkcnt();
19-
bool droidboot_internal_sd_exists()
19+
bool droidboot_internal_sd_exists();
2020
// Verify if there is abm compatible sd card
2121
void droidboot_mtk_sd_check();
2222

lk/yggdrasil/src/yggdrasil.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include <stdbool.h>
2+
13
char* get_codename(){
24
return "yggdrasil";
35
}
@@ -9,3 +11,8 @@ char* get_vendor(){
911
char* get_model(){
1012
return "Volla Phone";
1113
}
14+
15+
bool droidboot_internal_use_double_buffering()
16+
{
17+
return false;
18+
}

0 commit comments

Comments
 (0)