This repository was archived by the owner on Mar 28, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakearedn.sh
More file actions
executable file
·54 lines (50 loc) · 1.79 KB
/
makearedn.sh
File metadata and controls
executable file
·54 lines (50 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh
rm bin/phonebook_*
# Build AC3
cp arm_cortex-a7_neon-vfpv4.config .config
make tools/compile
make toolchain/compile
make package/phonebook/compile V=99
#make package/sipserver/compile V=99
# Package AC3
rm -rf /tmp/arm_cortex-a7_neon-vfpv4
mkdir /tmp/arm_cortex-a7_neon-vfpv4
cp bin/packages/arm_cortex-a7_neon-vfpv4/aredn/phonebook_* bin/
# cp bin/packages/arm_cortex-a7_neon-vfpv4/aredn/phonebook_* /tmp/arm_cortex-a7_neon-vfpv4
# cp bin/packages/arm_cortex-a7_neon-vfpv4/aredn/sipserver_* /tmp/arm_cortex-a7_neon-vfpv4
# cp bin/targets/ipq40xx/mikrotik/packages/libstdcpp6_* /tmp/arm_cortex-a7_neon-vfpv4
# rm bin/arm_cortex-a7_neon-vfpv4.zip
# zip -jr bin/arm_cortex-a7_neon-vfpv4.zip /tmp/arm_cortex-a7_neon-vfpv4/*
# rm -rf /tmp/arm_cortex-a7_neon-vfpv4
# Build x86
cp x86_64.config .config
make tools/compile
make toolchain/compile
make package/phonebook/compile V=99
#make package/sipserver/compile V=99
# Package x86
rm -rf /tmp/x86_64
mkdir /tmp/x86_64
cp bin/packages/x86_64/aredn/phonebook_* bin/
# cp bin/packages/x86_64/aredn/phonebook_* /tmp/x86_64
# cp bin/packages/x86_64/aredn/sipserver_* /tmp/x86_64
# cp bin/targets/x86/64/packages/libstdcpp6_* /tmp/x86_64
# rm bin/x86_64.zip
# zip -jr bin/x86_64.zip /tmp/x86_64/*
# rm -rf /tmp/x86_64
# Build AC Lite
cp mips_24kc.config .config
make tools/compile
make toolchain/compile
make package/phonebook-min/compile V=99
#make package/sipserver/compile V=99
# Build AC Lite
rm -rf /tmp/mips_24kc
mkdir /tmp/mips_24kc
cp bin/packages/mips_24kc/aredn/phonebook-min_* bin/
# cp bin/packages/mips_24kc/aredn/phonebook_* /tmp/mips_24kc
# cp bin/packages/mips_24kc/aredn/sipserver_* /tmp/mips_24kc
# cp bin/targets/ath79/mikrotik/packages/libstdcpp6_* /tmp/mips_24kc
# rm bin/mips_24kc.zip
# zip -jr bin/mips_24kc.zip /tmp/mips_24kc/*
# rm -rf /tmp/mips_24kc