[openwrt/openwrt] octeon: fix imagebuilder generation by introducing generic target

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 24 14:56:04 PDT 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a67f484e67b1d0930cb4b10b9e3787ecf7e71579

commit a67f484e67b1d0930cb4b10b9e3787ecf7e71579
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>
---
 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