]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/Makefile
x86: Convert to use driver model timer
[u-boot] / arch / x86 / cpu / Makefile
index 5e058c0c097849a001b23dfc42479cfc2486c35b..e7979254dbfad255366d35d68f397ee4538d8e81 100644 (file)
@@ -12,6 +12,12 @@ extra-y      = start.o
 obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
 obj-y  += interrupts.o cpu.o cpu_x86.o call64.o
 
+AFLAGS_REMOVE_call32.o := -mregparm=3 \
+       $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
+AFLAGS_call32.o := -fpic -fshort-wchar
+
+extra-y += call32.o
+
 obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
 obj-$(CONFIG_SYS_COREBOOT) += coreboot/
 obj-$(CONFIG_EFI_APP) += efi/