mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-22 08:18:32 +03:00
Remove any Baselibc remains from Makefile
This commit is contained in:
@@ -74,12 +74,7 @@ AT91LIB_USB_CORE_PATH = atmel_softpack_libraries/usb/device/core
|
|||||||
# Tool suffix when cross-compiling
|
# Tool suffix when cross-compiling
|
||||||
CROSS_COMPILE = arm-none-eabi-
|
CROSS_COMPILE = arm-none-eabi-
|
||||||
|
|
||||||
LIBC_PATH=../Baselibc
|
|
||||||
|
|
||||||
LIBS = -Wl,--start-group -lgcc -lc -Wl,--end-group
|
LIBS = -Wl,--start-group -lgcc -lc -Wl,--end-group
|
||||||
#LIB_PATH+=-L=/lib/thumb2
|
|
||||||
#LIB_PATH+=-L=/../lib/gcc/arm-none-eabi/4.4.1/thumb2
|
|
||||||
LIB += -L=$(LIBC_PATH)/include -lc
|
|
||||||
|
|
||||||
# Compilation tools
|
# Compilation tools
|
||||||
CC = $(CROSS_COMPILE)gcc
|
CC = $(CROSS_COMPILE)gcc
|
||||||
@@ -95,9 +90,7 @@ INCLUDES_USB = -Iatmel_softpack_libraries/usb/include
|
|||||||
|
|
||||||
INCLUDES = -Iinclude_board -Iinclude_sam3s -Iinclude -Isimtrace
|
INCLUDES = -Iinclude_board -Iinclude_sam3s -Iinclude -Isimtrace
|
||||||
INCLUDES += -Icmsis
|
INCLUDES += -Icmsis
|
||||||
INCLUDES += -I$(LIBC_PATH)/include
|
|
||||||
INCLUDES += $(INCLUDES_USB)
|
INCLUDES += $(INCLUDES_USB)
|
||||||
#INCLUDES += -I$(LIBRARIES)
|
|
||||||
|
|
||||||
CFLAGS += -Wall -Wchar-subscripts -Wcomment -Wimplicit-int #-Wformat=2
|
CFLAGS += -Wall -Wchar-subscripts -Wcomment -Wimplicit-int #-Wformat=2
|
||||||
CFLAGS += -Werror-implicit-function-declaration -Wmain -Wparentheses
|
CFLAGS += -Werror-implicit-function-declaration -Wmain -Wparentheses
|
||||||
|
|||||||
Reference in New Issue
Block a user