Makefile 672 B

12345678910111213141516171819202122232425262728
  1. #
  2. # Copyright (C) 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:=orion
  10. BOARDNAME:=Marvell Orion
  11. FEATURES:=squashfs
  12. LINUX_VERSION:=2.6.26-rc8
  13. include $(INCLUDE_DIR)/target.mk
  14. KERNELNAME:="uImage"
  15. DEFAULT_PACKAGES += kmod-madwifi
  16. define Kernel/Configure
  17. $(call Kernel/Configure/Default)
  18. $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(LINUX_DIR)/.config
  19. $(if $(CONFIG_EABI_SUPPORT),echo '# CONFIG_OABI_COMPAT is not set' >> $(LINUX_DIR)/.config)
  20. endef
  21. $(eval $(call BuildTarget))