uboot-oxnas: switch to u-boot.mk
[openwrt/staging/yousong.git] / package / boot / uboot-oxnas / Makefile
1 #
2 # Copyright (C) 2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_VERSION:=2014.10
12 PKG_RELEASE:=1
13
14 PKG_HASH:=d3b132a7a9b3f3182b7aad71c2dfbd4fc15bea83e12c76134eb3ffefc07d1c71
15
16 include $(INCLUDE_DIR)/u-boot.mk
17 include $(INCLUDE_DIR)/package.mk
18
19 define U-Boot/Default
20 BUILD_TARGET:=oxnas
21 BUILD_DEVICES:=Default
22 HIDDEN:=y
23 endef
24
25 define U-Boot/ox820
26 NAME:=Oxford/PLX NAS7820
27 endef
28
29 UBOOT_TARGETS:=ox820
30
31 define Build/InstallDev
32 $(CP) $(PKG_BUILD_DIR)/u-boot.bin \
33 $(KERNEL_BUILD_DIR)/u-boot.bin
34 endef
35
36 $(eval $(call BuildPackage/U-Boot))