mbedtls: Use patch command as fallback and trap errors
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 22 Mar 2017 08:27:25 +0000 (09:27 +0100)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 18 Apr 2017 12:34:42 +0000 (14:34 +0200)
commit2683ede236e5cb89adb1bd742d02dfc54aacd337
treec2cda592a72197c07de43d872e8b708b0b792276
parente2f57ff3cf936995fac437d8ca3dba502eadf4c3
mbedtls: Use patch command as fallback and trap errors

This will be helpful for Tizen and others OS.

If lib is bundled as "imported git patch"
then application of "duplicated ocf.patch as git patch",
is not needed anymore, and relies on scons.

To tizen maintainers:
From now on let's maintain only one version in tree,
ealier versions of git patches can be reverted,
For reference check:
https://wiki.iotivity.org/tizen#maintenance_tips

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: I0598ddd5c846a2286218879d57381ec2f20c17a4
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
extlibs/mbedtls/SConscript