1 # Make rules for all C-SKY targets.
3 # Copyright (C) 2018-2022 Free Software Foundation, Inc.
4 # Contributed by C-SKY Microsystems and Mentor Graphics.
6 # This file is part of GCC.
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)
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.
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/>.
22 TM_H += $(srcdir)/config/csky/csky_cores.def
23 OPTIONS_H_EXTRA += $(srcdir)/config/csky/csky_cores.def
26 $(srcdir)/config/csky/csky_tables.opt: $(srcdir)/config/csky/csky_genopt.sh \
27 $(srcdir)/config/csky/csky_cores.def
28 $(SHELL) $(srcdir)/config/csky/csky_genopt.sh $(srcdir)/config/csky > \
29 $(srcdir)/config/csky/csky_tables.opt