2014-11-26 09:00:17 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2014-12-02 15:25:37 +00:00
|
|
|
PKG_VERSION:=2014.10
|
2023-05-17 13:08:40 +00:00
|
|
|
PKG_RELEASE:=16
|
2014-11-26 09:00:17 +00:00
|
|
|
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_HASH:=d3b132a7a9b3f3182b7aad71c2dfbd4fc15bea83e12c76134eb3ffefc07d1c71
|
2014-11-26 09:00:17 +00:00
|
|
|
|
2017-01-23 11:40:32 +00:00
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
2014-11-26 09:00:17 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-01-23 11:40:32 +00:00
|
|
|
define U-Boot/Default
|
|
|
|
BUILD_TARGET:=oxnas
|
|
|
|
BUILD_DEVICES:=Default
|
|
|
|
HIDDEN:=y
|
2014-11-26 09:00:17 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:40:32 +00:00
|
|
|
define U-Boot/ox820
|
|
|
|
NAME:=Oxford/PLX NAS7820
|
2014-11-26 09:00:17 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:40:32 +00:00
|
|
|
UBOOT_TARGETS:=ox820
|
2014-11-26 09:00:17 +00:00
|
|
|
|
2017-01-23 11:40:32 +00:00
|
|
|
define Build/InstallDev
|
2017-01-27 15:21:17 +00:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/u-boot.bin $(STAGING_DIR_IMAGE)/u-boot.bin
|
2014-11-26 09:00:17 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-23 11:40:32 +00:00
|
|
|
$(eval $(call BuildPackage/U-Boot))
|