From 1e529c2c7292ee0d33694b6b255cadca26dd0445 Mon Sep 17 00:00:00 2001 From: NonPIayerCharacter <18557343+NonPIayerCharacter@users.noreply.github.com> Date: Sun, 31 Aug 2025 16:53:37 +0300 Subject: [PATCH] makefile adj --- project/BinScript.exe | Bin project/Makefile | 12 +----------- project/makecode.exe | Bin 3 files changed, 1 insertion(+), 11 deletions(-) mode change 100644 => 100755 project/BinScript.exe mode change 100644 => 100755 project/makecode.exe diff --git a/project/BinScript.exe b/project/BinScript.exe old mode 100644 new mode 100755 diff --git a/project/Makefile b/project/Makefile index cbfdc14..b2d1cba 100644 --- a/project/Makefile +++ b/project/Makefile @@ -1,4 +1,4 @@ -CROSS_COMPILE=../tools/gcc/bin/csky-abiv2-elf- +CROSS_COMPILE ?=../tools/gcc/bin/csky-elfabiv2- CC := $(CROSS_COMPILE)gcc OP := $(CROSS_COMPILE)objcopy AR := $(CROSS_COMPILE)ar @@ -11,9 +11,6 @@ ST := $(CROSS_COMPILE)strip all: application -OBJ_DIR=./obj -BIN_DIR=./bin -OUT_DIR = ./output APP_BIN_NAME ?= OpenTXW81X APP_VERSION ?= 1.0.0 @@ -1475,16 +1472,9 @@ application: test_target .PHONY: prerequirement prerequirement: - echo prerequirement0 @echo =========================================================== @echo Build $(APP_BIN_NAME) @echo =========================================================== - echo prerequirement1 - mkdir -p $(OBJ_DIR) - mkdir -p $(BIN_DIR) - echo prerequirement2 - - @mkdir -p $(OUT_DIR) $(SRC_O): %.o : %.c @ echo "build_c $@" diff --git a/project/makecode.exe b/project/makecode.exe old mode 100644 new mode 100755