mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Remove filename extension crap for OS compatibility
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@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
338c6d7cf2
commit
aba915fe2b
28
Makefile
28
Makefile
@ -195,34 +195,6 @@ unexport CONFIG_SITE
|
|||||||
|
|
||||||
GNU_HOST_NAME:=$(shell support/gnuconfig/config.guess)
|
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
|
# The list of stuff to build for the target toolchain
|
||||||
|
Loading…
x
Reference in New Issue
Block a user