Makefile 739 B

12345678910111213141516171819202122232425262728293031323334
  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. define Target/Description
  17. Build images for the Freescale MPC85xx based boards.
  18. endef
  19. include $(INCLUDE_DIR)/target.mk
  20. KERNEL_IMAGES := zImage
  21. ifeq ($(SUBTARGET),generic)
  22. KERNEL_IMAGES += cuImage.tl-wdr4900-v1
  23. endif
  24. DEFAULT_PACKAGES += \
  25. kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \
  26. kmod-leds-gpio swconfig kmod-ath9k wpad-mini
  27. $(eval $(call BuildTarget))