The BIOS builds just fine on Windows, but afterwards tries to run
`chmod`. This command does not exist on Windows, and is unnecessary.
Add a conditional guard to prevent this command from running on Windows.
Signed-off-by: Sean Cross <sean@xobs.io>
%.bin: %.elf
$(OBJCOPY) -O binary $< $@
+ifneq ($(OS),Windows_NT)
chmod -x $@
+endif
ifeq ($(CPUENDIANNESS),little)
$(PYTHON) -m litex.soc.tools.mkmscimg $@ --little
else
-L../libbase \
-L../libcompiler_rt \
-lnet -lbase-nofloat -lcompiler_rt
+ifneq ($(OS),Windows_NT)
chmod -x $@
+endif
# pull in dependency info for *existing* .o files
-include $(OBJECTS:.o=.d)