• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

external/efibootmgr


Commit MetaInfo

Revision0e133b861c63570ffe5cdfb06fcda0924960df5b (tree)
Time2018-01-12 12:32:54
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Android: inital porting of efibootmgr

The libefivar porting is also required.

Change Summary

Incremental Difference

--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
1+COPYING
\ No newline at end of file
--- /dev/null
+++ b/src/Android.mk
@@ -0,0 +1,33 @@
1+#
2+# Copyright (C) 2018 The Android-x86 Open Source Project
3+#
4+# Licensed under the GNU General Public License Version 2 or later.
5+# You may not use this file except in compliance with the License.
6+# You may obtain a copy of the License at
7+#
8+# http://www.gnu.org/licenses/gpl.html
9+#
10+
11+LOCAL_PATH := $(call my-dir)
12+
13+include $(CLEAR_VARS)
14+
15+include $(LOCAL_PATH)/../Make.version
16+
17+LOCAL_MODULE := efibootmgr
18+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
19+LOCAL_STATIC_LIBRARIES := libefivar
20+LOCAL_MODULE_PATH := $(TARGET_INSTALLER_OUT)/sbin
21+
22+LOCAL_CFLAGS := \
23+ -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing \
24+ -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE \
25+ -DEFIBOOTMGR_VERSION="\"$(VERSION)\"" \
26+ -DDEFAULT_LOADER=\"\\\\elilo.efi\"
27+
28+LOCAL_SRC_FILES := \
29+ efi.c \
30+ efibootmgr.c \
31+ unparse_path.c
32+
33+include $(BUILD_EXECUTABLE)