[Buildroot] [PATCH 06/15] package infra: drop non-lfs support

Yann E. MORIN yann.morin.1998 at free.fr
Sat Mar 14 22:46:13 UTC 2015


Gustavo, All,

On 2015-03-13 15:22 -0300, Gustavo Zacarias spake thusly:
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>

Review for both pathes 5 and 6: I think you should do it that way:

  - patch 5: the hunk of Makefile.in from this patch, alone

  - patch 6: remove use of $(DISABLE_LARGEFILE)

Granted, your proposal would work (with the additional patch I
suggested) because BR2_LARGEFILE is now always 'y'.

Still, I think it's better to get rid of DISABLE_LARGEFILE consistently.

Regards,
Yann E. MORIN.

> ---
>  package/Makefile.in      | 7 -------
>  package/pkg-autotools.mk | 1 -
>  2 files changed, 8 deletions(-)
> 
> diff --git a/package/Makefile.in b/package/Makefile.in
> index 803b162..fc57427 100644
> --- a/package/Makefile.in
> +++ b/package/Makefile.in
> @@ -136,10 +136,7 @@ ifeq ($(BR2_DEBUG_3),y)
>  TARGET_DEBUGGING = -g3
>  endif
>  
> -ifeq ($(BR2_LARGEFILE),y)
>  TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -endif
> -
>  TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
>  TARGET_CXXFLAGS = $(TARGET_CFLAGS)
>  TARGET_LDFLAGS = $(call qstrip,$(BR2_TARGET_LDFLAGS))
> @@ -373,10 +370,6 @@ else
>  DISABLE_NLS :=--disable-nls
>  endif
>  
> -ifneq ($(BR2_LARGEFILE),y)
> -DISABLE_LARGEFILE = --disable-largefile
> -endif
> -
>  ifeq ($(BR2_INET_IPV6),y)
>  DISABLE_IPV6 = --enable-ipv6
>  else
> diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
> index d2f15fa..2ecf7d8 100644
> --- a/package/pkg-autotools.mk
> +++ b/package/pkg-autotools.mk
> @@ -201,7 +201,6 @@ define $(2)_CONFIGURE_CMDS
>  		--with-fop=no \
>  		--disable-dependency-tracking \
>  		$$(DISABLE_NLS) \
> -		$$(DISABLE_LARGEFILE) \
>  		$$(DISABLE_IPV6) \
>  		$$(ENABLE_DEBUG) \
>  		$$(SHARED_STATIC_LIBS_OPTS) \
> -- 
> 2.0.5
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list