Skip to content

Commit 182e369

Browse files
committed
A couple more cross-compiler targets
1 parent 2b3af40 commit 182e369

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ build-cross-gcc: $(GCC_SRC)
2828
$(GCC_SRC)/configure --target=$(TARGET) --prefix="$(CROSSDIR)" --disable-nls --enable-languages=c --without-headers && \
2929
make all-gcc && make all-target-libgcc && make install-gcc && make install-target-libgcc
3030

31+
cross: build-cross-binutils build-cross-gcc
32+
3133
build/boot.o: src/boot.asm
3234
nasm -felf $< -o $@
3335

@@ -52,4 +54,4 @@ bochs: dist/jdsos.iso
5254
bochs -f .bochsrc
5355

5456
clean:
55-
rm -f build/* dist/* image/boot/*.bin
57+
rm -rf $(BINUTILS_BUILD) $(GCC_BUILD) build/* dist/* image/boot/*.bin

0 commit comments

Comments
 (0)