Makefile 694 B

123456789101112131415161718192021222324252627
  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:=armeb
  9. BOARD:=ixp4xx
  10. BOARDNAME:=Intel IXP4xx
  11. FEATURES:=squashfs
  12. SUBTARGETS=generic harddisk
  13. LINUX_VERSION:=2.6.25.9
  14. include $(INCLUDE_DIR)/target.mk
  15. define Kernel/Configure
  16. $(call Kernel/Configure/Default)
  17. $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(LINUX_DIR)/.config
  18. $(if $(CONFIG_EABI_SUPPORT),echo '# CONFIG_OABI_COMPAT is not set' >> $(LINUX_DIR)/.config)
  19. endef
  20. DEFAULT_PACKAGES += ixp4xx-microcode fconfig
  21. $(eval $(call BuildTarget))