Makefile 623 B

123456789101112131415161718192021222324
  1. #
  2. # Copyright (C) 2016 Jiang Yutang <[email protected]>
  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. BOARD:=layerscape
  9. BOARDNAME:=NXP Layerscape
  10. KERNEL_PATCHVER:=5.4
  11. FEATURES:=squashfs nand usb pcie gpio fpu ubifs ext4 rootfs-part boot-part
  12. SUBTARGETS:=armv8_64b armv7
  13. define Target/Description
  14. Build firmware images for NXP Layerscape based boards.
  15. endef
  16. include $(INCLUDE_DIR)/target.mk
  17. DEFAULT_PACKAGES += kmod-usb3 kmod-usb-dwc3 kmod-usb-storage \
  18. mkf2fs e2fsprogs partx-utils
  19. $(eval $(call BuildTarget))