# Copyright 2015 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# We've deleted all the make.conf.$ARCH-target files. Regen the existing | |
# make.conf symlinks to point to the generic one now. | |
target='/usr/local/portage/chromiumos/chromeos/config/make.conf.generic-target' | |
for sysroot in /build/*; do | |
conf="${sysroot}/etc/make.conf" | |
if [[ -L "${conf}" ]]; then | |
sudo ln -sf "${target}" "${conf}" & | |
fi | |
done | |
wait |