Hello, all The patch is used in specific environments. Please ignore it . Thanks, chunrong
-----Original Message----- From: Eric B Munson [mailto:emun...@mgebm.net] Sent: Monday, August 12, 2013 6:29 AM To: Guo Chunrong-B40290 Cc: libhugetlbfs-devel@lists.sourceforge.net; Liu Ting-B28495; Luo Zhenhua-B19537 Subject: Re: [Libhugetlbfs-devel] [PATCH 4/4] libhugetlbfs: skip checking LIB32 and LIB64 if they point to the same place On Tue, 06 Aug 2013, Chunrong Guo wrote: > Signed-off-by: Ting Liu <b28...@freescale.com> > Signed-off-by: Chunrong Guo <b40...@freescale.com> I am not sure why I should take this. An empty leader doesn't help me figure it out... > --- > Makefile | 22 +++++++++++----------- > 1 files changed, 11 insertions(+), 11 deletions(-) > > diff --git a/Makefile b/Makefile > index 05ad9b4..987fcc3 100644 > --- a/Makefile > +++ b/Makefile > @@ -146,17 +146,17 @@ endif > > # If TMPLIB64 is set, then sure we are not resolving LIB32 and LIB64 > to the # same place -ifdef TMPLIB64 > - > -REALLIB32 = $(realpath $(PREFIX)/$(LIB32)) > -REALLIB64 = $(realpath $(PREFIX)/$(LIB64)) -ifneq ($(realpath > $(PREFIX)),) -ifeq ($(REALLIB32),$(REALLIB64)) -$(error LIB32 > ($(PREFIX)/$(LIB32) to $(REALLIB32)) and LIB64 ($(PREFIX)/$(LIB64) to > $(REALLIB64)) are resolving to the same place. Manually specify LIB32 > and LIB64. e.g. make PREFIX=$(PREFIX) LIB32=lib32 LIB64=lib64) -endif > -endif > - > -endif If we are removing the code then remove it, don't leave it in comments. > +#ifdef TMPLIB64 > +# > +#REALLIB32 = $(realpath $(PREFIX)/$(LIB32)) > +#REALLIB64 = $(realpath $(PREFIX)/$(LIB64)) #ifneq ($(realpath > +$(PREFIX)),) #ifeq ($(REALLIB32),$(REALLIB64)) #$(error LIB32 > +($(PREFIX)/$(LIB32) to $(REALLIB32)) and LIB64 ($(PREFIX)/$(LIB64) to > +$(REALLIB64)) are resolving to the same place. Manually specify LIB32 > +and LIB64. e.g. make PREFIX=$(PREFIX) LIB32=lib32 LIB64=lib64) #endif > +#endif # #endif > > HEADERDIR = $(PREFIX)/include > LIBDIR32 = $(PREFIX)/$(LIB32) > -- > 1.7.5.4 > > > > ---------------------------------------------------------------------- > -------- Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.c > lktrk _______________________________________________ > Libhugetlbfs-devel mailing list > Libhugetlbfs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel