OSDN Git Service
(root)
/
android-x86
/
bootable-newinstaller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c46f20
)
Android.mk: fix an error to build efi_img
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sat, 23 Jan 2016 11:44:05 +0000
(19:44 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Sat, 23 Jan 2016 11:44:05 +0000
(19:44 +0800)
Android.mk
patch
|
blob
|
history
diff --git
a/Android.mk
b/Android.mk
index
f7f6f63
..
8050c21
100644
(file)
--- a/
Android.mk
+++ b/
Android.mk
@@
-90,6
+90,7
@@
$(EFI_IMAGE): $(wildcard $(LOCAL_PATH)/boot/boot/*/*) $(BUILT_IMG) $(ESP_LAYOUT)
size=$$(($$(($$(($$(($$(($$size + $$(($$size / 100)))) - 1)) / 32)) + 1)) * 32)); \
rm -f $@.fat; mkdosfs -n Android-x86 -C $@.fat $$size
$(hide) mcopy -Qsi $@.fat $(<D)/../../../install/grub2/efi $(BUILT_IMG) ::
+ $(hide) mmd -i $@.fat ::boot; mmd -i $@.fat ::boot/grub
$(hide) mcopy -Qoi $@.fat $(@D)/grub.cfg ::boot/grub
$(hide) cat /dev/null > $@; $(edit_mbr) -l $(ESP_LAYOUT) -i $@ esp=$@.fat
$(hide) rm -f $@.fat