openwrtv4/target/linux/amcc/Makefile
Felix Fietkau d8e032edef don't replace powerpc arch with ppc
'powerpc' is a valid arch for the LINUX_KARCH variable, but the build
system unconditionally replaces LIUNUX_KARCH=powerpc with
LINUX_KARCH=ppc.

This change only does the replacement if LINUX_KARCH isn't set. This
allows us to use the powerpc architecture.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9405
2007-10-23 06:23:12 +00:00

23 lines
445 B
Makefile

#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
ARCH:=powerpc
BOARD:=amcc
BOARDNAME:=AMCC Taishan
FEATURES:=jffs2
LINUX_VERSION:=2.6.21.5
LINUX_KARCH:=ppc
include $(INCLUDE_DIR)/target.mk
define Target/Description
Build firmware images for the AMCC Taishan evaluation board
endef
$(eval $(call BuildTarget))