make: move spi_flash.c to source/platform

This commit is contained in:
S.J.R. van Schaik 2017-08-01 16:26:25 +02:00
parent b1d94ce1d0
commit b168422d8a
4 changed files with 5 additions and 2 deletions

View file

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

View file

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

View file

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