mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-08-03 12:26:14 -04:00
Working
This commit is contained in:
commit
c898b090dd
1049 changed files with 288572 additions and 0 deletions
17
bertos/cpu/newcore
Executable file
17
bertos/cpu/newcore
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
DIRS="drv hw io scripts"
|
||||
if [ $# != 1 ]; then
|
||||
echo "Create a new core tree with subdirs:"
|
||||
echo $DIRS
|
||||
echo "usage $0 <core>"
|
||||
exit 1
|
||||
fi
|
||||
CORE=$1
|
||||
mkdir $CORE
|
||||
cd $CORE
|
||||
for dir in $DIRS
|
||||
do
|
||||
mkdir $dir
|
||||
done
|
||||
cd ..
|
Loading…
Add table
Add a link
Reference in a new issue