Archived
1
0
Fork 0

Initial publish

This commit is contained in:
Ryze 2023-06-10 17:17:16 +03:00
parent d3c3b56ebd
commit 2e30219bce
Signed by: ryze
GPG key ID: 9B296C5CEAEAAAC1
23 changed files with 4334 additions and 0 deletions

25
FAILED_MODIFICATIONS.md Normal file
View file

@ -0,0 +1,25 @@
# Failed modificatons
## LTO
Enabling LTO via `-flto` flag, leads to the error `MAX_NR_ZONES undefined` on kernel compilation. Disabling LTO for kernel leads to a linker error at some point (maybe some things are dynamically linked?).
## Changing march
Changing march flag leads to compiler error with missing headers (tried only with `-march=24kec`)
## Optimizing unlikely/likely branches
Setting `CONFIG_JUMP_LABEL=y` in kernel config causes kernel compilation to fail with:
```c
arch/mips/kernel/jump_label.c: In function 'arch_jump_label_transform':
arch/mips/kernel/jump_label.c:46:37: error: implicit declaration of function 'msk_isa16_mode' [-Werror=implicit-function-declaration]
insn_p = (union mips_instruction *)msk_isa16_mode(e->code);
^~~~~~~~~~~~~~
arch/mips/kernel/jump_label.c:55:38: error: 'mm_j32_op' undeclared (first use in this function); did you mean 'dsra32_op'?
insn.j_format.opcode = J_ISA_BIT ? mm_j32_op : j_op;
^~~~~~~~~
dsra32_op
```
## Updating userspace apps and kernel
Padavan uses old Linux kernel (3.4.3), as well as outdated versions of some apps, it would be the best to update them.
Unfortunately it seems kernel and apps contain certain modifications, which I don't have knowledge to determine and port.

94
README.md Normal file
View file

@ -0,0 +1,94 @@
<div align="center">
# Padavan-Luna
**Collection of various patches and configurations for [padavan-ng](https://gitlab.com/hadzhioglu/padavan-ng) firmware.**
*[Luna art](https://www.deviantart.com/ragerer/art/Princess-Luna-Smiling-Winky-Face-467319378) by [RAGErER](https://www.deviantart.com/ragerer)*
![Luna Web UI](media/luna_webui.gif)
</div>
# Patches
To install a patch get it from `patches` directory and apply using `patch` or `git patch` tool to [Padavan repository](https://gitlab.com/hadzhioglu/padavan-ng). If patch needs to replace files, copy them to the root of repository.
| Patch | Purpose | Replaces files? |
|----------------------------------------------------|-----------------------------------------------------------------------|-----------------|
| [Banner](patches/banner.patch) | Replaces banner printed upon SSH login | Y |
| [ls lh](patches/ls_lh.patch) | Aliases ls to ls -lh by default | N |
| [Menuconfig](patches/menuconfig.patch) | Adds support for menuconfig in Makefile (executes on build) | N |
| [Fast compilation](patches/fast_compilation.patch) | Decreases compilation time by evaluating constant variables only once | N |
| [Strip CSS](patches/strip_css.patch) | Strips down main.css by removing deprecated rules | N |
| [WWW](patches/www.patch) | Adds custom theme to Web UI | Y |
# Configurations
[Sample config files](configs) that can be loaded using [menuconfig patch](patches/menuconfig.patch) on build.
### Kernel
```toml
CONFIG_NO_HZ=y
CONFIG_DEFAULT_HOSTNAME=luna
CONFIG_BUG=n
CONFIG_PCI_QUIRKS=n
CONFIG_SLAB=n
CONFIG_SLUB=y
CONFIG_NET_PPPOE_PTHROUGH=n
CONFIG_BLK_DEV_LOOP=n
CONFIG_SQUASHFS_4K_DEVBLK_SIZE=y
```
### Busybox
```toml
CONFIG_CHROOT=n
CONFIG_DOS2UNIX=n
CONFIG_UNIX2DOS=n
CONFIG_UNAME_OSNAME=GNU/Ponix
CONFIG_VI=n
CONFIG_CHPASSWD=n
CONFIG_FLOCK=n
CONFIG_SWITCH_ROOT=n
CONFIG_FEATURE_MOUNT_LOOP=n
CONFIG_CROND=n
CONFIG_CRONTAB=n
CONFIG_STRINGS=n
CONFIG_DNSDOMAINNAME=n
CONFIG_INETD=n
```
### Toolchain
```toml
CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES=y
CT_EXTRA_CFLAGS_FOR_BUILD="-O3"
CT_EXTRA_LDFLAGS_FOR_BUILD="-O3"
CT_TARGET_CFLAGS="-pipe -O3"
CT_ARCH_TUNE=""
CT_ARCH_ARCH="" # Set to your target arch manually
CT_CC_GCC_ENABLE_TARGET_OPTSPACE=n
```
# Compiler extra flags
It is possible to add compiler flags for the entire build by wrapping toolchain binaries in script and hardlinking them.
### How to install
1. Build the toolchain
2. Move original binaries from `toolchain/out/bin` to `toolchain/out/bin_original`
3. Copy `wrapper.sh` and `setup_hardlinks.sh` to `toolchain/out/bin`
4. Execute `setup_hardlinks.sh`
5. Edit compiler and linker flags (`-O3` by default) in `wrapper.sh` to suit your needs
# Expanding further
There are more changes that could have been done, but they failed to apply.
See [here](FAILED_MODIFICATIONS.md)
# Contributing
All issues and pull requests are welcome! Feel free to open an issue if you've got an idea or a problem. You can open a pull request if you are able to implement it yourself.
---
<p align="center">
<sub><strong>
Made with ponies and love!
<br/>
GNU GPL © Ryze 2023
</strong></sub>
</p>

1228
configs/busybox.config Normal file

File diff suppressed because it is too large Load diff

780
configs/crosstool.config Normal file
View file

@ -0,0 +1,780 @@
#
# Automatically generated file; DO NOT EDIT.
# crosstool-NG Configuration
#
CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_cxx11=y
CT_CONFIGURE_has_wget=y
CT_CONFIGURE_has_curl=y
CT_CONFIGURE_has_make_3_81_or_newer=y
CT_CONFIGURE_has_make_4_0_or_newer=y
CT_CONFIGURE_has_libtool_2_4_or_newer=y
CT_CONFIGURE_has_libtoolize_2_4_or_newer=y
CT_CONFIGURE_has_autoconf_2_65_or_newer=y
CT_CONFIGURE_has_autoreconf_2_65_or_newer=y
CT_CONFIGURE_has_automake_1_15_or_newer=y
CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y
CT_CONFIGURE_has_python_3_4_or_newer=y
CT_CONFIGURE_has_bison_2_7_or_newer=y
CT_CONFIGURE_has_python=y
CT_CONFIGURE_has_dtc=y
CT_CONFIGURE_has_git=y
CT_CONFIGURE_has_md5sum=y
CT_CONFIGURE_has_sha1sum=y
CT_CONFIGURE_has_sha256sum=y
CT_CONFIGURE_has_sha512sum=y
CT_CONFIGURE_has_install_with_strip_program=y
CT_CONFIG_VERSION_CURRENT="3"
CT_CONFIG_VERSION="3"
CT_MODULES=y
#
# Paths and misc options
#
#
# crosstool-NG behavior
#
# CT_OBSOLETE is not set
CT_EXPERIMENTAL=y
CT_ALLOW_BUILD_AS_ROOT=y
CT_ALLOW_BUILD_AS_ROOT_SURE=y
# CT_DEBUG_CT is not set
#
# Paths
#
CT_LOCAL_TARBALLS_DIR="${CT_TOP_DIR}/dl"
CT_SAVE_TARBALLS=y
# CT_TARBALLS_BUILDROOT_LAYOUT is not set
CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_BUILD_TOP_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
CT_PREFIX_DIR="${CONFIG_TOOLCHAIN_DIR}"
CT_RM_RF_PREFIX_DIR=y
CT_REMOVE_DOCS=y
# CT_INSTALL_LICENSES is not set
# CT_PREFIX_DIR_RO is not set
CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y
CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES=y
#
# Downloading
#
CT_DOWNLOAD_AGENT_WGET=y
# CT_DOWNLOAD_AGENT_CURL is not set
# CT_DOWNLOAD_AGENT_NONE is not set
# CT_FORBID_DOWNLOAD is not set
# CT_FORCE_DOWNLOAD is not set
CT_CONNECT_TIMEOUT=10
CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary"
# CT_ONLY_DOWNLOAD is not set
# CT_USE_MIRROR is not set
CT_VERIFY_DOWNLOAD_DIGEST=y
CT_VERIFY_DOWNLOAD_DIGEST_SHA512=y
# CT_VERIFY_DOWNLOAD_DIGEST_SHA256 is not set
# CT_VERIFY_DOWNLOAD_DIGEST_SHA1 is not set
# CT_VERIFY_DOWNLOAD_DIGEST_MD5 is not set
CT_VERIFY_DOWNLOAD_DIGEST_ALG="sha512"
# CT_VERIFY_DOWNLOAD_SIGNATURE is not set
#
# Extracting
#
# CT_FORCE_EXTRACT is not set
CT_OVERRIDE_CONFIG_GUESS_SUB=y
# CT_ONLY_EXTRACT is not set
CT_PATCH_BUNDLED=y
# CT_PATCH_LOCAL is not set
# CT_PATCH_BUNDLED_LOCAL is not set
# CT_PATCH_LOCAL_BUNDLED is not set
# CT_PATCH_NONE is not set
CT_PATCH_ORDER="bundled"
#
# Build behavior
#
CT_PARALLEL_JOBS=0
CT_LOAD=""
CT_USE_PIPES=y
CT_EXTRA_CFLAGS_FOR_BUILD="-O3"
CT_EXTRA_LDFLAGS_FOR_BUILD="-O3"
CT_EXTRA_CFLAGS_FOR_HOST="-O2"
CT_EXTRA_LDFLAGS_FOR_HOST=""
# CT_CONFIG_SHELL_SH is not set
# CT_CONFIG_SHELL_ASH is not set
CT_CONFIG_SHELL_BASH=y
# CT_CONFIG_SHELL_CUSTOM is not set
CT_CONFIG_SHELL="${bash}"
#
# Logging
#
# CT_LOG_ERROR is not set
# CT_LOG_WARN is not set
# CT_LOG_INFO is not set
CT_LOG_EXTRA=y
# CT_LOG_ALL is not set
# CT_LOG_DEBUG is not set
CT_LOG_LEVEL_MAX="EXTRA"
# CT_LOG_SEE_TOOLS_WARN is not set
CT_LOG_PROGRESS_BAR=y
# CT_LOG_TO_FILE is not set
#
# Target options
#
# CT_ARCH_ALPHA is not set
# CT_ARCH_ARC is not set
# CT_ARCH_ARM is not set
# CT_ARCH_AVR is not set
# CT_ARCH_M68K is not set
# CT_ARCH_MICROBLAZE is not set
CT_ARCH_MIPS=y
# CT_ARCH_MOXIE is not set
# CT_ARCH_MSP430 is not set
# CT_ARCH_NIOS2 is not set
# CT_ARCH_POWERPC is not set
# CT_ARCH_RISCV is not set
# CT_ARCH_S390 is not set
# CT_ARCH_SH is not set
# CT_ARCH_SPARC is not set
# CT_ARCH_X86 is not set
# CT_ARCH_XTENSA is not set
CT_ARCH="mips"
CT_ARCH_CHOICE_KSYM="MIPS"
CT_ARCH_TUNE=""
CT_ARCH_MIPS_SHOW=y
#
# Options for mips
#
CT_ARCH_MIPS_PKG_KSYM=""
CT_ARCH_mips_o32=y
CT_ARCH_mips_ABI="32"
CT_ALL_ARCH_CHOICES="ALPHA ARC ARM AVR M68K MICROBLAZE MIPS MOXIE MSP430 NIOS2 POWERPC RISCV S390 SH SPARC X86 XTENSA"
CT_ARCH_SUFFIX="el"
CT_OMIT_TARGET_VENDOR=y
#
# Generic target options
#
# CT_MULTILIB is not set
CT_DEMULTILIB=y
CT_ARCH_USE_MMU=y
CT_ARCH_SUPPORTS_EITHER_ENDIAN=y
CT_ARCH_DEFAULT_BE=y
# CT_ARCH_BE is not set
CT_ARCH_LE=y
CT_ARCH_ENDIAN="little"
CT_ARCH_SUPPORTS_32=y
CT_ARCH_SUPPORTS_64=y
CT_ARCH_DEFAULT_32=y
CT_ARCH_BITNESS=32
CT_ARCH_32=y
# CT_ARCH_64 is not set
#
# Target optimisations
#
CT_ARCH_SUPPORTS_WITH_ARCH=y
CT_ARCH_SUPPORTS_WITH_TUNE=y
CT_ARCH_SUPPORTS_WITH_FLOAT=y
CT_ARCH_ARCH=""
# CT_ARCH_FLOAT_AUTO is not set
CT_ARCH_FLOAT_HW=y
# CT_ARCH_FLOAT_SW is not set
CT_TARGET_CFLAGS="-pipe -O3"
CT_TARGET_LDFLAGS=""
CT_ARCH_FLOAT="hard"
#
# Toolchain options
#
#
# General toolchain options
#
CT_FORCE_SYSROOT=y
CT_USE_SYSROOT=y
CT_SYSROOT_NAME="sysroot"
CT_SYSROOT_DIR_PREFIX=""
CT_WANTS_STATIC_LINK=y
CT_WANTS_STATIC_LINK_CXX=y
# CT_STATIC_TOOLCHAIN is not set
CT_SHOW_CT_VERSION=y
CT_TOOLCHAIN_PKGVERSION=""
CT_TOOLCHAIN_BUGURL="https://gitlab.com/hadzhioglu/padavan-ng/issues"
#
# Tuple completion and aliasing
#
CT_TARGET_ALIAS_SED_EXPR=""
CT_TARGET_ALIAS=""
#
# Toolchain type
#
# CT_NATIVE is not set
CT_CROSS=y
# CT_CROSS_NATIVE is not set
# CT_CANADIAN is not set
CT_TOOLCHAIN_TYPE="cross"
#
# Build system
#
CT_BUILD=""
CT_BUILD_PREFIX=""
CT_BUILD_SUFFIX=""
#
# Misc options
#
# CT_TOOLCHAIN_ENABLE_NLS is not set
#
# Operating System
#
CT_KERNEL_SUPPORTS_SHARED_LIBS=y
# CT_KERNEL_BARE_METAL is not set
CT_KERNEL_LINUX=y
CT_KERNEL="linux"
CT_KERNEL_CHOICE_KSYM="LINUX"
CT_KERNEL_LINUX_SHOW=y
#
# Options for linux
#
CT_KERNEL_LINUX_PKG_KSYM="LINUX"
CT_LINUX_DIR_NAME="linux"
CT_LINUX_PKG_NAME="linux"
# CT_LINUX_SRC_RELEASE is not set
# CT_LINUX_SRC_DEVEL is not set
CT_LINUX_SRC_CUSTOM=y
CT_LINUX_CUSTOM_LOCATION="${CT_TOP_DIR}/../trunk/linux-3.4.x"
CT_LINUX_PATCH_GLOBAL=y
# CT_LINUX_PATCH_BUNDLED is not set
# CT_LINUX_PATCH_LOCAL is not set
# CT_LINUX_PATCH_BUNDLED_LOCAL is not set
# CT_LINUX_PATCH_LOCAL_BUNDLED is not set
# CT_LINUX_PATCH_NONE is not set
CT_LINUX_PATCH_ORDER="global"
# CT_LINUX_VERY_NEW is not set
# CT_LINUX_V_5_3 is not set
# CT_LINUX_V_5_2 is not set
# CT_LINUX_V_5_1 is not set
# CT_LINUX_V_5_0 is not set
# CT_LINUX_V_4_20 is not set
# CT_LINUX_V_4_19 is not set
# CT_LINUX_V_4_18 is not set
# CT_LINUX_V_4_17 is not set
# CT_LINUX_V_4_16 is not set
# CT_LINUX_V_4_15 is not set
# CT_LINUX_V_4_14 is not set
# CT_LINUX_V_4_13 is not set
# CT_LINUX_V_4_12 is not set
# CT_LINUX_V_4_11 is not set
# CT_LINUX_V_4_10 is not set
# CT_LINUX_V_4_9 is not set
# CT_LINUX_V_4_4 is not set
# CT_LINUX_V_4_1 is not set
# CT_LINUX_V_3_16 is not set
# CT_LINUX_V_3_13 is not set
# CT_LINUX_V_3_12 is not set
# CT_LINUX_V_3_10 is not set
CT_LINUX_V_3_4=y
# CT_LINUX_V_3_2 is not set
# CT_LINUX_V_2_6_32 is not set
# CT_LINUX_NO_VERSIONS is not set
CT_LINUX_VERSION="3.4.113"
CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})"
CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_LINUX_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_LINUX_SIGNATURE_FORMAT="unpacked/.sign"
CT_LINUX_4_8_or_older=y
CT_LINUX_older_than_4_8=y
CT_LINUX_3_7_or_older=y
CT_LINUX_older_than_3_7=y
CT_LINUX_later_than_3_2=y
CT_LINUX_3_2_or_later=y
CT_KERNEL_LINUX_VERBOSITY_0=y
# CT_KERNEL_LINUX_VERBOSITY_1 is not set
# CT_KERNEL_LINUX_VERBOSITY_2 is not set
CT_KERNEL_LINUX_VERBOSE_LEVEL=0
# CT_KERNEL_LINUX_INSTALL_CHECK is not set
CT_ALL_KERNEL_CHOICES="BARE_METAL LINUX WINDOWS"
#
# Common kernel options
#
CT_SHARED_LIBS=y
#
# Binary utilities
#
CT_ARCH_BINFMT_ELF=y
CT_BINUTILS_BINUTILS=y
CT_BINUTILS="binutils"
CT_BINUTILS_CHOICE_KSYM="BINUTILS"
CT_BINUTILS_BINUTILS_SHOW=y
#
# Options for binutils
#
CT_BINUTILS_BINUTILS_PKG_KSYM="BINUTILS"
CT_BINUTILS_DIR_NAME="binutils"
CT_BINUTILS_USE_GNU=y
CT_BINUTILS_USE="BINUTILS"
CT_BINUTILS_PKG_NAME="binutils"
CT_BINUTILS_SRC_RELEASE=y
# CT_BINUTILS_SRC_DEVEL is not set
# CT_BINUTILS_SRC_CUSTOM is not set
CT_BINUTILS_PATCH_GLOBAL=y
# CT_BINUTILS_PATCH_BUNDLED is not set
# CT_BINUTILS_PATCH_LOCAL is not set
# CT_BINUTILS_PATCH_BUNDLED_LOCAL is not set
# CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set
# CT_BINUTILS_PATCH_NONE is not set
CT_BINUTILS_PATCH_ORDER="global"
CT_BINUTILS_V_2_34=y
# CT_BINUTILS_V_2_32 is not set
# CT_BINUTILS_V_2_31 is not set
# CT_BINUTILS_V_2_30 is not set
# CT_BINUTILS_V_2_29 is not set
# CT_BINUTILS_V_2_28 is not set
# CT_BINUTILS_V_2_27 is not set
# CT_BINUTILS_V_2_26 is not set
# CT_BINUTILS_NO_VERSIONS is not set
CT_BINUTILS_VERSION="2.34"
CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
CT_BINUTILS_later_than_2_30=y
CT_BINUTILS_2_30_or_later=y
CT_BINUTILS_later_than_2_27=y
CT_BINUTILS_2_27_or_later=y
CT_BINUTILS_later_than_2_25=y
CT_BINUTILS_2_25_or_later=y
CT_BINUTILS_later_than_2_23=y
CT_BINUTILS_2_23_or_later=y
#
# GNU binutils
#
CT_BINUTILS_HAS_HASH_STYLE=y
CT_BINUTILS_HAS_GOLD=y
CT_BINUTILS_HAS_PLUGINS=y
CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
CT_BINUTILS_LINKER_LD=y
CT_BINUTILS_LINKERS_LIST="ld"
CT_BINUTILS_LINKER_DEFAULT="bfd"
# CT_BINUTILS_PLUGINS is not set
CT_BINUTILS_RELRO=m
CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
# CT_BINUTILS_FOR_TARGET is not set
CT_ALL_BINUTILS_CHOICES="BINUTILS"
#
# C-library
#
# CT_LIBC_BIONIC is not set
# CT_LIBC_GLIBC is not set
# CT_LIBC_MUSL is not set
CT_LIBC_UCLIBC=y
CT_LIBC="uClibc"
CT_LIBC_CHOICE_KSYM="UCLIBC"
CT_THREADS="nptl"
CT_LIBC_UCLIBC_SHOW=y
#
# Options for uClibc
#
CT_LIBC_UCLIBC_PKG_KSYM="UCLIBC"
CT_UCLIBC_DIR_NAME="uClibc"
CT_UCLIBC_USE_UCLIBC_NG_ORG=y
CT_UCLIBC_USE="UCLIBC_NG"
CT_UCLIBC_NG_PKG_NAME="uClibc-ng"
# CT_UCLIBC_NG_SRC_RELEASE is not set
# CT_UCLIBC_NG_SRC_DEVEL is not set
CT_UCLIBC_NG_SRC_CUSTOM=y
CT_UCLIBC_NG_CUSTOM_LOCATION="${CT_TOP_DIR}/../trunk/libc/uClibc-1.0.42"
CT_UCLIBC_NG_PATCH_GLOBAL=y
# CT_UCLIBC_NG_PATCH_BUNDLED is not set
# CT_UCLIBC_NG_PATCH_LOCAL is not set
# CT_UCLIBC_NG_PATCH_BUNDLED_LOCAL is not set
# CT_UCLIBC_NG_PATCH_LOCAL_BUNDLED is not set
# CT_UCLIBC_NG_PATCH_NONE is not set
CT_UCLIBC_NG_PATCH_ORDER="global"
# CT_UCLIBC_NG_VERY_NEW is not set
CT_UCLIBC_NG_V_1_0_31=y
# CT_UCLIBC_NG_V_1_0_30 is not set
# CT_UCLIBC_NG_V_1_0_29 is not set
# CT_UCLIBC_NG_V_1_0_28 is not set
# CT_UCLIBC_NG_V_1_0_27 is not set
# CT_UCLIBC_NG_V_1_0_26 is not set
# CT_UCLIBC_NG_V_1_0_25 is not set
# CT_UCLIBC_NG_NO_VERSIONS is not set
CT_UCLIBC_NG_VERSION="1.0.31"
CT_UCLIBC_NG_MIRRORS="http://downloads.uclibc-ng.org/releases/${CT_UCLIBC_NG_VERSION}"
CT_UCLIBC_NG_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_UCLIBC_NG_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_UCLIBC_NG_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.bz2 .tar.gz"
CT_UCLIBC_NG_SIGNATURE_FORMAT="packed/.asc"
CT_UCLIBC_later_than_1_0_23=y
CT_UCLIBC_1_0_23_or_later=y
CT_UCLIBC_later_than_1_0_21=y
CT_UCLIBC_1_0_21_or_later=y
CT_UCLIBC_later_than_1_0_15=y
CT_UCLIBC_1_0_15_or_later=y
CT_UCLIBC_later_than_1_0_0=y
CT_UCLIBC_1_0_0_or_later=y
CT_UCLIBC_later_than_0_9_33_2=y
CT_UCLIBC_0_9_33_2_or_later=y
CT_LIBC_UCLIBC_HAS_LIBICONV=y
CT_LIBC_UCLIBC_PARALLEL=y
CT_LIBC_UCLIBC_NG=y
CT_UCLIBC_MERGED_LINUXTHREADS=y
CT_LIBC_UCLIBC_VERBOSITY_0=y
# CT_LIBC_UCLIBC_VERBOSITY_1 is not set
# CT_LIBC_UCLIBC_VERBOSITY_2 is not set
CT_LIBC_UCLIBC_VERBOSITY=""
CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
# CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
# CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
# CT_LIBC_UCLIBC_DEBUG_LEVEL_3 is not set
CT_LIBC_UCLIBC_DEBUG_LEVEL=0
CT_LIBC_UCLIBC_CONFIG_FILE="${CT_TOP_DIR}/../trunk/configs/boards/uclibc-mipsel.config"
CT_LIBC_UCLIBC_LNXTHRD=""
# CT_LIBC_UCLIBC_LOCALES is not set
CT_LIBC_UCLIBC_LIBICONV=y
CT_LIBC_UCLIBC_IPV6=y
CT_LIBC_UCLIBC_WCHAR=y
# CT_LIBC_UCLIBC_FENV is not set
# CT_LIBC_UCLIBC_HAS_SSP is not set
CT_ALL_LIBC_CHOICES="AVR_LIBC BIONIC GLIBC MINGW_W64 MOXIEBOX MUSL NEWLIB NONE UCLIBC"
CT_LIBC_SUPPORT_THREADS_ANY=y
CT_LIBC_SUPPORT_THREADS_NATIVE=y
CT_LIBC_SUPPORT_THREADS_LT=y
CT_LIBC_SUPPORT_THREADS_NONE=y
#
# Common C library options
#
CT_THREADS_NATIVE=y
# CT_THREADS_LT is not set
# CT_THREADS_NONE is not set
# CT_CREATE_LDSO_CONF is not set
CT_LIBC_XLDD=y
#
# C compiler
#
CT_CC_CORE_PASSES_NEEDED=y
CT_CC_CORE_PASS_1_NEEDED=y
CT_CC_CORE_PASS_2_NEEDED=y
CT_CC_SUPPORT_CXX=y
CT_CC_SUPPORT_FORTRAN=y
CT_CC_SUPPORT_ADA=y
CT_CC_SUPPORT_OBJC=y
CT_CC_SUPPORT_OBJCXX=y
CT_CC_SUPPORT_GOLANG=y
CT_CC_GCC=y
CT_CC="gcc"
CT_CC_CHOICE_KSYM="GCC"
CT_CC_GCC_SHOW=y
#
# Options for gcc
#
CT_CC_GCC_PKG_KSYM="GCC"
CT_GCC_DIR_NAME="gcc"
CT_GCC_USE_GNU=y
# CT_GCC_USE_LINARO is not set
CT_GCC_USE="GCC"
CT_GCC_PKG_NAME="gcc"
CT_GCC_SRC_RELEASE=y
# CT_GCC_SRC_DEVEL is not set
# CT_GCC_SRC_CUSTOM is not set
CT_GCC_PATCH_GLOBAL=y
# CT_GCC_PATCH_BUNDLED is not set
# CT_GCC_PATCH_LOCAL is not set
# CT_GCC_PATCH_BUNDLED_LOCAL is not set
# CT_GCC_PATCH_LOCAL_BUNDLED is not set
# CT_GCC_PATCH_NONE is not set
CT_GCC_PATCH_ORDER="global"
# CT_GCC_V_OLD is not set
# CT_GCC_V_9 is not set
# CT_GCC_V_8 is not set
CT_GCC_V_7=y
# CT_GCC_V_6 is not set
# CT_GCC_V_5 is not set
# CT_GCC_V_4_9 is not set
# CT_GCC_NO_VERSIONS is not set
CT_GCC_VERSION="7.5.0"
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GCC_SIGNATURE_FORMAT=""
CT_GCC_later_than_7=y
CT_GCC_7_or_later=y
CT_GCC_later_than_6=y
CT_GCC_6_or_later=y
CT_GCC_later_than_5=y
CT_GCC_5_or_later=y
CT_GCC_later_than_4_9=y
CT_GCC_4_9_or_later=y
CT_GCC_later_than_4_8=y
CT_GCC_4_8_or_later=y
CT_CC_GCC_HAS_LIBMPX=y
CT_CC_GCC_ENABLE_CXX_FLAGS=""
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-gnu-ld"
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld"
CT_CC_GCC_STATIC_LIBSTDCXX=y
# CT_CC_GCC_SYSTEM_ZLIB is not set
CT_CC_GCC_CONFIG_TLS=y
#
# Optimisation features
#
# CT_CC_GCC_USE_GRAPHITE is not set
# CT_CC_GCC_USE_LTO is not set
#
# Settings for libraries running on target
#
# CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
# CT_CC_GCC_LIBMUDFLAP is not set
# CT_CC_GCC_LIBGOMP is not set
# CT_CC_GCC_LIBSSP is not set
# CT_CC_GCC_LIBQUADMATH is not set
#
# Misc. obscure options.
#
CT_CC_CXA_ATEXIT=y
# CT_CC_GCC_DISABLE_PCH is not set
CT_CC_GCC_SJLJ_EXCEPTIONS=m
CT_CC_GCC_LDBL_128=m
# CT_CC_GCC_BUILD_ID is not set
CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
# CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
# CT_CC_GCC_LNK_HASH_STYLE_GNU is not set
# CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set
CT_CC_GCC_LNK_HASH_STYLE=""
CT_CC_GCC_DEC_FLOAT_AUTO=y
# CT_CC_GCC_DEC_FLOAT_BID is not set
# CT_CC_GCC_DEC_FLOAT_DPD is not set
# CT_CC_GCC_DEC_FLOATS_NO is not set
CT_CC_GCC_HAS_ARCH_OPTIONS=y
#
# archictecture-specific options
#
CT_CC_GCC_mips_llsc=m
CT_CC_GCC_mips_synci=m
# CT_CC_GCC_mips_plt is not set
CT_ALL_CC_CHOICES="GCC"
#
# Additional supported languages:
#
CT_CC_LANG_CXX=y
# CT_CC_LANG_FORTRAN is not set
# CT_CC_LANG_ADA is not set
# CT_CC_LANG_OBJC is not set
# CT_CC_LANG_OBJCXX is not set
# CT_CC_LANG_GOLANG is not set
CT_CC_LANG_OTHERS=""
#
# Debug facilities
#
# CT_DEBUG_DUMA is not set
# CT_DEBUG_GDB is not set
# CT_DEBUG_LTRACE is not set
# CT_DEBUG_STRACE is not set
CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE"
#
# Companion libraries
#
# CT_COMPLIBS_CHECK is not set
# CT_COMP_LIBS_CLOOG is not set
# CT_COMP_LIBS_EXPAT is not set
# CT_COMP_LIBS_GETTEXT is not set
CT_COMP_LIBS_GMP=y
CT_COMP_LIBS_GMP_PKG_KSYM="GMP"
CT_GMP_DIR_NAME="gmp"
CT_GMP_PKG_NAME="gmp"
CT_GMP_SRC_RELEASE=y
# CT_GMP_SRC_DEVEL is not set
# CT_GMP_SRC_CUSTOM is not set
CT_GMP_PATCH_GLOBAL=y
# CT_GMP_PATCH_BUNDLED is not set
# CT_GMP_PATCH_LOCAL is not set
# CT_GMP_PATCH_BUNDLED_LOCAL is not set
# CT_GMP_PATCH_LOCAL_BUNDLED is not set
# CT_GMP_PATCH_NONE is not set
CT_GMP_PATCH_ORDER="global"
CT_GMP_V_6_1=y
# CT_GMP_NO_VERSIONS is not set
CT_GMP_VERSION="6.1.2"
CT_GMP_MIRRORS="https://gmplib.org/download/gmp https://gmplib.org/download/gmp/archive $(CT_Mirrors GNU gmp)"
CT_GMP_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GMP_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GMP_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.bz2"
CT_GMP_SIGNATURE_FORMAT="packed/.sig"
CT_GMP_later_than_5_1_0=y
CT_GMP_5_1_0_or_later=y
CT_GMP_later_than_5_0_0=y
CT_GMP_5_0_0_or_later=y
CT_GMP_REQUIRE_5_0_0_or_later=y
CT_COMP_LIBS_ISL=y
CT_COMP_LIBS_ISL_PKG_KSYM="ISL"
CT_ISL_DIR_NAME="isl"
CT_ISL_PKG_NAME="isl"
CT_ISL_SRC_RELEASE=y
# CT_ISL_SRC_DEVEL is not set
# CT_ISL_SRC_CUSTOM is not set
CT_ISL_PATCH_GLOBAL=y
# CT_ISL_PATCH_BUNDLED is not set
# CT_ISL_PATCH_LOCAL is not set
# CT_ISL_PATCH_BUNDLED_LOCAL is not set
# CT_ISL_PATCH_LOCAL_BUNDLED is not set
# CT_ISL_PATCH_NONE is not set
CT_ISL_PATCH_ORDER="global"
CT_ISL_V_0_21=y
# CT_ISL_V_0_20 is not set
# CT_ISL_V_0_19 is not set
# CT_ISL_V_0_18 is not set
# CT_ISL_V_0_17 is not set
# CT_ISL_V_0_16 is not set
# CT_ISL_V_0_15 is not set
# CT_ISL_NO_VERSIONS is not set
CT_ISL_VERSION="0.21"
CT_ISL_MIRRORS="http://isl.gforge.inria.fr"
CT_ISL_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_ISL_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_ISL_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
CT_ISL_SIGNATURE_FORMAT=""
CT_ISL_later_than_0_18=y
CT_ISL_0_18_or_later=y
CT_ISL_later_than_0_15=y
CT_ISL_0_15_or_later=y
CT_ISL_later_than_0_14=y
CT_ISL_0_14_or_later=y
CT_ISL_later_than_0_13=y
CT_ISL_0_13_or_later=y
CT_ISL_later_than_0_12=y
CT_ISL_0_12_or_later=y
# CT_COMP_LIBS_LIBELF is not set
# CT_COMP_LIBS_LIBICONV is not set
CT_COMP_LIBS_MPC=y
CT_COMP_LIBS_MPC_PKG_KSYM="MPC"
CT_MPC_DIR_NAME="mpc"
CT_MPC_PKG_NAME="mpc"
CT_MPC_SRC_RELEASE=y
# CT_MPC_SRC_DEVEL is not set
# CT_MPC_SRC_CUSTOM is not set
CT_MPC_PATCH_GLOBAL=y
# CT_MPC_PATCH_BUNDLED is not set
# CT_MPC_PATCH_LOCAL is not set
# CT_MPC_PATCH_BUNDLED_LOCAL is not set
# CT_MPC_PATCH_LOCAL_BUNDLED is not set
# CT_MPC_PATCH_NONE is not set
CT_MPC_PATCH_ORDER="global"
CT_MPC_V_1_1=y
# CT_MPC_V_1_0 is not set
# CT_MPC_NO_VERSIONS is not set
CT_MPC_VERSION="1.1.0"
CT_MPC_MIRRORS="http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
CT_MPC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MPC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_MPC_ARCHIVE_FORMATS=".tar.gz"
CT_MPC_SIGNATURE_FORMAT="packed/.sig"
CT_MPC_1_1_0_or_later=y
CT_MPC_1_1_0_or_older=y
CT_COMP_LIBS_MPFR=y
CT_COMP_LIBS_MPFR_PKG_KSYM="MPFR"
CT_MPFR_DIR_NAME="mpfr"
CT_MPFR_PKG_NAME="mpfr"
CT_MPFR_SRC_RELEASE=y
# CT_MPFR_SRC_DEVEL is not set
# CT_MPFR_SRC_CUSTOM is not set
CT_MPFR_PATCH_GLOBAL=y
# CT_MPFR_PATCH_BUNDLED is not set
# CT_MPFR_PATCH_LOCAL is not set
# CT_MPFR_PATCH_BUNDLED_LOCAL is not set
# CT_MPFR_PATCH_LOCAL_BUNDLED is not set
# CT_MPFR_PATCH_NONE is not set
CT_MPFR_PATCH_ORDER="global"
CT_MPFR_V_4_0=y
# CT_MPFR_V_3_1 is not set
# CT_MPFR_NO_VERSIONS is not set
CT_MPFR_VERSION="4.0.2"
CT_MPFR_MIRRORS="http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
CT_MPFR_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MPFR_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_MPFR_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz .zip"
CT_MPFR_SIGNATURE_FORMAT="packed/.asc"
CT_MPFR_later_than_4_0_0=y
CT_MPFR_4_0_0_or_later=y
CT_MPFR_later_than_3_0_0=y
CT_MPFR_3_0_0_or_later=y
CT_MPFR_REQUIRE_3_0_0_or_later=y
# CT_COMP_LIBS_NCURSES is not set
CT_COMP_LIBS_ZLIB=y
CT_COMP_LIBS_ZLIB_PKG_KSYM="ZLIB"
CT_ZLIB_DIR_NAME="zlib"
CT_ZLIB_PKG_NAME="zlib"
CT_ZLIB_SRC_RELEASE=y
# CT_ZLIB_SRC_DEVEL is not set
# CT_ZLIB_SRC_CUSTOM is not set
CT_ZLIB_PATCH_GLOBAL=y
# CT_ZLIB_PATCH_BUNDLED is not set
# CT_ZLIB_PATCH_LOCAL is not set
# CT_ZLIB_PATCH_BUNDLED_LOCAL is not set
# CT_ZLIB_PATCH_LOCAL_BUNDLED is not set
# CT_ZLIB_PATCH_NONE is not set
CT_ZLIB_PATCH_ORDER="global"
CT_ZLIB_V_1_2_11=y
# CT_ZLIB_NO_VERSIONS is not set
CT_ZLIB_VERSION="1.2.11"
CT_ZLIB_MIRRORS="http://downloads.sourceforge.net/project/libpng/zlib/${CT_ZLIB_VERSION} https://www.zlib.net/"
CT_ZLIB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_ZLIB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_ZLIB_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_ZLIB_SIGNATURE_FORMAT="packed/.asc"
CT_ALL_COMP_LIBS_CHOICES="CLOOG EXPAT GETTEXT GMP ISL LIBELF LIBICONV MPC MPFR NCURSES ZLIB"
# CT_LIBICONV_NEEDED is not set
# CT_GETTEXT_NEEDED is not set
CT_GMP_NEEDED=y
CT_MPFR_NEEDED=y
CT_MPC_NEEDED=y
CT_ZLIB_NEEDED=y
CT_GMP=y
CT_MPFR=y
CT_MPC=y
CT_ZLIB=y
#
# Companion tools
#
# CT_COMP_TOOLS_FOR_HOST is not set
# CT_COMP_TOOLS_AUTOCONF is not set
# CT_COMP_TOOLS_AUTOMAKE is not set
# CT_COMP_TOOLS_BISON is not set
# CT_COMP_TOOLS_DTC is not set
# CT_COMP_TOOLS_LIBTOOL is not set
# CT_COMP_TOOLS_M4 is not set
# CT_COMP_TOOLS_MAKE is not set
CT_ALL_COMP_TOOLS_CHOICES="AUTOCONF AUTOMAKE BISON DTC LIBTOOL M4 MAKE"
#
# Test suite
#
# CT_TEST_SUITE_GCC is not set

1510
configs/kernel.config Normal file

File diff suppressed because it is too large Load diff

3
extra_flags/setup_hardlinks.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
ROOT=$(dirname $(realpath $0))
find "${ROOT}/../bin_original" ! -type d -exec sh -c 'ln -P fake_bin.sh $(basename $1)' _ {} \;

17
extra_flags/wrapper.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
BIN=$(basename $0)
ROOT=$(dirname $(realpath $0))
ORIGINAL_BIN="${ROOT}/../bin_original/${BIN}"
COMPILER_FLAGS="-O3"
LINKER_FLAGS="-O3"
if [[ "$BIN" == *"c++"* || "$BIN" == *"g++"* || "$BIN" == *"gcc"* ]]
then
FLAGS="$COMPILER_FLAGS"
elif [[ "$BIN" == *"ld"* ]]
then
FLAGS="$LINKER_FLAGS"
fi
exec "${ORIGINAL_BIN}" "$@" $FLAGS

BIN
media/luna_webui.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

13
patches/banner.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/trunk/user/scripts/profile b/trunk/user/scripts/profile
index 54cf6f7d25..51b1c52dc6 100755
--- a/trunk/user/scripts/profile
+++ b/trunk/user/scripts/profile
@@ -8,6 +8,8 @@ if [ "$PS1" ] ; then
export TERMINFO=/usr/share/terminfo
export TERM=xterm
[ -r /etc_ro/banner ] && cat /etc_ro/banner
+ echo "Praise the night!"
+ echo "Built with ponies and love"
echo "Version: $(nvram get firmver_sub)"; echo ""
fi;

View file

@ -0,0 +1,91 @@
diff --git a/trunk/Makefile b/trunk/Makefile
index 28fbbae519..736289696f 100755
--- a/trunk/Makefile
+++ b/trunk/Makefile
@@ -23,44 +23,44 @@ all: tools linux libc_only libs_only user_only romfs image
# Get the core stuff worked out
#
-ROOTDIR = $(shell pwd)
-HOSTCC = gcc
-ROMFSINST = $(ROOTDIR)/tools/romfs-inst.sh
-TFTPDIR = /tftpboot
+ROOTDIR := $(shell pwd)
+HOSTCC := gcc
+ROMFSINST := $(ROOTDIR)/tools/romfs-inst.sh
+TFTPDIR := /tftpboot
PATH := $(PATH):$(ROOTDIR)/tools
-VERSIONSTR = Mediatek/$(CONFIG_PRODUCT) Version $(VERSIONPKG)
+VERSIONSTR := Mediatek/$(CONFIG_PRODUCT) Version $(VERSIONPKG)
-BOARDDIR = $(ROOTDIR)/configs/boards/$(CONFIG_VENDOR)/$(CONFIG_FIRMWARE_PRODUCT_ID)
-LINUXDIR = linux-3.4.x
-LINUXINCDIR = $(ROOTDIR)/$(LINUXDIR)/include
-IMAGEDIR = $(ROOTDIR)/images
-ROMFSDIR = $(ROOTDIR)/romfs
-STAGEDIR = $(ROOTDIR)/stage
-SCRIPTSDIR = $(ROOTDIR)/config/scripts
-LINUX_CONFIG = $(ROOTDIR)/$(LINUXDIR)/.config
-ARCH_CONFIG = $(ROOTDIR)/vendors/config/mips/config.arch
-PROJECT_CONFIG = $(ROOTDIR)/.config
-SSTRIP_TOOL = $(if $(CONFIG_FIRMWARE_PERFORM_SSTRIP),$(ROOTDIR)/tools/sstrip/sstrip)
+BOARDDIR := $(ROOTDIR)/configs/boards/$(CONFIG_VENDOR)/$(CONFIG_FIRMWARE_PRODUCT_ID)
+LINUXDIR := linux-3.4.x
+LINUXINCDIR := $(ROOTDIR)/$(LINUXDIR)/include
+IMAGEDIR := $(ROOTDIR)/images
+ROMFSDIR := $(ROOTDIR)/romfs
+STAGEDIR := $(ROOTDIR)/stage
+SCRIPTSDIR := $(ROOTDIR)/config/scripts
+LINUX_CONFIG := $(ROOTDIR)/$(LINUXDIR)/.config
+ARCH_CONFIG := $(ROOTDIR)/vendors/config/mips/config.arch
+PROJECT_CONFIG := $(ROOTDIR)/.config
+SSTRIP_TOOL := $(if $(CONFIG_FIRMWARE_PERFORM_SSTRIP),$(ROOTDIR)/tools/sstrip/sstrip)
-PKG_CONFIG_SYSROOT_DIR = $(STAGEDIR)
-PKG_CONFIG_LIBDIR = $(PKG_CONFIG_SYSROOT_DIR)/lib
-PKG_CONFIG_PATH = $(PKG_CONFIG_LIBDIR)/pkgconfig
+PKG_CONFIG_SYSROOT_DIR := $(STAGEDIR)
+PKG_CONFIG_LIBDIR := $(PKG_CONFIG_SYSROOT_DIR)/lib
+PKG_CONFIG_PATH := $(PKG_CONFIG_LIBDIR)/pkgconfig
-FIRMWARE_MAXSIZE = $(shell awk '/"Firmware"/{ getline; getline; gsub(/,$$/,""); print strtonum($$2); }' $(BOARDDIR)/partitions.config)
+FIRMWARE_MAXSIZE := $(shell awk '/"Firmware"/{ getline; getline; gsub(/,$$/,""); print strtonum($$2); }' $(BOARDDIR)/partitions.config)
#NUM MAKE PROCESS = CPU NUMBER IN THE SYSTEM * CPU_OVERLOAD
-CPU_OVERLOAD = 1
-HOST_NCPU = $(shell if [ -f /proc/cpuinfo ]; then n=`getconf _NPROCESSORS_ONLN 2>/dev/null || echo 0`; if [ $$n -gt 1 ];then expr $$n \* ${CPU_OVERLOAD}; else echo $$n; fi; else echo 1; fi)
+CPU_OVERLOAD := 1
+HOST_NCPU := $(shell if [ -f /proc/cpuinfo ]; then n=`getconf _NPROCESSORS_ONLN 2>/dev/null || echo 0`; if [ $$n -gt 1 ];then expr $$n \* ${CPU_OVERLOAD}; else echo $$n; fi; else echo 1; fi)
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)
-FIRMWARE_KERNEL_VER="3.4"
-CONFIG_CROSS_COMPILER_ROOT = ${CONFIG_TOOLCHAIN_DIR}
-CONFIG_CROSS_COMPILER_PATH = $(CONFIG_CROSS_COMPILER_ROOT)/bin
-KERNEL_HEADERS_PATH = $(CONFIG_CROSS_COMPILER_ROOT)/mipsel-linux-uclibc/sysroot/usr/include
+FIRMWARE_KERNEL_VE:=="3.4"
+CONFIG_CROSS_COMPILER_ROOT := ${CONFIG_TOOLCHAIN_DIR}
+CONFIG_CROSS_COMPILER_PATH := $(CONFIG_CROSS_COMPILER_ROOT)/bin
+KERNEL_HEADERS_PATH := $(CONFIG_CROSS_COMPILER_ROOT)/mipsel-linux-uclibc/sysroot/usr/include
include $(ARCH_CONFIG)
@@ -68,11 +68,11 @@ include $(ARCH_CONFIG)
KERNEL_CROSS_COMPILE ?= $(CROSS_COMPILE)
ifneq ($(SUBARCH),)
# Using UML, so make the kernel and non-kernel with different ARCHs
-MAKEARCH = $(MAKE) ARCH=$(SUBARCH) CROSS_COMPILE=$(CROSS_COMPILE)
-MAKEARCH_KERNEL = $(MAKE) ARCH=$(ARCH) SUBARCH=$(SUBARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE)
+MAKEARCH := $(MAKE) -j$(HOST_NCPU) ARCH=$(SUBARCH) CROSS_COMPILE=$(CROSS_COMPILE)
+MAKEARCH_KERNEL := $(MAKE) -j$(HOST_NCPU) ARCH=$(ARCH) SUBARCH=$(SUBARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE)
else
-MAKEARCH = $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE)
-MAKEARCH_KERNEL = $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE)
+MAKEARCH := $(MAKE) -j$(HOST_NCPU) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE)
+MAKEARCH_KERNEL := $(MAKE) -j$(HOST_NCPU) ARCH=$(ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE)
endif
DIRS = libc libs user

10
patches/ls_lh.patch Normal file
View file

@ -0,0 +1,10 @@
diff --git a/trunk/user/scripts/profile b/trunk/user/scripts/profile
index 54cf6f7d25..7e48e1fc40 100755
--- a/trunk/user/scripts/profile
+++ b/trunk/user/scripts/profile
@@ -12,4 +12,5 @@ if [ "$PS1" ] ; then
fi;
+alias ls='ls -lh'
[ -r /opt/etc/profile ] && . /opt/etc/profile

85
patches/menuconfig.patch Normal file
View file

@ -0,0 +1,85 @@
diff --git a/toolchain/build_toolchain.sh b/toolchain/build_toolchain.sh
index 9e74a66fc9..3c318be505 100755
--- a/toolchain/build_toolchain.sh
+++ b/toolchain/build_toolchain.sh
@@ -25,6 +25,6 @@ if [ -d .build ]; then
rm -rf ${CONFIG_TOOLCHAIN_DIR}
fi
-(./ct-ng mipsel-linux-uclibc && ./ct-ng build) || exit 1
+(./ct-ng mipsel-linux-uclibc && ./ct-ng menuconfig && sed -e 's|CT_ISL_MIRRORS=.*$|CT_ISL_MIRRORS="https://libisl.sourceforge.io"|' -i .config && ./ct-ng build) || exit 1
echo "====================All IS DONE!========================"
diff --git a/trunk/Makefile b/trunk/Makefile
index 28fbbae519..f291955ba7 100755
--- a/trunk/Makefile
+++ b/trunk/Makefile
@@ -161,6 +161,11 @@ dep:
tools:
make -C tools
+menuconfig:
+ $(MAKE) -C $(LINUXDIR) menuconfig
+ $(MAKE) -C libc menuconfig
+ $(MAKE) -C user menuconfig
+
clean:
make clean -C tools
for dir in $(DIRS); do [ ! -d $$dir ] || $(MAKEARCH) -C $$dir clean ; done
diff --git a/trunk/build_firmware.sh b/trunk/build_firmware.sh
index aed97190d0..f681f1bca7 100755
--- a/trunk/build_firmware.sh
+++ b/trunk/build_firmware.sh
@@ -535,5 +535,7 @@ fi
#######################################################################
echo --------------------------MAKE-DEP--------------------------------
make dep
+echo --------------------------MAKE-MENUCONFIG-------------------------
+make menuconfig
echo --------------------------MAKE-ALL--------------------------------
make
diff --git a/trunk/libc/Makefile b/trunk/libc/Makefile
index 6d9083df5c..15f433b0a7 100755
--- a/trunk/libc/Makefile
+++ b/trunk/libc/Makefile
@@ -45,6 +45,9 @@ endif
%_clean:
$(MAKE) -C $(@:_clean=) clean
+menuconfig:
+ $(MAKE) -C $(LIBC_DIR) menuconfig
+
romfs:
$(STRIP) $(DESTDIR)/bin/ldd ; \
$(STRIP) $(DESTDIR)/sbin/ldconfig ; \
diff --git a/trunk/user/Makefile b/trunk/user/Makefile
index 7748f9b068..cbb8ff6527 100755
--- a/trunk/user/Makefile
+++ b/trunk/user/Makefile
@@ -204,6 +204,12 @@ romfs:
$(MAKE) -C $$i romfs ; \
done
+menuconfig:
+ for i in $(dir_y) ; do \
+ [ ! -d $$i ] || \
+ $(MAKE) -C $$i menuconfig ; \
+ done
+
clean:
for i in `ls -d *` ; do \
[ ! -d $$i ] || \
diff --git a/trunk/user/busybox/Makefile b/trunk/user/busybox/Makefile
index 8bcc93f5bb..8972c1f939 100755
--- a/trunk/user/busybox/Makefile
+++ b/trunk/user/busybox/Makefile
@@ -15,6 +15,9 @@ extract_test:
patch -d $(SRC_NAME) -p1 -i ../busybox-1.36.1-orig.patch ; \
fi )
+menuconfig:
+ $(MAKE) -C $(SRC_NAME) menuconfig
+
clean:
$(MAKE) -C $(SRC_NAME) distclean

View file

@ -0,0 +1,8 @@
_
| |
| | _ _ _ __ __ _
| | | | | || '_ \ / _` |
| |____| |_| || | | || (_| |
\_____/ \__,_||_| |_| \__,_|

View file

@ -0,0 +1,259 @@
/* Using :root to override */
:root {
--luna-gradient: linear-gradient(#1C4CC2 0%, #1551DE 25%, #173083 75%, #320080 100%);
--luna-short-gradient: linear-gradient(90deg, #320080 0%, #1C4CC2 100%);
--luna-border: #144BAC;
--luna-blue-dark: #00328A;
--luna-blue: #1866EF;
--luna-blue-bright: #1C4CC2;
--luna-midnight: #0A2658;
--luna-pink-bright: #E55DFA;
--luna-pink-dark: #DB20F8;
--luna-purple: #885DE4;
--luna-green-dark: #0A8F70;
--luna-green-bright:#66F4D4;
--luna-off-white: #CFE9F5;
}
:root body {
color: #FFFFFF;
background-color: #00000F;
}
:root .body_iframe {
background-color: var(--luna-blue-dark);;
}
:root a {
color: #F4AAFF;
}
:root a:hover {
color: var(--luna-pink-dark);
}
:root .help_tooltip {
color: #FFFFFF;
}
:root .help_tooltip:hover { background: #0a8f70;
color: #FFFFFF;
background-color: var(--luna-blue-bright);
border: 1px solid var(--luna-border);
}
:root select, :root input {
color: #FFFFFF;
background-color: var(--luna-blue-bright);
border: 1px solid var(--luna-border);
}
:root textarea {
color: #FFFFFF;
background: var(--luna-midnight);
border: 1px solid var(--luna-border);
}
:root tbody tr:first-child > th:only-child {
background-color: #3066C2 !important;
}
:root .table th, .table td {
border-top: 1px solid var(--luna-border);
}
:root #tabMenu + table td{
border-top: none;
}
:root .table-striped tr:nth-child(even) td {
background-color: var(--luna-blue-bright) !important;
}
:root .well {
background: var(--luna-blue-dark);;
}
:root .box.grad_colour_dark_blue h2.box_head {
background: var(--luna-gradient);
}
:root .nav-tabs {
border-bottom: 1px solid var(--luna-border);
}
:root .nav-tabs a {
border: none !important;
}
:root .nav-tabs a:hover {
background: #1044C6;
color: inherit;
}
:root .nav-tabs .active a {
background: var(--luna-blue-bright);
color: inherit;
}
:root .nav-list > li > a {
text-shadow: none;
}
:root .nav-list a:hover {
background: var(--luna-border);
color: var(--luna-off-white);
border-radius: 10px;
}
:root .sidebar-nav {
background: var(--luna-gradient);
border: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
:root .sidebar-nav a {
color: var(--luna-off-white);
text-shadow: 0 1px 0 #111111;
border: none !important;
}
:root .sidebar-nav a:hover {
background: var(--luna-short-gradient) no-repeat;
mix-blend-mode: screen;
}
:root .sidebar-nav .active a {
background: var(--luna-pink-bright);
}
:root .accordion a:hover {
background-size: 100% 80% !important;
background-position: center !important;
color: var(--luna-pink-bright);
}
:root .sidebar-nav ul, :root .sidebar-nav ul a {
background: none;
}
:root .btn {
background: var(--luna-blue);
text-shadow: none;
}
:root .btn:hover {
background: var(--luna-purple);
}
:root .itoggle > span {
display: none !important; /* Empty white span shows under toggles */
}
:root .progress .bar {
background: var(--luna-blue);
}
:root .alert {
color: #FFFFFF;
text-shadow: none;
border: none;
}
:root .alert-info {
background: var(--luna-blue);
border: 1px solid var(--luna-border);
}
:root .alert-danger, :root .alert-error {
background: var(--luna-pink-dark);
border: 1px solid var(--luna-pink-dark);
}
:root .popover-inner {
padding: 0;
backdrop-filter: blur(2.5px);
}
:root .popover-title {
background: #1866EF40;
border-bottom: 1px solid var(--luna-border);
}
:root .popover-content {
background: #00328A40;
}
:root .arrow-right {
display: none !important;
}
:root #TopBanner {
margin-top: 60px;
}
:root #logo {
width: 220px;
height: 162px;
}
:root #cpu_info, #mem_info, .adv_info {
border: none;
}
:root #syslog_panel_button {
background: var(--luna-blue-bright) !important;
color: #FFFFFF !important;
border: none !important;
}
:root .syslog_panel {
background: var(--luna-gradient);
border-color: var(--luna-pink-bright);
}
:root .popup_bg {
background: #0A2658AA;
backdrop-filter: blur(5px);
opacity: 1.0;
}
:root .popup_bg .well {
background: transparent !important;
border: none !important;;
transform: scale(1.25);
}
:root .progress .bar {
background: var(--luna-blue);
}
:root label {
color: var(--luna-off-white);
}
:root .label-info, :root .badge-info {
background: var(--luna-blue);
}
:root .label-important, :root .badge-important {
background: var(--luna-purple);
}
:root .label-success, :root .badge-success {
background: var(--luna-green-dark);
}
:root #hidden_frame, :root .wrapper > br {
display: none;
}
:root form {
margin: 0; /* Can't hide those, just override margin */
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

149
patches/strip_css.patch Normal file
View file

@ -0,0 +1,149 @@
diff --git a/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css b/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css
index 8583ae8a5f..316c98a2a8 100755
--- a/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css
+++ b/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css
@@ -126,7 +126,6 @@ body.body_iframe{
font: bold 12px/30px sans-serif;
padding: 0 10px;
text-decoration: none;
- /*white-space: nowrap;*/
}
.side_nav ul a img {
margin: 5px 5px -12px -3px;
@@ -248,8 +247,6 @@ li:last-child > div.accordion > a:last-child {
border-top: 1px solid #888888;
cursor: pointer;
}
-.bar_nav > ul > li > ul li:first-child > a, .side_nav > ul li:first-child > a {
-}
.bar_nav ul li:last-child ul a {
margin-bottom: 0;
}
@@ -282,22 +279,10 @@ li div.accordion a {
}
.grad_grey, .bar_nav ul a, .side_nav ul a, .bar_nav ul, .side_nav ul, .drop_box {
- background: #ffffff; /* old browsers */
- background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%); /* firefox */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ededed)); /* webkit */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=0 ); /* ie */
- background: -o-linear-gradient(top, #ffffff 0%, #ededed 99%);
- background: linear-gradient(top, #ffffff 0%, #ededed 99%);
- background: -ms-linear-gradient(top, #ffffff 0%, #ededed 99%);
+ background: linear-gradient(to bottom, #ffffff 0%, #ededed 99%);
}
.grad_grey_reverse, .bar_nav ul li:hover > a, .side_nav ul li:hover > a, .side_nav ul li.active > a {
- background: #ddd; /* old browsers */
- background: -moz-linear-gradient(top, #a0a3a8 0%, #888b90 100%); /* firefox */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a0a3a8), color-stop(100%, #888b90)); /* webkit */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0a3a8', endColorstr='#888b90', GradientType=0 ); /* ie */
- background: -o-linear-gradient(top, #a0a3a8 0%, #888b90 100%);
- background: linear-gradient(top, #a0a3a8 0%, #888b90 100%);
- background: -ms-linear-gradient(top, #a0a3a8 0%, #888b90 100%);
+ background: linear-gradient(to bottom, #a0a3a8 0%, #888b90 100%);
}
.box {
@@ -317,18 +302,9 @@ li div.accordion a {
}
.box.grad_colour_dark_blue h2.box_head {
- background-color: #006dcc;
- background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
- background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
- background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
- background-image: -o-linear-gradient(top, #0088cc, #0044cc);
- background-image: linear-gradient(top, #0088cc, #0044cc);
+ background-image: linear-gradient(to bottom, #0088cc, #0044cc);
background-repeat: repeat-x;
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
- border-color: #0044cc #0044cc #002a80;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
- filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color:#ffffff;
margin-bottom: 1px;
@@ -442,11 +418,8 @@ a.help_tooltip:hover {text-decoration: none; border-bottom: 1px dotted grey; col
margin-left:-1px;
width: 35%;
height: 566px;
- background-color:#ccc;
background: url("/bootstrap/img/loading_bg.png") repeat scroll 50% 50% #ccc;
- filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
opacity: .6;
- -moz-opacity: 0.6;
}
.FileStatus{
@@ -461,7 +434,6 @@ a.help_tooltip:hover {text-decoration: none; border-bottom: 1px dotted grey; col
background:url(/bootstrap/img/wl_device/3.gif);
background-repeat:no-repeat;
background-position: left;
- /*margin-left:2px;*/
padding-left:23px;
padding-top:3px;
}
@@ -503,8 +475,6 @@ textarea[readonly] {
z-index: 90;
border: 1px solid #ccc;
- -webkit-border-radius: 4px 4px 0px 4px;
- -moz-border-radius: 4px 4px 0px 4px;
border-radius: 4px 4px 0px 4px;
}
@@ -515,36 +485,18 @@ textarea[readonly] {
#syslog_panel_button {
display: inline-block;
- *display: inline;
margin-bottom: 0;
- *margin-left: .3em;
color: #333333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
cursor: pointer;
- background-color: #f5f5f5;
- *background-color: #e6e6e6;
- background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
- background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
- background-image: linear-gradient(top, #ffffff, #e6e6e6);
- background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-repeat: repeat-x;
border: 1px solid #cccccc;
- *border: 0;
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-bottom-color: #b3b3b3;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
border-radius: 4px;
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
- *zoom: 1;
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
padding: 2px 6px;
@@ -554,14 +506,7 @@ textarea[readonly] {
#syslog_panel_button:hover {
color: #333333;
text-decoration: none;
- background-color: #e6e6e6;
- *background-color: #d9d9d9;
- background-image: -ms-linear-gradient(top, #e6e6e6, #ffffff);
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e6e6e6), to(#ffffff));
- background-image: -webkit-linear-gradient(top, #e6e6e6, #ffffff);
- background-image: -o-linear-gradient(top, #e6e6e6, #ffffff);
- background-image: linear-gradient(top, #e6e6e6, #ffffff);
- background-image: -moz-linear-gradient(top, #e6e6e6, #ffffff);
+ background-image: linear-gradient(to bottom, #e6e6e6, #ffffff);
}
#log_area {

62
patches/www.patch Normal file
View file

@ -0,0 +1,62 @@
diff --git a/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css b/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css
index 8583ae8a5f..475c7759b9 100755
--- a/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css
+++ b/trunk/user/www/n56u_ribbon_fixed/bootstrap/css/main.css
@@ -1,3 +1,5 @@
+@import url(luna.css);
+
body{
background-color: #282828;
overflow-y: scroll;
diff --git a/trunk/user/www/n56u_ribbon_fixed/state.js b/trunk/user/www/n56u_ribbon_fixed/state.js
index a4f697ff7d..12eb9054e1 100755
--- a/trunk/user/www/n56u_ribbon_fixed/state.js
+++ b/trunk/user/www/n56u_ribbon_fixed/state.js
@@ -533,7 +533,7 @@ function show_menu(L1, L2, L3){
if(menuL2_title[i] == "")
continue;
else if(L2 == i)
- menu2_code += '<a href="javascript: void(0)" style="color: #005580; font-weight: bold"><i class="icon-minus"></i>&nbsp;&nbsp;'+menuL2_title[i]+'</a>\n';
+ menu2_code += '<a href="javascript: void(0)" style="color: #E21CFF; font-weight: bold"><i class="icon-minus"></i>&nbsp;&nbsp;'+menuL2_title[i]+'</a>\n';
else
menu2_code += '<a href="'+menuL2_link[i]+'"><i class="icon-minus"></i>&nbsp;&nbsp;'+menuL2_title[i]+'</a>\n';
}
@@ -561,11 +561,10 @@ function show_menu(L1, L2, L3){
function show_footer(){
footer_code = '<div align="center" class="bottom-image"></div>\n';
+ footer_code +='<div align="center">Built with ponies and love by <a href="https://github.com/ryze312">Ryze</a> 💜</div>\n';
footer_code +='<div align="center" class="copyright"><#footer_copyright_desc#></div>\n';
footer_code +='<div align="center">\n';
- footer_code +=' <span>© Linaro &amp; Alxdm &amp; Mahtab &amp; Hadzhioglu</span></br>\n';
- footer_code +=' <span>Develops by <a href="https://gitlab.com/hadzhioglu/padavan-ng">Hadzhioglu</a></span></br>\n';
- footer_code +=' <span>Firmware distribution is prohibited and Non-Commercial Use Only</span></br>\n';
+ footer_code +=' <span>© Linaro &amp; Alxdm &amp; Mahtab &amp; <a href="https://gitlab.com/hadzhioglu/padavan-ng">Hadzhioglu</a></span></br>\n';
footer_code +='</div>\n';
$("footer").innerHTML = footer_code;
diff --git a/trunk/user/www/Makefile b/trunk/user/www/Makefile
index d525149eda..5b002c0c3d 100755
--- a/trunk/user/www/Makefile
+++ b/trunk/user/www/Makefile
@@ -7,9 +7,9 @@ ROMFS_DIR = $(ROOTDIR)/romfs
include $(ROOTDIR)/user/shared/boards.mk
PROJECT_HOME_URL="https:\/\/gitlab.com\/hadzhioglu\/padavan-ng"
-LABEL_COPYRIGHT_TEXT="© 2011-2023 Padavan \& N56U project community \& Building a firmware: `date +'%d.%m.%Y %H:%M:%S'`"
+LABEL_COPYRIGHT_TEXT="© 2011-2023 Padavan \& N56U project community"
-BOARD_PATTERN=s/ZVMODELVZ/$(CONFIG_FIRMWARE_PRODUCT_ID)/g
+BOARD_PATTERN=s/ZVMODELVZ/Luna/g
COPYR_PATTERN=s/ZVCOPYRVZ/$(LABEL_COPYRIGHT_TEXT)/g
DWURL_PATTERN=s/ZVDWURLVZ/$(PROJECT_HOME_URL)/g
@@ -82,7 +82,7 @@ ifeq ($(CONFIG_FIRMWARE_INCLUDE_LANG_UK),y)
cp dict/UK.dict $(ROMFS_DIR)/www
endif
cat $(ROMFS_DIR)/www/EN.header dict/EN.footer > $(ROMFS_DIR)/www/EN.dict
- sed -i 's/^Web_Title=.*/Web_Title=ZVMODELVZ Wireless Router/' $(ROMFS_DIR)/www/*.dict
+ sed -i 's/^Web_Title=.*/Web_Title=ZVMODELVZ/' $(ROMFS_DIR)/www/*.dict
sed $(BOARD_PATTERN) -i $(ROMFS_DIR)/www/*.dict
sed $(COPYR_PATTERN) -i $(ROMFS_DIR)/www/*.dict
sed $(DWURL_PATTERN) -i $(ROMFS_DIR)/www/*.dict