-
Notifications
You must be signed in to change notification settings - Fork 1
/
AndroidBoard.mk
40 lines (34 loc) · 1.54 KB
/
AndroidBoard.mk
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
#
# Copyright (C) 2016 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
ifeq ($(TARGET_DEVICE),X00QD)
LOCAL_PATH := $(call my-dir)
include $(call all-subdir-makefiles,$(LOCAL_PATH))
BOARD_RECOVERY_PATCH_SECURITY_PROPS := \
sed -i 's/ro.build.version.security_patch=.*/ro.build.version.security_patch=$(NEW_PLATFORM_SECURITY_PATCH)/g' $(TARGET_RECOVERY_ROOT_OUT)/prop.default ;\
sed -i 's/ro.build.version.release=.*/ro.build.version.release=$(NEW_PLATFORM_VERSION)/g' $(TARGET_RECOVERY_ROOT_OUT)/prop.default
#TEXFAT_MODULE := $(TARGET_RECOVERY_ROOT_OUT)/sbin/texfat.ko
#$(TEXFAT_MODULE): $(PRODUCT_OUT)/kernel
# @cp $(KERNEL_MODULES_OUT)/texfat.ko $(TEXFAT_MODULE)
# $(PRODUCT_OUT)/obj/KERNEL_OBJ/scripts/sign-file sha512 \
# $(PRODUCT_OUT)/obj/KERNEL_OBJ/certs/signing_key.pem \
# $(PRODUCT_OUT)/obj/KERNEL_OBJ/certs/signing_key.x509 \
# $(TEXFAT_MODULE)
#
#ALL_DEFAULT_INSTALLED_MODULES += $(TEXFAT_MODULE)
BOARD_RECOVERY_IMAGE_PREPARE := \
$(BOARD_RECOVERY_PATCH_SECURITY_PROPS) ;\
$(BOARD_RECOVERY_UPDATE_MODULES)
endif