branding: add LEDE branding

This commit is contained in:
coolsnowwolf 2024-11-14 13:14:47 +08:00
parent 5cd761710a
commit 1063641e6e
11 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@
# #
# Copyright (C) 2006-2013 OpenWrt.org # Copyright (C) 2006-2013 OpenWrt.org
mainmenu "OpenWrt Configuration" mainmenu "LEDE Configuration"
config MODULES config MODULES
modules modules

View File

@ -10,7 +10,7 @@ export TOPDIR LC_ALL LANG TZ
empty:= empty:=
space:= $(empty) $(empty) space:= $(empty) $(empty)
$(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces)) $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the LEDE directory must not include any spaces))
world: world:

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# Copyright (C) 2006-2020 OpenWrt.org # Copyright (C) 2006-2020 LEDE.org
override TARGET_BUILD= override TARGET_BUILD=
include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/prereq.mk

View File

@ -15,7 +15,7 @@ $(eval $(call TestHostCommand,working-make, \
$(MAKE) -v | grep -E 'Make (4\.[1-9]|[5-9]\.)')) $(MAKE) -v | grep -E 'Make (4\.[1-9]|[5-9]\.)'))
$(eval $(call TestHostCommand,case-sensitive-fs, \ $(eval $(call TestHostCommand,case-sensitive-fs, \
OpenWrt can only be built on a case-sensitive filesystem, \ LEDE can only be built on a case-sensitive filesystem, \
rm -f $(TMP_DIR)/test.*; touch $(TMP_DIR)/test.fs; \ rm -f $(TMP_DIR)/test.*; touch $(TMP_DIR)/test.fs; \
test ! -f $(TMP_DIR)/test.FS)) test ! -f $(TMP_DIR)/test.FS))

View File

@ -40,7 +40,7 @@ define Package/base-files
SECTION:=base SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool DEPENDS:=+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
TITLE:=Base filesystem for OpenWrt TITLE:=Base filesystem for LEDE
URL:=http://openwrt.org/ URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION) VERSION:=$(PKG_RELEASE)-$(REVISION)
endef endef

View File

@ -6,7 +6,7 @@ USE_PROCD=1
validate_system_section() { validate_system_section() {
uci_load_validate system system "$1" "$2" \ uci_load_validate system system "$1" "$2" \
'hostname:string:OpenWrt' \ 'hostname:string:LEDE' \
'conloglevel:uinteger' \ 'conloglevel:uinteger' \
'buffersize:uinteger' \ 'buffersize:uinteger' \
'timezone:string:UTC' \ 'timezone:string:UTC' \

View File

@ -165,7 +165,7 @@ if VERSIONOPT
config VERSION_DIST config VERSION_DIST
string string
prompt "Release distribution" prompt "Release distribution"
default "OpenWrt" default "LEDE"
help help
This is the name of the release distribution. This is the name of the release distribution.
If unspecified, it defaults to OpenWrt. If unspecified, it defaults to OpenWrt.
@ -199,13 +199,13 @@ if VERSIONOPT
%v .. Configured release version number or "snapshot", lowercase %v .. Configured release version number or "snapshot", lowercase
%C .. Configured release revision code or value of %R, uppercase %C .. Configured release revision code or value of %R, uppercase
%c .. Configured release revision code or value of %R, lowercase %c .. Configured release revision code or value of %R, lowercase
%D .. Distribution name or "OpenWrt", uppercase %D .. Distribution name or "LEDE", uppercase
%d .. Distribution name or "openwrt", lowercase %d .. Distribution name or "lede", lowercase
%T .. Target name %T .. Target name
%S .. Target/Subtarget name %S .. Target/Subtarget name
%A .. Package architecture %A .. Package architecture
%t .. Build taint flags, e.g. "no-all busybox" %t .. Build taint flags, e.g. "no-all busybox"
%M .. Manufacturer name or "OpenWrt" %M .. Manufacturer name or "LEDE"
%P .. Product name or "Generic" %P .. Product name or "Generic"
%h .. Hardware revision or "v0" %h .. Hardware revision or "v0"

View File

@ -181,7 +181,7 @@ detect_mac80211() {
set wireless.default_radio${devidx}.device=radio${devidx} set wireless.default_radio${devidx}.device=radio${devidx}
set wireless.default_radio${devidx}.network=lan set wireless.default_radio${devidx}.network=lan
set wireless.default_radio${devidx}.mode=ap set wireless.default_radio${devidx}.mode=ap
set wireless.default_radio${devidx}.ssid=OpenWrt set wireless.default_radio${devidx}.ssid=LEDE
set wireless.default_radio${devidx}.encryption=none set wireless.default_radio${devidx}.encryption=none
EOF EOF
uci -q commit wireless uci -q commit wireless

View File

@ -1,5 +1,5 @@
config IB config IB
bool "Build the OpenWrt Image Builder" bool "Build the LEDE Image Builder"
depends on !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
default BUILDBOT default BUILDBOT
help help

View File

@ -1,5 +1,5 @@
config SDK config SDK
bool "Build the OpenWrt SDK" bool "Build the LEDE SDK"
depends on !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
default BUILDBOT default BUILDBOT
help help

View File

@ -1,5 +1,5 @@
config MAKE_TOOLCHAIN config MAKE_TOOLCHAIN
bool "Package the OpenWrt-based Toolchain" bool "Package the LEDE-based Toolchain"
depends on !EXTERNAL_TOOLCHAIN depends on !EXTERNAL_TOOLCHAIN
default BUILDBOT default BUILDBOT
help help