Fix stupid fucking bug with simulator compilation
This commit is contained in:
		@ -16,7 +16,6 @@ application_path := $(call qs,$(abspath $(call sq,$(makefile_path)../..)))
 | 
			
		||||
# Since the path may show up as a target in the Makefile, we can't have a colon
 | 
			
		||||
# in it. So we replace z:/ with /z/ to avoid this.
 | 
			
		||||
subst_drivename = $(shell echo $(1) | sed -e 's!^\([a-zA-Z]\):/!/\1/!')
 | 
			
		||||
export subst_drivename
 | 
			
		||||
application_path := $(call subst_drivename,$(application_path))
 | 
			
		||||
 | 
			
		||||
.PHONY: clean assets all
 | 
			
		||||
@ -26,7 +25,7 @@ all clean assets:
 | 
			
		||||
$(error Spaces not allowed in path)
 | 
			
		||||
else
 | 
			
		||||
 | 
			
		||||
ADDITIONAL_SOURCES := $(application_path)/../Core/Src/vehicle_state.c
 | 
			
		||||
ADDITIONAL_SOURCES := vehicle_state.c
 | 
			
		||||
ADDITIONAL_INCLUDE_PATHS := $(application_path)/../Core/Inc
 | 
			
		||||
ADDITIONAL_LIBRARY_PATHS := 
 | 
			
		||||
ADDITIONAL_LIBRARIES :=
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user