/*
ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#ifndef _USBCFG_H_
#define _USBCFG_H_
extern const USBConfig usbcfg;
extern const SerialUSBConfig serusbcfg;
/* Virtual serial port over USB.*/
extern SerialUSBDriver SDU1;
#endif /* _USBCFG_H_ */
/** @} */
value='4235cd0d951b588892f4520e88c7bd219668cee1'/>
#!/usr/bin/env bash# # Copyright (C) 2006 OpenWrt.org## This is free software, licensed under the GNU General Public License v2.# See /LICENSE for more information.#SELF=${0##*/}[ -z "$STRIP"]&&{echo"$SELF: strip command not defined (STRIP variable not set)"exit1}TARGETS=$*[ -z "$TARGETS"]&&{echo"$SELF: no directories / files specified"echo"usage: $SELF [PATH...]"exit1}
find $TARGETS -type f -a -exec file {}\;|\
sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*,.* stripped/\1:\2/p'|\(IFS=":"whileread F S;doecho"$SELF: $F: $S"["${S}"="relocatable"]&&{eval"$STRIP_KMOD$F"}||{b=$(stat -c '%a'$F)[ -z "$PATCHELF"]||[ -z "$TOPDIR"]||{old_rpath="$($PATCHELF --print-rpath $F)";new_rpath=""for path in $old_rpath;docase"$path" in
/lib/[^/]*|/usr/lib/[^/]*|\$ORIGIN/*)new_rpath="${new_rpath:+$new_rpath:}$path";;
*)echo"$SELF: $F: removing rpath $path";;esacdone["$new_rpath"="$old_rpath"]||$PATCHELF --set-rpath "$new_rpath"$F}eval"$STRIP$F"a=$(stat -c '%a'$F)["$a"="$b"]|| chmod $b$F}donetrue)