summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot_control_copy/Android.mk3
-rw-r--r--boot_control_copy/bootinfo.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/boot_control_copy/Android.mk b/boot_control_copy/Android.mk
index 93f17065..8ed3273f 100644
--- a/boot_control_copy/Android.mk
+++ b/boot_control_copy/Android.mk
@@ -5,10 +5,9 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := boot_control_copy.cpp bootinfo.cpp
LOCAL_CFLAGS := -Wall -Werror -Wno-missing-field-initializers -Wno-unused-parameter
-LOCAL_C_INCLUDES := bootable/recovery
LOCAL_HEADER_LIBRARIES := bootimg_headers
LOCAL_SHARED_LIBRARIES := libbase libcutils
-LOCAL_STATIC_LIBRARIES := libfs_mgr
+LOCAL_STATIC_LIBRARIES := libbootloader_message libfs_mgr
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_MODULE:= bootctrl.default
diff --git a/boot_control_copy/bootinfo.cpp b/boot_control_copy/bootinfo.cpp
index f21fe843..aa7643a4 100644
--- a/boot_control_copy/bootinfo.cpp
+++ b/boot_control_copy/bootinfo.cpp
@@ -28,9 +28,8 @@
#include <stdlib.h>
#include <string.h>
+#include <bootloader_message/bootloader_message.h>
#include <cutils/properties.h>
-
-#include <bootloader.h>
#include <fs_mgr.h>
#include "bootinfo.h"