[Buildroot] [PATCH 03/13] Remove filename extension crap for OS compatibility

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Fri Mar 9 06:27:08 UTC 2012


Hi,

On Wed, Mar 7, 2012 at 8:34 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> The only variable that is used is HOST_LOADLIBES, defined for the
> cygwin case in the kconfig build. Since we don't support cygwin,
> simply get rid of this.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>

> ---
>  Makefile |   28 ----------------------------
>  1 files changed, 0 insertions(+), 28 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 7cc2380..c3ff284 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -194,34 +194,6 @@ unexport CONFIG_SITE
>
>  GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
>
> -#############################################################
> -#
> -# Setup the proper filename extensions for the host
> -#
> -##############################################################
> -ifneq ($(findstring linux,$(GNU_HOST_NAME)),)
> -HOST_EXEEXT:=
> -HOST_LIBEXT:=.a
> -HOST_SHREXT:=.so
> -endif
> -ifneq ($(findstring apple,$(GNU_HOST_NAME)),)
> -HOST_EXEEXT:=
> -HOST_LIBEXT:=.a
> -HOST_SHREXT:=.dylib
> -endif
> -ifneq ($(findstring cygwin,$(GNU_HOST_NAME)),)
> -HOST_EXEEXT:=.exe
> -HOST_LIBEXT:=.lib
> -HOST_SHREXT:=.dll
> -HOST_LOADLIBES=-lcurses -lintl
> -export HOST_LOADLIBES
> -endif
> -ifneq ($(findstring mingw,$(GNU_HOST_NAME)),)
> -HOST_EXEEXT:=.exe
> -HOST_LIBEXT:=.lib
> -HOST_SHREXT:=.dll
> -endif
> -
>  ##############################################################
>  #
>  # The list of stuff to build for the target toolchain
> --
> 1.7.4.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list