OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # This script generates the list of board overlays and variants. | 7 # This script generates the list of board overlays and variants. |
8 | 8 |
9 # Load common CrOS utilities. Inside the chroot this file is installed in | 9 # Load common CrOS utilities. Inside the chroot this file is installed in |
10 # /usr/lib/crosutils. Outside the chroot we find it relative to the scripts | 10 # /usr/lib/crosutils. Outside the chroot we find it relative to the scripts |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 # | 128 # |
129 # Check for chromeos-overlay. | 129 # Check for chromeos-overlay. |
130 # | 130 # |
131 CHROMEOS_OVERLAY="${SRC_ROOT}/private-overlays/chromeos-overlay" | 131 CHROMEOS_OVERLAY="${SRC_ROOT}/private-overlays/chromeos-overlay" |
132 | 132 |
133 if private && [ -d "${CHROMEOS_OVERLAY}" ]; then | 133 if private && [ -d "${CHROMEOS_OVERLAY}" ]; then |
134 echo "${CHROMEOS_OVERLAY}" | 134 echo "${CHROMEOS_OVERLAY}" |
135 fi | 135 fi |
136 | 136 |
137 # | 137 # |
138 # Check for partner-binary-overlay. | 138 # Check for chromeos-partner-overlay. |
139 # | 139 # |
140 PARTNER_BINARY_OVERLAY="${SRC_ROOT}/private-overlays/partner-binary-overlay" | 140 CHROMEOS_PARTNER_OVERLAY="${SRC_ROOT}/private-overlays/chromeos-partner-overlay" |
141 | 141 |
142 if private && [ -d "${PARTNER_BINARY_OVERLAY}" ]; then | 142 if private && [ -d "${CHROMEOS_PARTNER_OVERLAY}" ]; then |
143 echo "${PARTNER_BINARY_OVERLAY}" | 143 echo "${CHROMEOS_PARTNER_OVERLAY}" |
144 fi | 144 fi |
145 | 145 |
146 # | 146 # |
147 # Check if there are any public board overlays. | 147 # Check if there are any public board overlays. |
148 # | 148 # |
149 if public && [ -d "${BOARD_OVERLAY}" ]; then | 149 if public && [ -d "${BOARD_OVERLAY}" ]; then |
150 echo "${BOARD_OVERLAY}" | 150 echo "${BOARD_OVERLAY}" |
151 | 151 |
152 # | 152 # |
153 # Add the public variant overlay if it exists. | 153 # Add the public variant overlay if it exists. |
(...skipping 25 matching lines...) Expand all Loading... |
179 fi | 179 fi |
180 fi | 180 fi |
181 fi | 181 fi |
182 | 182 |
183 # | 183 # |
184 # Finally, add in any user requested board overlays. | 184 # Finally, add in any user requested board overlays. |
185 # | 185 # |
186 if [ -d "${FLAGS_board_overlay}" ] ; then | 186 if [ -d "${FLAGS_board_overlay}" ] ; then |
187 echo "${FLAGS_board_overlay}" | 187 echo "${FLAGS_board_overlay}" |
188 fi | 188 fi |
OLD | NEW |