From 171c65860e5ad527e1c7b4659707882df3105995 Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Sun, 11 Feb 2018 01:13:14 +0100 Subject: [PATCH] gapps: Fix missing sed * And regenerate makefiles --- common/Android.mk | 2 +- setup-makefiles.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/Android.mk b/common/Android.mk index e6a7927..c125d50 100644 --- a/common/Android.mk +++ b/common/Android.mk @@ -16,7 +16,7 @@ LOCAL_PATH := $(call my-dir) -ifneq ($(filter arm arm64 x86,$(TARGET_DEVICE)),) +ifneq ($(filter arm arm64 x86,$(TARGET_ARCH)),) include $(CLEAR_VARS) LOCAL_MODULE := GoogleCalendarSyncAdapter diff --git a/setup-makefiles.sh b/setup-makefiles.sh index c040b6c..44e6a89 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -45,6 +45,8 @@ write_headers "arm arm64 x86" # Common gapps write_makefiles "$MY_DIR"/proprietary-files-common.txt +sed -i 's/TARGET_DEVICE/TARGET_ARCH/g' "$ANDROIDMK" + # We are done with common write_footers