Skip to content

Commit dd504ba

Browse files
fix(build): pin Jinx version
Signed-off-by: Anhad Singh <[email protected]>
1 parent 97db318 commit dd504ba

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
jinx:
2-
if [ ! -d "target/jinx" ]; then \
3-
git clone https://github.com/mintsuki/jinx target/jinx; \
2+
if [ ! -f "target/jinx" ]; then \
3+
curl -Lo target/jinx https://github.com/mintsuki/jinx/raw/30e7d5487bff67a66dfba332113157a08a324820/jinx; \
4+
chmod +x target/jinx; \
45
fi
56

67
# FIXME: autosync
@@ -9,7 +10,7 @@ jinx:
910

1011
.PHONY: distro
1112
distro: jinx
12-
./target/jinx/jinx build-all
13+
./target/jinx build-all
1314

1415
SOURCE_DIR := src
1516
USERLAND_DIR := userland
@@ -25,7 +26,7 @@ $(KERNEL_TARGET): $(shell find $(SOURCE_DIR) -type f -not -path '$(SOURCE_DIR)/t
2526
./build-support/mkiso.sh
2627

2728
$(USERLAND_TARGET): $(shell find $(USERLAND_DIR) -type f -not -path '$(USERLAND_DIR)/target/*')
28-
./target/jinx/jinx rebuild userland
29+
./target/jinx rebuild userland
2930
@$(MAKE) distro-image
3031

3132
.PHONY: iso

build-support/mkimage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
IMAGE_PATH=target/disk.img
22

3-
./target/jinx/jinx sysroot
3+
./target/jinx sysroot
44

55
rm -rf $IMAGE_PATH
66

build-support/mkiso.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set -ex
22

3-
./target/jinx/jinx host-build limine
3+
./target/jinx host-build limine
44

55
rm -rf target/iso_root
66
mkdir -pv target/iso_root/boot

0 commit comments

Comments
 (0)