-
Notifications
You must be signed in to change notification settings - Fork 15
/
makefile
executable file
·40 lines (28 loc) · 1.3 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
#
# Makefile for ns
#
# The original zip file, MUST be specified by each product
local-zip-file := stockrom.zip
# The output zip file of MIUI rom, the default is porting_miui.zip if not specified
local-out-zip-file :=
# All apps from original ZIP, but has smali files chanded
local-modified-apps :=
# All apks from MIUI execept MIUISystemUI and framework-miui-res.apk
local-miui-removed-apps := MiuiCompass
local-miui-apps :=
local-miui-modified-apps := Phone MiuiSystemUI Settings
# All apps need to be removed from original ZIP file
local-remove-apps := fy_cf17593a31 LenovoSystemUI LenovoMusic LenovoLauncher-hdpi classic-2.0-hdpi LenovoBackupRestore LenovoTether superuser
local-density := XHDPI
# To include the local targets before and after zip the final ZIP file,
# and the local-targets should:
# (1) be defined after including porting.mk if using any global variable(see porting.mk)
# (2) the name should be leaded with local- to prevent any conflict with global targets
local-pre-zip := local-zip-misc
local-after-zip:= local-test
# The local targets after the zip file is generated, could include 'zip2sd' to
# deliver the zip file to phone, or to customize other actions
include $(PORT_BUILD)/porting.mk
# To define any local-target
local-zip-misc:
cp other/boot.img $(ZIP_DIR)/boot.img