Refactor fullmte bits into common dir

Pull fullmte-common and fullmte-vars into a common dir so they can also
be used by other devices. See the topic changes for device/google/gs-common.

Bug: 288843255
Test: run soong for shiba_fullmte, build/flash husky_fullmte.

Change-Id: I6cc636596acff8b5234197fe26f85e27f7e85a62
This commit is contained in:
Mitch Phillips 2023-07-18 13:46:05 +02:00
parent a425a1da89
commit dc02c7176f
5 changed files with 3 additions and 12 deletions

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_husky.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_husky_fullmte

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_ripcurrent.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_ripcurrent_fullmte

View file

@ -1,5 +1,4 @@
include device/google/shusky/fullmte-vars.mk
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/shusky/aosp_shiba.mk)
$(call inherit-product, device/google/shusky/fullmte-common.mk)
PRODUCT_NAME := aosp_shiba_fullmte

View file

@ -1,2 +0,0 @@
BOARD_KERNEL_CMDLINE += bootloader.pixel.MTE_FORCE_ON
PRODUCT_PRODUCT_PROPERTIES += persist.arm64.memtag.default=sync

View file

@ -1,4 +0,0 @@
ifeq ($(filter memtag_heap,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) memtag_heap memtag_stack)
SANITIZE_TARGET_DIAG := $(strip $(SANITIZE_TARGET_DIAG) memtag_heap)
endif