From 483fd5f6ad7d87a8f24674c746c609e8b36b426f Mon Sep 17 00:00:00 2001
From: Mathias Kresin <dev@kresin.me>
Date: Wed, 17 Aug 2016 07:49:34 +0200
Subject: [PATCH] ramips: add build recipe for senao header

Add it to the Makefile to allow a board which will be supported soon
to use the recipe as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
---
 target/linux/ramips/image/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 7b53a2f744..2af6d68547 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -78,6 +78,11 @@ define Build/umedia-header
 	fix-u-media-header -T 0x46 -B $(1) -i $@ -o $@.new && mv $@.new $@
 endef
 
+define Build/senao-header
+	$(STAGING_DIR_HOST)/bin/mksenaofw $(1) -e $@ -o $@.new
+	mv $@.new $@
+endef
+
 #
 # The real magic happens inside these templates
 #
-- 
GitLab