Skip to content

Commit

Permalink
build: core: Parameterize recovery with a variant
Browse files Browse the repository at this point in the history
Include extra vendor config early.  If RECOVERY_VARIANT is set, use it
to look for the recovery in an alternate path.

Change-Id: Iba54f0746d728c0dfeeb67b4d3166d5e25b1b5d7
  • Loading branch information
tdmcyngn committed May 8, 2014
1 parent 9f1cd7f commit c1b0bb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/pathmap.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ pathmap_INCL := \
wilhelm-ut:frameworks/wilhelm/src/ut \
speex:external/speex/include

ifneq ($(WITH_SIMPLE_RECOVERY),true)
pathmap_INCL += recovery:bootable/recovery
ifneq ($(RECOVERY_VARIANT),)
pathmap_INCL += recovery:bootable/recovery-$(RECOVERY_VARIANT)
else
pathmap_INCL += recovery:bootable/simplerecovery
pathmap_INCL += recovery:bootable/recovery
endif

#
Expand Down

0 comments on commit c1b0bb6

Please sign in to comment.