[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [PATCH 38/40] mini-os: Set TARGET_ARCH_FAM for arm64
Huang Shijie, on ven. 03 nov. 2017 03:12:15 +0000, wrote: > Set TARGET_ARCH_FAM for arm64 code. > > Change-Id: Ib8bba7cc7c23b4517d0cee2051512520bed4a595 > Jira: ENTOS-247 > Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx> Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> > --- > Config.mk | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/Config.mk b/Config.mk > index 0baedd1..c59cb16 100644 > --- a/Config.mk > +++ b/Config.mk > @@ -55,10 +55,13 @@ XEN_INTERFACE_VERSION ?= 0x00030205 > export XEN_INTERFACE_VERSION > > # Try to find out the architecture family TARGET_ARCH_FAM. > -# First check whether x86_... is contained (for x86_32, x86_32y, x86_64). > -# If not x86 then use $(MINIOS_TARGET_ARCH) > +# First check whether x86_... is contained (for x86_32, x86_32y, x86_64), > +# then check whether arm is contained (for arm64, arm32), > +# If not x86/arm then use $(MINIOS_TARGET_ARCH) > ifeq ($(findstring x86_,$(MINIOS_TARGET_ARCH)),x86_) > TARGET_ARCH_FAM = x86 > +else ifeq ($(findstring arm,$(MINIOS_TARGET_ARCH)),arm) > +TARGET_ARCH_FAM = arm > else > TARGET_ARCH_FAM = $(MINIOS_TARGET_ARCH) > endif > @@ -66,6 +69,10 @@ endif > # The architecture family directory below mini-os. > TARGET_ARCH_DIR := arch/$(TARGET_ARCH_FAM) > > +ifeq ($(findstring arm64,$(MINIOS_TARGET_ARCH)),arm64) > +TARGET_ARCH_DIR = arch/$(TARGET_ARCH_FAM)/arm64 > +endif > + > # Export these variables for possible use in architecture dependent > makefiles. > export TARGET_ARCH_DIR > export TARGET_ARCH_FAM > -- > 2.7.4 > > > _______________________________________________ > Minios-devel mailing list > Minios-devel@xxxxxxxxxxxxxxxxxxxx > https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel -- Samuel J'ai beaucoup de mal a lire fcola quand il y a toutes les annonces de howto : les annonces interessantes sont noyees dans les howto. Ca serait pas mal de degager toute cette pollution dans un autre groupe. JLM in Guide du linuxien pervers : "Cachez ces doc que je ne saurais voir" _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |