Makefile 730 B

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