incomplete Gumstix support
[openwrt/openwrt.git] / target / linux / pxa / 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:=arm
10 BOARD:=pxa
11 BOARDNAME:=Marvell/Intel PXA2xx
12 FEATURES:=jffs2 broken
13
14 LINUX_VERSION:=2.6.21.7
15
16 include $(INCLUDE_DIR)/target.mk
17
18 define Target/Description
19 Build images for PAX2xx systems, eg. Gumstix.
20 endef
21
22 define Kernel/Configure
23 $(call Kernel/Configure/Default)
24 $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(LINUX_DIR)/.config
25 $(if $(CONFIG_EABI_SUPPORT),echo '# CONFIG_OABI_COMPAT is not set' >> $(LINUX_DIR)/.config)
26 endef
27
28 KERNELNAME:="uImage"
29
30 $(eval $(call BuildTarget))