From 1dc4645732f1ac07d023038ad4828784af368803 Mon Sep 17 00:00:00 2001 From: Stephen Caudle Date: Fri, 28 Oct 2011 15:44:53 -0400 Subject: Update makefiles to reflect stm32 lib folder name changes --- lib/stm32/f1/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/stm32/f1/Makefile') diff --git a/lib/stm32/f1/Makefile b/lib/stm32/f1/Makefile index bd9fca2..5025dfa 100644 --- a/lib/stm32/f1/Makefile +++ b/lib/stm32/f1/Makefile @@ -23,7 +23,7 @@ PREFIX ?= arm-none-eabi #PREFIX ?= arm-elf CC = $(PREFIX)-gcc AR = $(PREFIX)-ar -CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \ +CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \ -mcpu=cortex-m3 -mthumb -Wstrict-prototypes \ -ffunction-sections -fdata-sections -MD -DSTM32F1 # ARFLAGS = rcsv @@ -33,7 +33,7 @@ OBJS = vector.o rcc.o gpio.o usart.o adc.o spi.o flash.o nvic.o \ usb_f103.o usb.o usb_control.o usb_standard.o can.o \ timer.o usb_f107.o -VPATH += ../usb:../stm32_common +VPATH += ../../usb:../ # Be silent per default, but 'make V=1' will show all compiler calls. ifneq ($(V),1) @@ -51,7 +51,7 @@ $(LIBNAME).a: $(OBJS) $(Q)$(CC) $(CFLAGS) -o $@ -c $< clean: - @printf " CLEAN lib/stm32f1\n" + @printf " CLEAN lib/stm32/f1\n" $(Q)rm -f *.o *.d $(Q)rm -f $(LIBNAME).a -- cgit v1.2.3