码迷,mamicode.com
首页 > 其他好文 > 详细

miui patchrom makefile

时间:2014-05-30 08:40:13      阅读:333      评论:0      收藏:0      [点我收藏+]

标签:c   style   class   blog   code   java   

bubuko.com,布布扣
#
# Makefile for h30_u10
#

# 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 := MIUI_h30_u10.zip

#
local-miui-modified-apps := MiuiHome Mms  Settings Phone ThemeManager

# All apps from original ZIP, but has smali files chanded
local-modified-apps :=

# All apks from MIUI
local-miui-removed-apps     :=



# 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:=

# 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:
    #rm -rf $(ZIP_DIR)/system/cdrom
#    rm $(ZIP_DIR)/system/bin/su
    rm -rf $(ZIP_DIR)/system/bin/cust
    cp other/build-b923.prop $(ZIP_DIR)/system/build.prop
    cp other/HuaWeiSettings.apk $(ZIP_DIR)/system/app/
    cp other/Generic.kl $(ZIP_DIR)/system/usr/keylayout/
    cp other/HwFMRadio.apk $(ZIP_DIR)/system/app/
    cp other/boot-b919-rooted.img $(ZIP_DIR)/boot.img

    @echo update bootanimation
    rm $(ZIP_DIR)/system/bin/bootanimation
    cp other/bootanimation $(ZIP_DIR)/system/bin/bootanimation
bubuko.com,布布扣

 

miui patchrom makefile,布布扣,bubuko.com

miui patchrom makefile

标签:c   style   class   blog   code   java   

原文地址:http://www.cnblogs.com/qinglinchen/p/3756821.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!