cmake: fix custom bootloader issue
authorRenz Christian Bagaporo <renz@espressif.com>
Wed, 15 May 2019 03:40:57 +0000 (11:40 +0800)
committerRenz Christian Bagaporo <renz@espressif.com>
Mon, 27 May 2019 10:45:28 +0000 (18:45 +0800)
commit5760e37dccf150c5efb5ec47dcb012731322aa8d
tree11f6396144402ab03d288fadccc77d4b0b5d4363
parentf45612fb2f3fe7cc3248176edf93ee1526d767b3
cmake: fix custom bootloader issue

Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
components/bootloader/project_include.cmake