Makefile 756 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Copyright (C) 2010 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:=powerpc
  9. BOARD:=mpc85xx
  10. BOARDNAME:=Freescale MPC85xx
  11. CPU_TYPE:=8540
  12. FEATURES:=squashfs
  13. MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
  14. SUBTARGETS=generic p1020
  15. KERNEL_PATCHVER:=4.4
  16. include $(INCLUDE_DIR)/target.mk
  17. KERNEL_IMAGES := zImage
  18. ifeq ($(SUBTARGET),generic)
  19. KERNEL_IMAGES += cuImage.tl-wdr4900-v1
  20. endif
  21. DEFAULT_PACKAGES += \
  22. kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \
  23. kmod-leds-gpio kmod-booke-wdt \
  24. swconfig kmod-ath9k wpad-mini
  25. define Target/Description
  26. Build images for the Freescale MPC85xx based boards.
  27. endef
  28. $(eval $(call BuildTarget))