make: move spi_flash.c to source/platform

tags/0.1.0
S.J.R. van Schaik 7 years ago
parent b1d94ce1d0
commit b168422d8a
  1. 1
      scripts/Makefile.stm32f0
  2. 1
      scripts/Makefile.stm32f1
  3. 5
      source/platform/Makefile
  4. 0
      source/platform/spi_flash.c

@ -22,7 +22,6 @@ LIBS += -l$(OPENCM3_LIBNAME)
STLINK_PORT ?= :4242
obj-y += source/core/spi.o
obj-y += source/drivers/spi_flash.o
$(OPENCM3_DIR)/lib/lib$(OPENCM3_LIBNAME).a:
@if [ ! -e libopencm3/.git ]; then \

@ -22,7 +22,6 @@ LIBS += -l$(OPENCM3_LIBNAME)
STLINK_PORT ?= :4242
obj-y += source/core/spi.o
obj-y += source/drivers/spi_flash.o
$(OPENCM3_DIR)/lib/lib$(OPENCM3_LIBNAME).a:
@if [ ! -e libopencm3/.git ]; then \

@ -1 +1,6 @@
ifeq ($(TARGET),host)
else
obj-y += source/platform/spi_flash.o
endif
-include source/platform/$(TARGET)/Makefile

Loading…
Cancel
Save