How is the attached patch?

-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
### Eclipse Workspace Patch 1.0
#P openocd
Index: src/helper/Makefile.am
===================================================================
--- src/helper/Makefile.am      (revision 2490)
+++ src/helper/Makefile.am      (working copy)
@@ -1,6 +1,7 @@
 AM_CPPFLAGS = \
        -I$(top_srcdir)/src/server \
        -I$(top_srcdir)/src/target \
+       -DPKGLIBDIR=\"$(pkglibdir)\" \
        -DPKGDATADIR=\"$(pkgdatadir)\"
 
 METASOURCES = AUTO
Index: src/helper/options.c
===================================================================
--- src/helper/options.c        (revision 2490)
+++ src/helper/options.c        (working copy)
@@ -105,6 +105,7 @@
        /// @todo Implement @c add_script_search_dir("${HOME}/.openocd").
        add_script_search_dir(PKGDATADIR "/site");
        add_script_search_dir(PKGDATADIR "/scripts");
+       add_script_search_dir(PKGLIBDIR);
 #endif
        return ERROR_OK;
 }
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to