aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-14 18:19:35 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-18 18:24:06 +0200
commitdcee4eaa4214dce19800ea04da0dd92ebf7af29a (patch)
tree9d7a0967ae61aab849f1dd2c6df9f25954e7d339 /package/kernel
parentcca13d8e8236cb069167d831913b2e6cbfc9ec7c (diff)
downloadupstream-dcee4eaa4214dce19800ea04da0dd92ebf7af29a.tar.gz
upstream-dcee4eaa4214dce19800ea04da0dd92ebf7af29a.tar.bz2
upstream-dcee4eaa4214dce19800ea04da0dd92ebf7af29a.zip
bcm63xx-cfe: add package with CFE RAM binaries
CFE RAM is a second stage bootloader which is usually loaded by CFE ROM (first stage bootloader) from a JFFS2 partition stored on the NAND. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/bcm63xx-cfe/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/kernel/bcm63xx-cfe/Makefile b/package/kernel/bcm63xx-cfe/Makefile
new file mode 100644
index 0000000000..32f031ff55
--- /dev/null
+++ b/package/kernel/bcm63xx-cfe/Makefile
@@ -0,0 +1,42 @@
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
+
+PKG_NAME:=bcm63xx-cfe
+PKG_VERSION:=2020-05-18
+PKG_RELEASE:=1
+
+PKG_SOURCE_URL:=https://github.com/openwrt/bcm63xx-cfe.git
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_VERSION:=efe3b81121a84c0b8ba6a7d0d47cd5eeeb23808d
+PKG_MIRROR_HASH:=299dcf6ef1ad034df26daee6446b574abcd7526a2fe90fb8115890e71bc0d58b
+
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
+
+PKG_FLAGS:=nonshared
+
+include $(INCLUDE_DIR)/package.mk
+
+TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS)
+TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
+
+define Package/bcm63xx-cfe
+ SECTION:=boot
+ CATEGORY:=Boot Loaders
+ DEPENDS:=@TARGET_bcm63xx
+ TITLE:=bcm63xx-cfe
+ DEFAULT:=y if TARGET_bcm63xx
+endef
+
+define Package/bcm63xx-cfe/description
+ CFE RAM binaries for bcm63xx.
+endef
+
+define Build/Compile
+ true
+endef
+
+define Package/bcm63xx-cfe/install
+ true
+endef
+
+$(eval $(call BuildPackage,bcm63xx-cfe))