Only set REDOX_SYSROOT for redoxer install redoxfs

This commit is contained in:
bjorn3
2026-04-21 23:38:25 +02:00
parent 4cc92b3ccf
commit 6d1b19e55b
2 changed files with 1 additions and 3 deletions
+1 -2
View File
@@ -10,7 +10,6 @@ SRC_DIR ?= $(CURDIR)
BUILD_DIR ?= $(shell pwd)/target/$(TARGET)/build
DESTDIR ?= ./sysroot
SYSROOT ?= $(shell pwd)/target/$(TARGET)/sysroot
export REDOXER_SYSROOT=$(SYSROOT)
TARGET_DIR = $(BUILD_DIR)/$(TARGET)/$(BUILD_TYPE)
BUILD_FLAGS += --target-dir $(BUILD_DIR)
@@ -61,7 +60,7 @@ test-gui: all
# base
# -----------------------------------------------------------------------------
$(SYSROOT)/bin/redoxfs:
redoxer pkg redoxfs
REDOXER_SYSROOT=$(SYSROOT) redoxer pkg redoxfs
base:
@mkdir -pv "$(BUILD_DIR)"
-1
View File
@@ -71,7 +71,6 @@ done
run_redoxer() {
export TARGET=$1
export REDOXER_SYSROOT="target/${CURRENT_TARGET}/sysroot"
redoxer toolchain || { echo -e "${RED}Fail: redoxer toolchain for: $target.${NC}" && exit 1; }
echo "----------------------------------------"