Merge pull request #75 from xobs/bios-windows-build

soc: bios: fix windows build
This commit is contained in:
enjoy-digital 2018-06-18 11:21:06 +02:00 committed by GitHub
commit 78639fa952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -12,7 +12,9 @@ all: bios.bin
%.bin: %.elf
$(OBJCOPY) -O binary $< $@
ifneq ($(OS),Windows_NT)
chmod -x $@
endif
ifeq ($(CPUENDIANNESS),little)
$(PYTHON) -m litex.soc.tools.mkmscimg $@ --little
else
@ -29,7 +31,9 @@ bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS)
-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)