Updates to the documentation due to single binary updates
[keystone-rtos/ibl.git] / release.sh
1 #!/bin/sh
2 # Generate the source release tarballs
3 export IBL_VERSION="1_0_0_11"
4 cd ../
5 if [ -f ibl_src_$IBL_VERSION.tgz ]; then rm ibl_src_$IBL_VERSION.tgz; fi
7 tar -czf ibl_src_$IBL_VERSION.tgz ibl/src ibl/doc
9 cd ibl
10 # Create directories for binary builds
11 if [ -d ibl_bin_$IBL_VERSION ]; then rm -r ibl_bin_$IBL_VERSION; fi
13 mkdir ibl_bin_$IBL_VERSION
14 mkdir ibl_bin_$IBL_VERSION/c6455/
15 mkdir ibl_bin_$IBL_VERSION/c6455/be
16 mkdir ibl_bin_$IBL_VERSION/c6455/le
18 mkdir ibl_bin_$IBL_VERSION/c6472/
19 mkdir ibl_bin_$IBL_VERSION/c6472/be
20 mkdir ibl_bin_$IBL_VERSION/c6472/le
22 mkdir ibl_bin_$IBL_VERSION/c6474/
23 mkdir ibl_bin_$IBL_VERSION/c6474/be
24 mkdir ibl_bin_$IBL_VERSION/c6474/le
26 mkdir ibl_bin_$IBL_VERSION/c6474l/
27 mkdir ibl_bin_$IBL_VERSION/c6474l/be
28 mkdir ibl_bin_$IBL_VERSION/c6474l/le
30 mkdir ibl_bin_$IBL_VERSION/c6457/
31 mkdir ibl_bin_$IBL_VERSION/c6457/be
32 mkdir ibl_bin_$IBL_VERSION/c6457/le
34 mkdir ibl_bin_$IBL_VERSION/c6678/
35 mkdir ibl_bin_$IBL_VERSION/c6678/le
36 mkdir ibl_bin_$IBL_VERSION/c6678/be
38 mkdir ibl_bin_$IBL_VERSION/c6670/
39 mkdir ibl_bin_$IBL_VERSION/c6670/le
40 mkdir ibl_bin_$IBL_VERSION/c6670/be
42 # Copy i2cConfig GEL file
43 cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin_$IBL_VERSION/i2cConfig.gel
45 # Set Build environment
46 source src/make/setupenvLnx.sh
48 # Build C6455 EVM LE
49 pushd src/make
50 make clean
51 make evm_c6455 ENDIAN=little
52 popd
53 # Copy the files to the Binary package
54 cp -f src/make/bin/i2crom_0x50_c6455_le.bin ibl_bin_$IBL_VERSION/c6455/le/
56 # Build C6455 EVM BE
57 pushd src/make
58 make clean
59 make evm_c6455 ENDIAN=big
60 popd
61 # Copy the files to the Binary package
62 cp -f src/make/bin/i2crom_0x50_c6455_be.bin ibl_bin_$IBL_VERSION/c6455/be/
65 # Build C6472 EVM LE
66 pushd src/make
67 make clean
68 make evm_c6472 ENDIAN=little
69 popd
70 # Copy the files to the Binary package
71 cp -f src/make/bin/i2crom_0x50_c6472_le.bin ibl_bin_$IBL_VERSION/c6472/le/
74 # Build C6472 EVM BE
75 pushd src/make
76 make clean
77 make evm_c6472 ENDIAN=big
78 popd
79 # Copy the files to the Binary package
80 cp -f src/make/bin/i2crom_0x50_c6472_be.bin ibl_bin_$IBL_VERSION/c6472/be/
83 # Build c6474 EVM little endian
84 pushd src/make
85 make clean
86 make evm_c6474 ENDIAN=little
87 popd
88 # Copy the files to the Binary package
89 cp -f src/make/bin/i2crom_0x50_c6474_le.bin ibl_bin_$IBL_VERSION/c6474/le/
93 # Build c6474 EVM Big endian
94 pushd src/make
95 make clean
96 make evm_c6474 ENDIAN=big
97 popd
98 # Copy the files to the Binary package
99 cp -f src/make/bin/i2crom_0x50_c6474_be.bin ibl_bin_$IBL_VERSION/c6474/be/
101 # Build c6474l EVM little Endian
102 pushd src/make
103 make clean
104 make evm_c6474l ENDIAN=little
105 popd
106 # Copy the files to the Binary package
107 cp -f src/make/bin/i2crom_0x50_c6474l_le.bin ibl_bin_$IBL_VERSION/c6474l/le/
110 # Build c6474l EVM Big Endian
111 pushd src/make
112 make clean
113 make evm_c6474l ENDIAN=big
114 popd
115 # Copy the files to the Binary package
116 cp -f src/make/bin/i2crom_0x50_c6474l_be.bin ibl_bin_$IBL_VERSION/c6474l/be/
119 # Build c6457 EVM little
120 pushd src/make
121 make clean
122 make evm_c6457 ENDIAN=little
123 popd
124 cp -f src/make/bin/i2crom_0x50_c6457_le.bin ibl_bin_$IBL_VERSION/c6457/le/
127 # Build c6457 EVM big
128 pushd src/make
129 make clean
130 make evm_c6457 ENDIAN=big
131 popd
132 cp -f src/make/bin/i2crom_0x50_c6457_be.bin ibl_bin_$IBL_VERSION/c6457/be/
135 # Build c6678 EVM LE
136 pushd src/make
137 make clean
138 make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
139 popd
140 cp -f src/make/bin/i2crom_0x51_c6678_le.bin ibl_bin_$IBL_VERSION/c6678/le/
143 # Build c6678 EVM BE
144 pushd src/make
145 make clean
146 make evm_c6678_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
147 popd
148 cp -f src/make/bin/i2crom_0x51_c6678_be.bin ibl_bin_$IBL_VERSION/c6678/be/
150 # Build c6670 EVM LE
151 pushd src/make
152 make clean
153 make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
154 popd
155 cp -f src/make/bin/i2crom_0x51_c6670_le.bin ibl_bin_$IBL_VERSION/c6670/le/
158 # Build c6670 EVM BE
159 pushd src/make
160 make clean
161 make evm_c6670_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
162 popd
163 cp -f src/make/bin/i2crom_0x51_c6670_be.bin ibl_bin_$IBL_VERSION/c6670/be/
166 # Create Tar archive for binary package
167 tar -czf ibl_bin_$IBL_VERSION.tgz ibl_bin_$IBL_VERSION