[ixp4xx] Update USR8200 patch and profile
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=armeb
10 BOARD:=ixp4xx
11 BOARDNAME:=Intel IXP4xx
12 FEATURES:=squashfs
13 SUBTARGETS=generic harddisk
14
15 LINUX_VERSION:=2.6.26.7
16
17 include $(INCLUDE_DIR)/target.mk
18
19 define Kernel/Configure
20 $(call Kernel/Configure/Default)
21 $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(LINUX_DIR)/.config
22 $(if $(CONFIG_EABI_SUPPORT),echo '# CONFIG_OABI_COMPAT is not set' >> $(LINUX_DIR)/.config)
23 endef
24
25 DEFAULT_PACKAGES += ixp4xx-microcode fconfig
26
27 $(eval $(call BuildTarget))