openwrtv4/target/linux/ramips/Makefile
Gabor Juhos 8798c73860 ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
All known rt305x and rt3883 implementations support at
least the 24kec instruction set which includes the DSP
extension. For rt288x, the previous value mips32r2 is
kept.

The cpu target is now set per sub-archtecture, according
to cpu-feature-overrides.h of each SoC family.

[juhosg: define ARCH_PACKAGES variable for rt305x/rt3883
in order to differentiate the packages compiled with
the 24Kec option.]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35853
2013-03-03 12:47:31 +00:00

28 lines
690 B
Makefile

#
# Copyright (C) 2008-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
ARCH:=mipsel
BOARD:=ramips
BOARDNAME:=Ralink RT288x/RT3xxx
SUBTARGETS:=rt288x rt305x rt3883
CFLAGS:=-Os -pipe -fno-caller-saves -mno-branch-likely
FEATURES:=squashfs
LINUX_VERSION:=3.7.9
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES+=\
kmod-leds-gpio kmod-input-core kmod-input-polldev \
kmod-input-gpio-keys-polled kmod-button-hotplug \
kmod-rt2800-pci wpad-mini swconfig
define Target/Description
Build firmware images for Ralink RT288x/RT3xxx based boards.
endef
$(eval $(call BuildTarget))