Fix CROSS variable on multiple environments (#483)

The name of the compiler that CROSS is set to varies from system to
system. (gcc-mips-linux-gnu on Debian) This was not handled in
s2d_engine and calc_bss.sh
This commit is contained in:
Chasarr authored and GitHub committed 2022-09-30 17:54:07 -05:00
1 parent da4b4db7ae
commit 0dd3ef7f50
3 files changed
+29 -12

No files matched your search

-1
View File
@@ -10,7 +10,6 @@ DUMMY != mkdir -p $(BUILD_DIR)
C_FILES = $(wildcard ./*.c)
O_FILES = $(foreach file,$(C_FILES),$(BUILD_DIR)/$(file:.c=.o))
CROSS := mips-linux-gnu-
CC = $(CROSS)gcc
AR = $(CROSS)ar