aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-oxnas/Makefile
blob: 32ee107e7bed4f77ddc64c8e29ca8e2802a0e3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_VERSION:=2014.10
PKG_RELEASE:=1

PKG_HASH:=d3b132a7a9b3f3182b7aad71c2dfbd4fc15bea83e12c76134eb3ffefc07d1c71

include $(INCLUDE_DIR)/u-boot.mk
include $(INCLUDE_DIR)/package.mk

define U-Boot/Default
  BUILD_TARGET:=oxnas
  BUILD_DEVICES:=Default
  HIDDEN:=y
endef

define U-Boot/ox820
  NAME:=Oxford/PLX NAS7820
endef

UBOOT_TARGETS:=ox820

define Build/InstallDev
	$(CP) $(PKG_BUILD_DIR)/u-boot.bin \
		$(KERNEL_BUILD_DIR)/u-boot.bin
endef

$(eval $(call BuildPackage/U-Boot))