[openwrt/openwrt] octeon: fix imagebuilder generation by introducing generic target
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 23 05:22:12 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/e946d9aa9d90ceefbd4a0c9e22a39767dc494afb
commit e946d9aa9d90ceefbd4a0c9e22a39767dc494afb
Author: Nick Hainke <vincent at systemli.org>
AuthorDate: Sun Sep 11 13:52:31 2022 +0200
octeon: fix imagebuilder generation by introducing generic target
The generic imagebuilder does not have a generic in the name, although
this is the default naming scheme. Use bcm53xx as template for this fix.
Before the fix:
openwrt-imagebuilder-octeon.Linux-x86_64.tar.xz
After:
openwrt-imagebuilder-octeon-generic.Linux-x86_64.tar.xz
Signed-off-by: Nick Hainke <vincent at systemli.org>
(cherry picked from commit a67f484e67b1d0930cb4b10b9e3787ecf7e71579)
---
target/linux/octeon/generic/target.mk | 1 +
target/linux/octeon/profiles/000-Generic.mk | 9 ++++-----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/target/linux/octeon/generic/target.mk b/target/linux/octeon/generic/target.mk
new file mode 100644
index 0000000000..f5cb1fb19b
--- /dev/null
+++ b/target/linux/octeon/generic/target.mk
@@ -0,0 +1 @@
+BOARDNAME:=Generic
diff --git a/target/linux/octeon/profiles/000-Generic.mk b/target/linux/octeon/profiles/000-Generic.mk
index 6d5aa4e2bd..b7261cd355 100644
--- a/target/linux/octeon/profiles/000-Generic.mk
+++ b/target/linux/octeon/profiles/000-Generic.mk
@@ -2,13 +2,12 @@
#
# Copyright (C) 2013 OpenWrt.org
-define Profile/Default
- NAME:=Default Profile
- PRIORITY:=1
+define Profile/Generic
+ NAME:=Octeon SoC
endef
-define Profile/Default/Description
+define Profile/Generic/Description
Base packages for Octeon boards.
endef
-$(eval $(call Profile,Default))
+$(eval $(call Profile,Generic))
More information about the lede-commits
mailing list