2
0

Makefile 1.1 KB

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