Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Copyright (C) 2013 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. PKG_NAME:=aarch64-boot-wrapper
  9. PKG_RELEASE:=1
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL:=\
  12. https://kernel.googlesource.com/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64 \
  13. https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git
  14. PKG_SOURCE_DATE:=2013-01-10
  15. PKG_SOURCE_VERSION:=c51dde817b5ed5b8f741b67ac51bd67bd87b4a2a
  16. PKG_MIRROR_HASH:=2f029a20c906af68e9fe067c1b0ed394e4c455e142454a039f41d1d82d6e17c8
  17. PKG_MAINTAINER:=Florian Fainelli <[email protected]>
  18. include $(INCLUDE_DIR)/kernel.mk
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/image.mk
  21. define Build/Compile
  22. $(MAKE) -C $(PKG_BUILD_DIR) \
  23. KERNEL="../Image" \
  24. DTC="$(LINUX_DIR)/scripts/dtc/dtc" \
  25. FDT_SRC="$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts/arm/foundation-v8.dts" \
  26. CROSS_COMPILE="$(TARGET_CROSS)" \
  27. BOOTARGS="console=ttyAMA0 earlyprintk"
  28. endef
  29. define Build/InstallDev
  30. $(CP) $(PKG_BUILD_DIR)/linux-system.axf $(KDIR)/linux-system.axf
  31. endef
  32. $(eval $(call Build/DefaultTargets))