mirror of https://github.com/F-Stack/f-stack.git
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (C) 2015 RehiveTech. All rights reserved.
|
|
|
|
#
|
|
# machine:
|
|
#
|
|
# - can define ARCH variable (overridden by cmdline value)
|
|
# - can define CROSS variable (overridden by cmdline value)
|
|
# - define MACHINE_CFLAGS variable (overridden by cmdline value)
|
|
# - define MACHINE_LDFLAGS variable (overridden by cmdline value)
|
|
# - define MACHINE_ASFLAGS variable (overridden by cmdline value)
|
|
# - can define CPU_CFLAGS variable (overridden by cmdline value) that
|
|
# overrides the one defined in arch.
|
|
# - can define CPU_LDFLAGS variable (overridden by cmdline value) that
|
|
# overrides the one defined in arch.
|
|
# - can define CPU_ASFLAGS variable (overridden by cmdline value) that
|
|
# overrides the one defined in arch.
|
|
# - may override any previously defined variable
|
|
#
|
|
|
|
# ARCH =
|
|
# CROSS =
|
|
# MACHINE_CFLAGS =
|
|
# MACHINE_LDFLAGS =
|
|
# MACHINE_ASFLAGS =
|
|
# CPU_CFLAGS =
|
|
# CPU_LDFLAGS =
|
|
# CPU_ASFLAGS =
|
|
|
|
MACHINE_CFLAGS += -march=armv7-a
|
|
|
|
ifdef CONFIG_RTE_ARCH_ARM_TUNE
|
|
MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%)
|
|
endif
|
|
|
|
MACHINE_CFLAGS += -mfpu=neon
|