• Ard Biesheuvel's avatar
    Factor out x86-isms and add cross compile support · f7a18215
    Ard Biesheuvel authored
    This patch cleans up and refactors the Makefiles to better allow new
    architectures to be added:
    - remove unused Makefile definitions
    - import Makefile definitions from top level rather than redefining
    - move x86 specific CFLAGS to inside ifeq() blocks
    - remove x86 inline asm
    - allow $(FORMAT) to be overridden: this is necessary as there exists no
      EFI or PE/COFF aware objcopy for ARM
    Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
netboot.c 8.24 KB