2 # Copyright (C) 2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=aarch64-boot-wrapper
11 PKG_VERSION
:=2013-01-10
12 PKG_RELEASE
:=$(PKG_SOURCE_VERSION
)
16 https
://kernel.googlesource.com
/pub
/scm
/linux
/kernel
/git
/mark
/boot-wrapper-aarch64 \
17 https
://git.kernel.org
/pub
/scm
/linux
/kernel
/git
/mark
/boot-wrapper-aarch64.git
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_VERSION
:=c51dde817b5ed5b8f741b67ac51bd67bd87b4a2a
20 PKG_MIRROR_MD5SUM
:=2f029a20c906af68e9fe067c1b0ed394e4c455e142454a039f41d1d82d6e17c8
21 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.gz
22 PKG_MAINTAINER
:=Florian Fainelli
<florian@openwrt.org
>
24 include $(INCLUDE_DIR
)/kernel.mk
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/image.mk
29 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
31 DTC
="$(LINUX_DIR)/scripts/dtc/dtc" \
32 FDT_SRC
="$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts/arm/foundation-v8.dts" \
33 CROSS_COMPILE
="$(TARGET_CROSS)" \
34 BOOTARGS
="console=ttyAMA0 earlyprintk"
37 define Build
/InstallDev
38 $(CP
) $(PKG_BUILD_DIR
)/linux-system.axf
$(KDIR
)/linux-system.axf
41 $(eval
$(call Build
/DefaultTargets
))