3 # This script is supposed to recreate all device libraries and their
4 # accompanying header files from the gputils' header/*.inc files
5 # using sdcc/support/scripts/inc2h.pl.
7 # The devices to be created are listed in ./devices.txt, the output
8 # files will be located in ./build/, which is created before use.
10 # (c) 2007 by Raphael Neider <rneider @ web.de>
11 # This file is published under the terms of the GPLv2.
13 GPUTILS=$HOME/svn/gputils
18 cp $SDCC/device/lib/pic/libdev/pic14ports.txt .
20 cat $SDCC/device/lib/pic/libdev/devices.txt | while read PROC; do
22 $SDCC/support/scripts/inc2h.pl $PROC $GPUTILS;
27 mv build/*.h $SDCC/device/include/pic/