Skip to content

Commit cc16afc

Browse files
committed
remove i386 build
1 parent d1870dd commit cc16afc

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

Makefile

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ CFLAGS_arm64 += $(call CFLAGS_COND,arm64)
175175
#
176176
# Final targets
177177

178-
all : ntloader ntloader.i386 ntloader.x86_64 ntloader.arm64
178+
all : ntloader ntloader.x86_64 ntloader.arm64
179179

180180
ntloader : ntloader.x86_64 Makefile
181181
$(CP) $< $@
@@ -184,10 +184,6 @@ ntloader.%.elf : lib.%.a script.lds Makefile
184184
$(LD_$*) $(LDFLAGS) $(LDFLAGS_$*) -T script.lds -o $@ -q \
185185
-Map ntloader.$*.map prefix.$*.o lib.$*.a
186186

187-
ntloader.i386.efi : \
188-
ntloader.%.efi : ntloader.%.elf elf2efi32 Makefile
189-
./elf2efi32 --hybrid $< $@
190-
191187
ntloader.x86_64.efi ntloader.arm64.efi : \
192188
ntloader.%.efi : ntloader.%.elf elf2efi64 Makefile
193189
./elf2efi64 --hybrid $< $@
@@ -208,13 +204,6 @@ include utils/build.mk
208204
%.i386.s : %.c $(HEADERS) Makefile
209205
$(CC_i386) $(CFLAGS) $(CFLAGS_i386) -S $< -o $@
210206

211-
%.i386.o : %.i386.s i386.i Makefile
212-
$(AS_i386) $(ASFLAGS) $(ASFLAGS_i386) i386.i $< -o $@
213-
214-
lib.i386.a : $(OBJECTS_i386) Makefile
215-
$(RM) -f $@
216-
$(AR_i386) -r -s $@ $(OBJECTS_i386)
217-
218207
###############################################################################
219208
#
220209
# i386 objects to be linked into an x86_64 binary
@@ -266,7 +255,6 @@ lib.arm64.a : $(OBJECTS_arm64) Makefile
266255
clean :
267256
$(RM) -f $(RM_FILES)
268257
$(RM) -f *.s *.o *.a *.elf *.map
269-
$(RM) -f ntloader.i386 ntloader.i386.*
270258
$(RM) -f ntloader.x86_64 ntloader.x86_64.*
271259
$(RM) -f ntloader.arm64 ntloader.arm64.*
272260
$(RM) -f ntloader

utils/build.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ HOST_CFLAGS += -Wall -W -Werror -fshort-wchar -DNTLOADER_UTIL
99

1010
# EFI relocator
1111
#
12-
elf2efi32 : utils/elf2efi.c
13-
$(HOST_CC) $(HOST_CFLAGS) -idirafter include/ -DEFI_TARGET32 $< -o $@
14-
1512
elf2efi64 : utils/elf2efi.c
1613
$(HOST_CC) $(HOST_CFLAGS) -idirafter include/ -DEFI_TARGET64 $< -o $@
1714

utils/rootfs/bootia32.efi

-954 KB
Binary file not shown.

0 commit comments

Comments
 (0)