forked from openkylin/platform_build
修改编译规则,支持starkylin对模拟器sdk_phone_x86_64的编译
This commit is contained in:
parent
dcde0e85a4
commit
1370ee9da0
|
@ -210,6 +210,7 @@ function setpaths()
|
|||
# defined in core/config.mk
|
||||
local targetgccversion=$(get_build_var TARGET_GCC_VERSION)
|
||||
local targetgccversion2=$(get_build_var 2ND_TARGET_GCC_VERSION)
|
||||
export DISABLE_ARTIFACT_PATH_REQUIREMENTS="true"
|
||||
export TARGET_GCC_VERSION=$targetgccversion
|
||||
|
||||
# The gcc toolchain does not exists for windows/cygwin. In this case, do not reference it.
|
||||
|
|
|
@ -40,3 +40,7 @@ WPA_SUPPLICANT_VERSION := VER_0_8_X
|
|||
WIFI_DRIVER_FW_PATH_PARAM := "/dev/null"
|
||||
WIFI_DRIVER_FW_PATH_STA := "/dev/null"
|
||||
WIFI_DRIVER_FW_PATH_AP := "/dev/null"
|
||||
|
||||
BUILD_BROKEN_DUP_RULES := true
|
||||
ALLOW_MISSING_DEPENDENCIES := true
|
||||
BUILD_BROKEN_USES_NETWORK := true
|
||||
|
|
|
@ -25,3 +25,9 @@ endif
|
|||
PRODUCT_HOST_PACKAGES += \
|
||||
bios.bin \
|
||||
vgabios-cirrus.bin \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libaosk_native \
|
||||
libgnw_aosk \
|
||||
libinstall_native
|
||||
|
||||
|
|
|
@ -48,6 +48,8 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
|||
$(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_x86/device.mk)
|
||||
$(call inherit-product-if-exists, gonk-misc/b2g.mk)
|
||||
$(call inherit-product-if-exists, external/moztt/fonts.mk)
|
||||
|
||||
# Define the host tools and libs that are parts of the SDK.
|
||||
$(call inherit-product-if-exists, sdk/build/product_sdk.mk)
|
||||
|
|
|
@ -49,6 +49,8 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
|||
$(call inherit-product-if-exists, device/generic/goldfish/x86_64-vendor.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_x86_64/device.mk)
|
||||
$(call inherit-product-if-exists, gonk-misc/b2g.mk)
|
||||
$(call inherit-product-if-exists, external/moztt/fonts.mk)
|
||||
|
||||
# Define the host tools and libs that are parts of the SDK.
|
||||
$(call inherit-product-if-exists, sdk/build/product_sdk.mk)
|
||||
|
@ -63,3 +65,6 @@ PRODUCT_MODEL := Android SDK built for x86_64
|
|||
# RadioConfigLib), which makes it impossible to translate their module names to
|
||||
# library name, so the check fails.
|
||||
PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true
|
||||
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.sys.root_access=3
|
||||
|
|
Loading…
Reference in New Issue