Add another scripts search path for Windows builds
commit07158a7f8a5897f28e988969029e692ac106b2bc
authorFreddie Chopin <freddie.chopin@gmail.com>
Fri, 17 Aug 2012 09:54:24 +0000 (17 11:54 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 29 Aug 2012 06:26:21 +0000 (29 06:26 +0000)
treea9a8786debc72552d110a8e8aeb8770c2efdbd95
parent73d87c6210bcd049b738583973fefdea0e32c6fa
Add another scripts search path for Windows builds

Add single "scripts" folder to search path for Windows OpenOCD builds
that don't use cygwin
bin/openocd.exe
scripts/interface/dummy.cfg
scripts/target/at91eb40a.cfg

Do some refactoring of current code (thx to Andreas).

Change-Id: Idbb08d1368b06f25da44f4f9ab1511db992b1724
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/785
Tested-by: jenkins
src/helper/options.c