Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

gcc-config.mk 1.2 KiB

1 år sedan
12345678910111213141516171819202122232425262728293031323334353637
  1. ##
  2. ## This file is part of the libopencm3 project.
  3. ##
  4. ## Copyright (C) 2014 Frantisek Burian <BuFran@seznam.cz>
  5. ##
  6. ## This library is free software: you can redistribute it and/or modify
  7. ## it under the terms of the GNU Lesser General Public License as published by
  8. ## the Free Software Foundation, either version 3 of the License, or
  9. ## (at your option) any later version.
  10. ##
  11. ## This library is distributed in the hope that it will be useful,
  12. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ## GNU Lesser General Public License for more details.
  15. ##
  16. ## You should have received a copy of the GNU Lesser General Public License
  17. ## along with this library. If not, see <http://www.gnu.org/licenses/>.
  18. ##
  19. ###############################################################################
  20. # The support makefile for GCC compiler toolchain, the rules part.
  21. #
  22. # please read mk/README for specification how to use this file in your project
  23. PREFIX ?= arm-none-eabi
  24. #PREFIX ?= arm-elf
  25. CC := $(PREFIX)-gcc
  26. CXX := $(PREFIX)-g++
  27. LD := $(PREFIX)-gcc
  28. AR := $(PREFIX)-ar
  29. AS := $(PREFIX)-as
  30. OBJCOPY := $(PREFIX)-objcopy
  31. OBJDUMP := $(PREFIX)-objdump
  32. GDB := $(PREFIX)-gdb
  33. SIZE := $(PREFIX)-size