[PATCH 1/4] Support for building in a Xen binary

Julien Grall julien.grall at arm.com
Tue Jul 12 03:40:28 PDT 2016


Hi Andre,

On 20/06/16 16:09, Andre Przywara wrote:
> diff --git a/Makefile.am b/Makefile.am
> index 692d2cc..1a801c0 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -85,7 +85,6 @@ TEXT_LIMIT	:= 0x80080000
>   endif
>
>   LD_SCRIPT	:= model.lds.S
> -IMAGE		:= linux-system.axf
>
>   FS_OFFSET	:= 0x10000000
>   FILESYSTEM_START:= $(shell echo $$(($(PHYS_OFFSET) + $(FS_OFFSET))))
> @@ -108,6 +107,11 @@ CHOSEN_NODE	:= chosen {						\
>   		   };
>   endif
>
> +if XEN
> +XEN		:= -DXEN=$(XEN_IMAGE)
> +XEN_OFFSET	:= 0x08200000
> +endif
> +
>   CPPFLAGS	+= $(INITRD_FLAGS)
>   CFLAGS		+= -Iinclude/ -I$(ARCH_SRC)/include/
>   CFLAGS		+= -Wall -fomit-frame-pointer
> @@ -117,11 +121,11 @@ LDFLAGS		+= --gc-sections
>   OFILES		+= boot_common.o bakery_lock.o platform.o $(GIC) cache.o lib.o
>   OFILES		+= $(addprefix $(ARCH_SRC),boot.o stack.o $(BOOTMETHOD) utils.o)
>
> -all: $(IMAGE)
> +all: $(IMAGE) $(XIMAGE)

I cannot find where XIMAGE is set. What XIMAGE is used for?

Regards,

-- 
Julien Grall



More information about the linux-arm-kernel mailing list