1 # Makefile fragment for building GCC for the TI PRU target. 2 # Copyright (C) 2012-2022 Free Software Foundation, Inc. 3 # Contributed by Dimitar Dimitrov <dimitar.dinux.eu> 4 # Based on the t-nios2 5 # 6 # This file is part of GCC. 7 # 8 # GCC is free software; you can redistribute it and/or modify it 9 # under the terms of the GNU General Public License as published 10 # by the Free Software Foundation; either version 3, or (at your 11 # option) any later version. 12 # 13 # GCC is distributed in the hope that it will be useful, but 14 # WITHOUT ANY WARRANTY; without even the implied warranty of 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 16 # the GNU General Public License for more details. 17 # 18 # You should have received a copy of the GNU General Public 19 # License along with GCC; see the file COPYING3. If not see 20 # <http://www.gnu.org/licenses/>. 21 22 # Unfortunately mabi=ti is not feature-complete enough to build newlib. 23 # Hence we cannot present mabi=gnu/ti as a multilib option. 24 25 pru-pragma.o: $(srcdir)/config/pru/pru-pragma.cc $(RTL_H) $(TREE_H) \ 26 $(CONFIG_H) $(TM_H) $(srcdir)/config/pru/pru-protos.h 27 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< 28 29 pru-passes.o: $(srcdir)/config/pru/pru-passes.cc $(RTL_H) $(TREE_H) \ 30 $(CONFIG_H) $(TM_H) $(srcdir)/config/pru/pru-protos.h 31 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< 32