Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9ff0ce1 authored by Simon Shields's avatar Simon Shields Committed by Sam Mortimer
Browse files

soong: include lineage board flags

Change-Id: I1aabe4915036790dd35ceb985cf0a2701ca0faf9
parent ea11fcad
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -15,11 +15,10 @@ endif

# Create soong.variables with copies of makefile settings.  Runs every build,
# but only updates soong.variables if it changes
SOONG_VARIABLES_TMP := $(SOONG_VARIABLES).$$$$
$(SOONG_VARIABLES): FORCE
	$(hide) mkdir -p $(dir $@)
SOONG_VARIABLES_TMP := $(shell mktemp -u)
include vendor/lineage/build/soong/soong_config.mk
$(SOONG_VARIABLES): FORCE lineage_soong
	$(hide) (\
	echo '{'; \
	echo '    "Make_suffix": "-$(TARGET_PRODUCT)",'; \
	echo ''; \
	echo '    "Platform_sdk_version": $(PLATFORM_SDK_VERSION),'; \
@@ -72,7 +71,7 @@ $(SOONG_VARIABLES): FORCE
	echo '    "ArtUseReadBarrier": $(if $(filter false,$(PRODUCT_ART_USE_READ_BARRIER)),false,true),'; \
	echo ''; \
	echo '    "BtConfigIncludeDir": "$(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)"'; \
	echo '}') > $(SOONG_VARIABLES_TMP); \
	echo '}') >> $(SOONG_VARIABLES_TMP); \
	if ! cmp -s $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); then \
	  mv $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); \
	else \