File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2626STRIP = $(TOOLCHAIN_DIR)/usr/bin/arm-linux-strip
2727endif
2828
29- GCW0_SDL_CONFIG ?= $(TOOLCHAIN_DIR)/usr/arm-miyoo-linux-uclibcgnueabi/sysroot/usr/bin/sdl-config
30- GCW0_FREETYPE_CONFIG ?= $(TOOLCHAIN_DIR)/usr/arm-miyoo-linux-uclibcgnueabi/sysroot/usr/bin/freetype-config
29+ SYSROOT ?= $(shell $(CC) --print-sysroot)
3130
32- GCW0_INC_DIR ?= $(TOOLCHAIN_DIR)/usr/arm-miyoo-linux-uclibcgnueabi/sysroot/usr/include
33- GCW0_LIB_DIR ?= $(TOOLCHAIN_DIR)/usr/arm-miyoo-linux-uclibcgnueabi/sysroot/usr/lib
31+ GCW0_SDL_CONFIG ?= $(SYSROOT)/usr/bin/sdl-config
32+ GCW0_FREETYPE_CONFIG ?= $(SYSROOT)/usr/bin/freetype-config
33+
34+ GCW0_INC_DIR ?= $(SYSROOT)/usr/include
35+ GCW0_LIB_DIR ?= $(SYSROOT)/usr/lib
3436
3537#########################
3638#########################
You can’t perform that action at this time.
0 commit comments