-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
41 lines (31 loc) · 1.27 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
## Makefile for P8-Lite
#
#
## The original zip file, MUST be specified by each product
local-zip-file := stockrom.zip
# All vendor apks needed
#local-phone-apps := NfcNci PrintSpooler PacProcessor CertInstaller GoogleCamera KeyChain \
# Stk qcrilmsgtunnel TimeService UserDictionaryProvider talkback Bluetooth BluetoothMidiService \
#local-phone-priv-apps := Shell FusedLocation ProxyHandler ExternalStorageProvider TagGoogle \
# SharedStorageBackup DMService ConnMO DiagMon DCMO InputDevices CellBroadcastReceiver \
# BackupRestoreConfirmation
include phoneapps.mk
local-density := XHDPI
local-target-bit := 64
# The output zip file of MIUI rom, the default is porting_miui.zip if not specified
local-out-zip-file := MIUI8-02.20180109-180756_UNOFFICIAL_NESP_ALE-L21.zip
local-miui-modified-apps := InCallUI
local-miui-removed-apps := FM
local-pre-zip := local-pre-zip-misc
local-after-zip:= local-put-to-phone
include $(PORT_BUILD)/porting.mk
local-pre-zip-misc:
@echo copying nesp custom files
cp -rf nesp_custom/system $(ZIP_DIR)/
@echo delete miui prebuilt binaries!
rm -rf $(ZIP_DIR)/system/bin/app_process32_vendor
cp -rf stockrom/system/bin/app_process32 $(ZIP_DIR)/system/bin/app_process32
nesp:
@bash nesp_custom/nesp_custom.sh
#pre-zip-misc:= local-pre-zip-misc