File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
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; \
4
5
fi
5
6
6
7
# FIXME: autosync
9
10
10
11
.PHONY : distro
11
12
distro : jinx
12
- ./target/jinx/jinx build-all
13
+ ./target/jinx build-all
13
14
14
15
SOURCE_DIR := src
15
16
USERLAND_DIR := userland
@@ -25,7 +26,7 @@ $(KERNEL_TARGET): $(shell find $(SOURCE_DIR) -type f -not -path '$(SOURCE_DIR)/t
25
26
./build-support/mkiso.sh
26
27
27
28
$(USERLAND_TARGET ) : $(shell find $(USERLAND_DIR ) -type f -not -path '$(USERLAND_DIR ) /target/* ')
28
- ./target/jinx/jinx rebuild userland
29
+ ./target/jinx rebuild userland
29
30
@$(MAKE ) distro-image
30
31
31
32
.PHONY : iso
Original file line number Diff line number Diff line change 1
1
IMAGE_PATH=target/disk.img
2
2
3
- ./target/jinx/jinx sysroot
3
+ ./target/jinx sysroot
4
4
5
5
rm -rf $IMAGE_PATH
6
6
Original file line number Diff line number Diff line change 1
1
set -ex
2
2
3
- ./target/jinx/jinx host-build limine
3
+ ./target/jinx host-build limine
4
4
5
5
rm -rf target/iso_root
6
6
mkdir -pv target/iso_root/boot
You can’t perform that action at this time.
0 commit comments