mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
Remove cc-option: not used anywhere
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
5ffe4283f7
commit
338c6d7cf2
7
Makefile
7
Makefile
@ -178,13 +178,6 @@ BUILD_DIR:=$(BASE_DIR)/build
|
|||||||
|
|
||||||
ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||||
|
|
||||||
# cc-option
|
|
||||||
# Usage: cflags-y+=$(call cc-option, -march=winchip-c6, -march=i586)
|
|
||||||
# sets -march=winchip-c6 if supported else falls back to -march=i586
|
|
||||||
# without checking the latter.
|
|
||||||
cc-option=$(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
|
|
||||||
> /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
|
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# Hide troublesome environment variables from sub processes
|
# Hide troublesome environment variables from sub processes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user