Build IA-32 version

This commit is contained in:
Lauri Kenttä
2016-06-02 22:53:23 +03:00
parent efdd91a6d8
commit 733acccc42

View File

@@ -10,8 +10,10 @@ GNUEFI_LIB = /usr/$(CC_PREFIX)/lib
FILES_C = src/main.c src/util.c src/types.c src/config.c FILES_C = src/main.c src/util.c src/types.c src/config.c
FILES_H = $(wildcard src/*.h) FILES_H = $(wildcard src/*.h)
.PHONY: all .PHONY: all default
all: bootx64.efi
default: bootx64.efi
all: bootx64.efi bootia32.efi
bootx64.efi: CC_PREFIX = x86_64-w64-mingw32 bootx64.efi: CC_PREFIX = x86_64-w64-mingw32
bootx64.efi: GNUEFI_ARCH = x86_64 bootx64.efi: GNUEFI_ARCH = x86_64
@@ -23,5 +25,5 @@ bootia32.efi: GNUEFI_ARCH = ia32
bootia32.efi: $(FILES_C) bootia32.efi: $(FILES_C)
$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) -s $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) -s
HackBGRT.tar.xz: bootx64.efi config.txt splash.bmp install.bat uninstall.bat README.md README.efilib LICENSE HackBGRT.tar.xz: bootx64.efi bootia32.efi config.txt splash.bmp install.bat uninstall.bat README.md README.efilib LICENSE
tar cJf $@ --transform=s,^,HackBGRT/, $^ tar cJf $@ --transform=s,^,HackBGRT/, $^