Hi Steve, I build libhugetlbfs for beagleboard arm device by yocto. " beagleboard" is considered to be "arm" architecture. I think general "arm" Parameter should be added to detection logic.
The following information: Build Configuration: BB_VERSION = "1.20.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Fedora-13" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "beagleboard" DISTRO = "poky" DISTRO_VERSION = "1.5" TUNE_FEATURES = "armv7a vfp neon" TARGET_FPU = "vfp-neon" meta meta-yocto meta-yocto-bsp = "(nobranch):28e7e4ffa5cd6cdfe02392c60bc42ed396376dcd" thanks, chunrong -----Original Message----- From: Steve Capper [mailto:steve.cap...@linaro.org] Sent: Wednesday, June 18, 2014 4:30 PM To: Guo Chunrong-B40290 Cc: libhugetlbfs-devel@lists.sourceforge.net; Liu Ting-B28495; Luo Zhenhua-B19537 Subject: Re: [Libhugetlbfs-devel] [PATCH] Makefile: arm 32bit support On Wed, Jun 18, 2014 at 11:01:32AM +0800, b40...@freescale.com wrote: > From: Chunrong Guo <b40...@freescale.com> > > Signed-off-by: Chunrong Guo <b40...@freescale.com> > --- > Makefile | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Makefile b/Makefile > index 91502e1..2030d12 100644 > --- a/Makefile > +++ b/Makefile > @@ -59,6 +59,12 @@ ELF32 = elf32ppclinux > TMPLIB32 = lib > CPPFLAGS += -DPPC_NO_SEGMENTS > else > +ifeq ($(ARCH),arm) > +CC32 = $(CC) > +TMPLIB32 = lib > +ELF32 += armelf_linux_eabi > +CUSTOM_LDSCRIPTS = no > +else Hi Chunrong, Why is this extra detection logic needed? I would have thought armv7l would cover all the 32-bit ARM devices currently running with HugeTLBFS? Thanks, -- Steve ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel