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

Commit 344f2524 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix pre-extracted PDKs"

parents 8b86ca88 9b7c1e43
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -532,8 +532,8 @@ endif # pdk or fusion
ifdef PDK_FUSION_PLATFORM_ZIP
TARGET_BUILD_PDK := true
ifeq (,$(wildcard $(PDK_FUSION_PLATFORM_ZIP)))
  ifneq (,$(wildcard $(dir $(PDK_FUSION_PLATFORM_ZIP))/pdk.mk))
    PDK_FUSION_PLATFORM_DIR := $(dir $(PDK_FUSION_PLATFORM_ZIP))
  ifneq (,$(wildcard $(patsubst %.zip,%,$(PDK_FUSION_PLATFORM_ZIP))/pdk.mk))
    PDK_FUSION_PLATFORM_DIR := $(patsubst %.zip,%,$(PDK_FUSION_PLATFORM_ZIP))
    PDK_FUSION_PLATFORM_ZIP :=
  else
    $(error Cannot find file $(PDK_FUSION_PLATFORM_ZIP).)
+2 −0
Original line number Diff line number Diff line
@@ -37,12 +37,14 @@ include $(BUILD_PREBUILT)

# The source prebuilts are extracted in the rule of _pdk_fusion_stamp.
# Use a touch rule to establish the dependency.
ifndef PDK_FUSION_PLATFORM_DIR
$(3) $(11) : $(_pdk_fusion_stamp)
	$(hide) if [ ! -f $$@ ]; then \
	  echo 'Error: $$@ does not exist. Check your platform.zip.' 1>&2; \
	  exit 1; \
	fi
	$(hide) touch $$@
endif
endef

# We don't have a LOCAL_PATH for the auto-generated modules, so let it be the $(BUILD_SYSTEM).