openwrt/target/linux/cobalt/Makefile
Hauke Mehrtens dd3f451d55 cobalt: do not build userland with support for mips1
Without specifying -march gcc uses -march=mips1 by default, but that
causes problems when compiling openssl. Use -march=r5000 instead to
compile a userland optimized for the CPU used on this device.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38386
2013-10-13 22:10:57 +00:00

26 lines
562 B
Makefile

#
# Copyright (C) 2009-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:=cobalt
BOARDNAME:=Cobalt Microservers
FEATURES:=targz pci ext4 display
CPU_TYPE := 5k
CPU_CFLAGS_5k := -march=r5000
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
LINUX_VERSION:=3.3.8
include $(INCLUDE_DIR)/target.mk
define Target/Description
Build firmware images for Cobalt servers systems (Qube/Qube2/RaQ/RaQ2).
endef
$(eval $(call BuildTarget))