1# Makefile fragment for C-SKY sysroot suffix. 2# 3# Copyright (C) 2018-2020 Free Software Foundation, Inc. 4# Contributed by C-SKY Microsystems and Mentor Graphics. 5# 6# This file is part of GCC. 7# 8# GCC is free software; you can redistribute it and/or modify 9# it under the terms of the GNU General Public License as published by 10# the Free Software Foundation; either version 3, or (at your option) 11# any later version. 12# 13# GCC is distributed in the hope that it will be useful, 14# but WITHOUT ANY WARRANTY; without even the implied warranty of 15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16# GNU General Public License for more details. 17# 18# You should have received a copy of the GNU General Public License 19# along with GCC; see the file COPYING3. If not see 20# <http://www.gnu.org/licenses/>. 21 22# Generate SYSROOT_SUFFIX_SPEC from MULTILIB_OSDIRNAMES. 23 24sysroot-suffix.h: $(srcdir)/config/csky/print-sysroot-suffix.sh 25 $(SHELL) $(srcdir)/config/csky/print-sysroot-suffix.sh \ 26 "$(CSKY_MULTILIB_OSDIRNAMES)" "$(MULTILIB_OPTIONS)" \ 27 "$(MULTILIB_MATCHES)" > tmp-sysroot-suffix.h 28 mv tmp-sysroot-suffix.h $@ 29