Remove dependence on perl, depend on python instead

This commit is contained in:
Imbus 2025-01-14 20:29:50 +01:00
parent 1825a89ab5
commit 20551ae040
3 changed files with 49 additions and 42 deletions

View file

@ -96,8 +96,8 @@ _%: %.o $(ULIB)
$(OBJDUMP) -S $@ > $*.asm
$(OBJDUMP) -t $@ | sed '1,/SYMBOL TABLE/d; s/ .* / /; /^$$/d' > $*.sym
$U/usys.S : $U/usys.pl
perl $U/usys.pl > $U/usys.S
$U/usys.S : $U/usys.py
python3 $U/usys.py > $U/usys.S
$U/usys.o : $U/usys.S
$(CC) $(CFLAGS) -c -o $U/usys.o $U/usys.S