Index: kernel/m1000/5.4.211-5.7.226-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/m1000/5.4.211-5.7.226-headers/kernel-headers-pkg-install.sh (revision 372)
+++ kernel/m1000/5.4.211-5.7.226-headers/kernel-headers-pkg-install.sh (nonexistent)
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: kernel/m1000/5.4.211-5.7.226-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/m1000/5.4.211-5.7.226-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/m1000/5.4.211-5.7.226-headers/kernel-headers-pkg-description.in (revision 372)
+++ kernel/m1000/5.4.211-5.7.226-headers/kernel-headers-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-kernel-headers: Linux @KERNEL_VERSION@ Header Files
-kernel-headers:
-kernel-headers: Linus Torvalds' Linux kernel header files.
-kernel-headers:
-kernel-headers:
-kernel-headers:
-kernel-headers:
-kernel-headers:
-kernel-headers:
-kernel-headers:
-kernel-headers:
Index: kernel/m1000/5.4.211-5.7.226-headers/Makefile
===================================================================
--- kernel/m1000/5.4.211-5.7.226-headers/Makefile (revision 372)
+++ kernel/m1000/5.4.211-5.7.226-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_BAIKAL_M1)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/Baikal/M1000
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 5.4.211-5.7.226
-modules_version = 5.4.211
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/Baikal/M1000/linux-m1-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-m1-$(full_version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-
-build_kh_pkg = $(TARGET_BUILD_DIR)/.kernel_headers_pkg_done
-
-
-PATCHES = PATCHES
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
-ARCH = arm64
-endif
-
-USE_TARGET_DEST_DIR_SYSROOT = no
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-KH_DEV_PKG_NAME = kernel-headers
-KH_DEV_PKG_VERSION = 5.4.211
-KH_DEV_PKG_ARCH = $(PKGARCH)
-KH_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
-KH_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-KH_DEV_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-KH_DEV_PKG_SHORT_DESCRIPTION = Linux kernel header files
-KH_DEV_PKG_URL = $(BUG_URL)
-KH_DEV_PKG_LICENSE = GPLv2
-KH_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-pkg-description
-KH_DEV_PKG_DESCRIPTION_FILE_IN = $(KH_DEV_PKG_NAME)-pkg-description.in
-KH_DEV_PKG_INSTALL_SCRIPT = $(KH_DEV_PKG_NAME)-pkg-install.sh
-
-
-KH_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-package
-
-pkg_basename = $(KH_DEV_PKG_NAME)-$(KH_DEV_PKG_VERSION)-$(KH_DEV_PKG_ARCH)-$(KH_DEV_PKG_DISTRO_NAME)-$(KH_DEV_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(build_kh_pkg)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../../build-system/core.mk
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @touch $@
-
-$(SRC_DIR)/include/generated/uapi/linux/version.h: $(src_done)
- @touch $(SRC_DIR)/.config
- @$(MAKE) -C $(SRC_DIR) \
- ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
- include/generated/uapi/linux/version.h
-
-$(KH_DEV_PKG)/usr/include/linux/autoconf.h: $(SRC_DIR)/include/generated/uapi/linux/version.h
- @mkdir -p $(KH_DEV_PKG)/usr
- $(MAKE) -j1 -C $(SRC_DIR) headers_install \
- ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
- INSTALL_HDR_PATH=$(KH_DEV_PKG)/usr
- @touch $@
-
-$(build_kh_pkg): $(KH_DEV_PKG)/usr/include/linux/autoconf.h
- @( cd $(KH_DEV_PKG)/usr/include ; \
- for file in `find . -name *.install*` ; do \
- rm -f $$file; \
- done )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(KH_DEV_PKG))
- @touch $@
-
-$(KH_DEV_PKG_DESCRIPTION_FILE): $(KH_DEV_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@KERNEL_VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(build_kh_pkg) $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG_INSTALL_SCRIPT)
- @cp $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG)/.DESCRIPTION
- @cp $(KH_DEV_PKG_INSTALL_SCRIPT) $(KH_DEV_PKG)/.INSTALL
- @$(BUILD_BIN_PKG_REQUIRES) $(KH_DEV_PKG)/.REQUIRES
- @echo "pkgname=$(KH_DEV_PKG_NAME)" > $(KH_DEV_PKG)/.PKGINFO ; \
- echo "pkgver=$(KH_DEV_PKG_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
- echo "arch=$(KH_DEV_PKG_ARCH)" >> $(KH_DEV_PKG)/.PKGINFO ; \
- echo "distroname=$(KH_DEV_PKG_DISTRO_NAME)" >> $(KH_DEV_PKG)/.PKGINFO ; \
- echo "distrover=$(KH_DEV_PKG_DISTRO_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
- echo "group=$(KH_DEV_PKG_GROUP)" >> $(KH_DEV_PKG)/.PKGINFO ; \
- echo "short_description=\"$(KH_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(KH_DEV_PKG)/.PKGINFO ; \
- echo "url=$(KH_DEV_PKG_URL)" >> $(KH_DEV_PKG)/.PKGINFO ; \
- echo "license=$(KH_DEV_PKG_LICENSE)" >> $(KH_DEV_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(KH_DEV_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: kernel/m1000/5.4.211-5.7.226-headers
===================================================================
--- kernel/m1000/5.4.211-5.7.226-headers (revision 372)
+++ kernel/m1000/5.4.211-5.7.226-headers (nonexistent)
Property changes on: kernel/m1000/5.4.211-5.7.226-headers
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: kernel/m1000/6.1.63-6.4.92-headers/Makefile
===================================================================
--- kernel/m1000/6.1.63-6.4.92-headers/Makefile (nonexistent)
+++ kernel/m1000/6.1.63-6.4.92-headers/Makefile (revision 373)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_BAIKAL_M1)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/Baikal/M1000
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.63-6.4.92
+modules_version = 6.1.63
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/Baikal/M1000/linux-m1-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-m1-$(full_version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+
+build_kh_pkg = $(TARGET_BUILD_DIR)/.kernel_headers_pkg_done
+
+
+PATCHES = PATCHES
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
+ARCH = arm64
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+KH_DEV_PKG_NAME = kernel-headers
+KH_DEV_PKG_VERSION = 6.1.63
+KH_DEV_PKG_ARCH = $(PKGARCH)
+KH_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+KH_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+KH_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+KH_DEV_PKG_SHORT_DESCRIPTION = Linux kernel header files
+KH_DEV_PKG_URL = $(BUG_URL)
+KH_DEV_PKG_LICENSE = GPLv2
+KH_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-pkg-description
+KH_DEV_PKG_DESCRIPTION_FILE_IN = $(KH_DEV_PKG_NAME)-pkg-description.in
+KH_DEV_PKG_INSTALL_SCRIPT = $(KH_DEV_PKG_NAME)-pkg-install.sh
+
+
+KH_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(KH_DEV_PKG_NAME)-package
+
+pkg_basename = $(KH_DEV_PKG_NAME)-$(KH_DEV_PKG_VERSION)-$(KH_DEV_PKG_ARCH)-$(KH_DEV_PKG_DISTRO_NAME)-$(KH_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_kh_pkg)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(SRC_DIR)/include/generated/uapi/linux/version.h: $(src_done)
+ @touch $(SRC_DIR)/.config
+ @$(MAKE) -C $(SRC_DIR) \
+ ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
+ include/generated/uapi/linux/version.h
+
+$(KH_DEV_PKG)/usr/include/linux/autoconf.h: $(SRC_DIR)/include/generated/uapi/linux/version.h
+ @mkdir -p $(KH_DEV_PKG)/usr
+ $(MAKE) -j1 -C $(SRC_DIR) headers_install \
+ ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_PREFIX) \
+ INSTALL_HDR_PATH=$(KH_DEV_PKG)/usr
+ @touch $@
+
+$(build_kh_pkg): $(KH_DEV_PKG)/usr/include/linux/autoconf.h
+ @( cd $(KH_DEV_PKG)/usr/include ; \
+ for file in `find . -name *.install*` ; do \
+ rm -f $$file; \
+ done )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(KH_DEV_PKG))
+ @touch $@
+
+$(KH_DEV_PKG_DESCRIPTION_FILE): $(KH_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@KERNEL_VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(build_kh_pkg) $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(KH_DEV_PKG_DESCRIPTION_FILE) $(KH_DEV_PKG)/.DESCRIPTION
+ @cp $(KH_DEV_PKG_INSTALL_SCRIPT) $(KH_DEV_PKG)/.INSTALL
+ @$(BUILD_BIN_PKG_REQUIRES) $(KH_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(KH_DEV_PKG_NAME)" > $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(KH_DEV_PKG_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(KH_DEV_PKG_ARCH)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(KH_DEV_PKG_DISTRO_NAME)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(KH_DEV_PKG_DISTRO_VERSION)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(KH_DEV_PKG_GROUP)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(KH_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(KH_DEV_PKG_URL)" >> $(KH_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(KH_DEV_PKG_LICENSE)" >> $(KH_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(KH_DEV_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: kernel/m1000/6.1.63-6.4.92-headers/PATCHES
===================================================================
Index: kernel/m1000/6.1.63-6.4.92-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/m1000/6.1.63-6.4.92-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/m1000/6.1.63-6.4.92-headers/kernel-headers-pkg-description.in (revision 373)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+kernel-headers: Linux @KERNEL_VERSION@ Header Files
+kernel-headers:
+kernel-headers: Linus Torvalds' Linux kernel header files.
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
+kernel-headers:
Index: kernel/m1000/6.1.63-6.4.92-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/m1000/6.1.63-6.4.92-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/m1000/6.1.63-6.4.92-headers/kernel-headers-pkg-install.sh (revision 373)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: kernel/m1000/6.1.63-6.4.92-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/m1000/6.1.63-6.4.92-headers
===================================================================
--- kernel/m1000/6.1.63-6.4.92-headers (nonexistent)
+++ kernel/m1000/6.1.63-6.4.92-headers (revision 373)
Property changes on: kernel/m1000/6.1.63-6.4.92-headers
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: kernel-headers/Makefile
===================================================================
--- kernel-headers/Makefile (revision 372)
+++ kernel-headers/Makefile (revision 373)
@@ -134,7 +134,7 @@
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
-REQUIRES = dev/kernel/m1000/5.4.211-5.7.226-headers
+REQUIRES = dev/kernel/m1000/6.1.63-6.4.92-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER8LE_GLIBC)),)
Index: kernel-source/baikal-m1/5.4.211-5.7.226/doc/README.in
===================================================================
--- kernel-source/baikal-m1/5.4.211-5.7.226/doc/README.in (revision 372)
+++ kernel-source/baikal-m1/5.4.211-5.7.226/doc/README.in (nonexistent)
@@ -1,52 +0,0 @@
-
-How to Build External Modules
------------------------------
-
-To build external modules, you must have a prebuilt kernel available that contains
-the configuration and header files used in the build. Also, the kernel must have been
-built with modules enabled.
-
-Radix cross Linux provides a 'kernel-source' package installed here.
-
-This kernel source not ready for build modules out-of-tree because Radix cross Linux
-provides only cross-compiled packages.
-
-To prepare kernel source you have to do following:
-
- $ cd /usr/src/@KERNEL_SOURCE@
- $ make oldconfig
- $ make modules_prepare
-
- If you are using a Radix cross Linux distribution kernel,
-there will be a 'kernel-source' package for the kernel you are running provided by
-Radix cross Linux distribution.
-
-This will make sure the kernel contains the information required. The target exists
-solely as a simple way to prepare a kernel source tree for building external modules.
-
-NOTE: 'modules_prepare' will not build Module.symvers even if CONFIG_MODVERSIONS is set;
-therefore, a full kernel build needs to be executed to make module versioning work.
-
-
-Command Syntax
---------------
-
-The command to build an external module is:
-
- $ make -C <path_to_kernel_src> M=$PWD
-
-The kbuild system knows that an external module is being built due to the 'M=<dir>'
-option given in the command.
-
-To build against the running kernel use:
-
- $ make -C /lib/modules/`uname -r`/build M=$PWD
-
-Then to install the module(s) just built, add the target 'modules_install' to the command:
-
- $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install
-
-
-For mode details please look at
- https://www.kernel.org/doc/html/latest/kbuild/modules.html
-page.
Index: kernel-source/baikal-m1/5.4.211-5.7.226/doc
===================================================================
--- kernel-source/baikal-m1/5.4.211-5.7.226/doc (revision 372)
+++ kernel-source/baikal-m1/5.4.211-5.7.226/doc (nonexistent)
Property changes on: kernel-source/baikal-m1/5.4.211-5.7.226/doc
___________________________________________________________________
Deleted: svn:ignore
## -1,73 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: kernel-source/baikal-m1/5.4.211-5.7.226/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/baikal-m1/5.4.211-5.7.226/kernel-source-pkg-install.sh (revision 372)
+++ kernel-source/baikal-m1/5.4.211-5.7.226/kernel-source-pkg-install.sh (nonexistent)
@@ -1,65 +0,0 @@
-#!/bin/sh
-
-# Preserve new files
-install_file() {
- NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
- # If there's no file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- touch -r $NEW ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- install_file $NEW
-}
-
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_update() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_update() {
- post_install
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: kernel-source/baikal-m1/5.4.211-5.7.226/kernel-source-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel-source/baikal-m1/5.4.211-5.7.226/PATCHES
===================================================================
--- kernel-source/baikal-m1/5.4.211-5.7.226/PATCHES (revision 372)
+++ kernel-source/baikal-m1/5.4.211-5.7.226/PATCHES (nonexistent)
@@ -1,2 +0,0 @@
-
-../../../../sources/Linux/Baikal/M1000/patches/linux-m1-5.4.211-5.7.226-host-limits.patch -p0
Index: kernel-source/baikal-m1/5.4.211-5.7.226/Makefile
===================================================================
--- kernel-source/baikal-m1/5.4.211-5.7.226/Makefile (revision 372)
+++ kernel-source/baikal-m1/5.4.211-5.7.226/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_BAIKAL_M1)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/Baikal/M1000
-
-REQUIRES = boot/kernel/baikal-m1/5.4.211-5.7.226
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 5.4.211-5.7.226
-subversion =
-modules_version = 5.4.211
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/Baikal/M1000/linux-m1-$(full_version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-m1-$(full_version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-config = $(TARGET_DEST_DIR)/bootfs/config
-readme_in = $(CURDIR)/doc/README.in
-
-devel_source_done = $(TARGET_BUILD_DIR)/.devel_source_done
-
-
-PATCHES = PATCHES
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
-ARCH = arm64
-endif
-
-USE_TARGET_DEST_DIR_SYSROOT = no
-
-
-####### Targets
-
-
-PKG_GROUP = dev
-
-KERNEL_DEV_PKG_NAME = kernel-source
-KERNEL_DEV_PKG_VERSION = 5.4.211
-KERNEL_DEV_PKG_ARCH = $(PKGARCH)
-KERNEL_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
-KERNEL_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-KERNEL_DEV_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-KERNEL_DEV_PKG_SHORT_DESCRIPTION = Linux Kernel Source
-KERNEL_DEV_PKG_URL = $(BUG_URL)
-KERNEL_DEV_PKG_LICENSE = GPLv2
-KERNEL_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(KERNEL_DEV_PKG_NAME)-pkg-description
-KERNEL_DEV_PKG_DESCRIPTION_FILE_IN = $(KERNEL_DEV_PKG_NAME)-pkg-description.in
-KERNEL_DEV_PKG_INSTALL_SCRIPT = $(KERNEL_DEV_PKG_NAME)-pkg-install.sh
-
-KERNEL_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(KERNEL_DEV_PKG_NAME)-package
-
-build_kernel_pkg = $(TARGET_BUILD_DIR)/.kernel_pkg_done
-
-pkg_basename = $(KERNEL_DEV_PKG_NAME)-$(KERNEL_DEV_PKG_VERSION)-$(KERNEL_DEV_PKG_ARCH)-$(KERNEL_DEV_PKG_DISTRO_NAME)-$(KERNEL_DEV_PKG_DISTRO_VERSION)
-
-pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
-pkg_certificate = $(call cert-name,$(pkg_archive))
-pkg_signature = $(call sign-name,$(pkg_archive))
-pkg_description = $(call desc-name,$(pkg_archive))
-products = $(call pkg-files,$(pkg_archive))
-
-BUILD_TARGETS = $(devel_source_done)
-BUILD_TARGETS += $(build_kernel_pkg)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../../build-system/core.mk
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @touch $@
-
-$(devel_source_done): $(src_done)
- @cp $(config) $(SRC_DIR)/.config
- @touch $@
-
-$(build_kernel_pkg): $(devel_source_done)
- @mkdir -p $(KERNEL_DEV_PKG)/usr/src
- # ======= Install kernel sources =======
- @cat $(readme_in) | \
- sed 's,@KERNEL_SOURCE@,linux-m1-$(full_version),' \
- > $(KERNEL_DEV_PKG)/usr/src/README.linux-m1-$(full_version)
- @cp -a $(SRC_DIR) $(KERNEL_DEV_PKG)/usr/src
- @mkdir -p $(KERNEL_DEV_PKG)/lib/modules/$(modules_version)
- @( cd $(KERNEL_DEV_PKG)/lib/modules/$(modules_version) ; \
- ln -sf ../../../usr/src/linux-m1-$(full_version) build ; \
- ln -sf ../../../usr/src/linux-m1-$(full_version) source ; \
- )
- @touch $@
-
-$(KERNEL_DEV_PKG_DESCRIPTION_FILE): $(KERNEL_DEV_PKG_DESCRIPTION_FILE_IN)
- @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
-
-$(pkg_certificate) : $(pkg_archive) ;
-$(pkg_signature) : $(pkg_archive) ;
-$(pkg_description) : $(pkg_archive) ;
-
-$(pkg_archive): $(build_kernel_pkg) $(KERNEL_DEV_PKG_DESCRIPTION_FILE) $(KERNEL_DEV_PKG_INSTALL_SCRIPT)
- @cp $(KERNEL_DEV_PKG_DESCRIPTION_FILE) $(KERNEL_DEV_PKG)/.DESCRIPTION
- @cp $(KERNEL_DEV_PKG_INSTALL_SCRIPT) $(KERNEL_DEV_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(KERNEL_DEV_PKG)/.REQUIRES
- @echo "pkgname=$(KERNEL_DEV_PKG_NAME)" > $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "pkgver=$(KERNEL_DEV_PKG_VERSION)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "arch=$(KERNEL_DEV_PKG_ARCH)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "distroname=$(KERNEL_DEV_PKG_DISTRO_NAME)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "distrover=$(KERNEL_DEV_PKG_DISTRO_VERSION)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "group=$(KERNEL_DEV_PKG_GROUP)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "short_description=\"$(KERNEL_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "url=$(KERNEL_DEV_PKG_URL)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
- echo "license=$(KERNEL_DEV_PKG_LICENSE)" >> $(KERNEL_DEV_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(KERNEL_DEV_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: kernel-source/baikal-m1/5.4.211-5.7.226/kernel-source-pkg-description.in
===================================================================
--- kernel-source/baikal-m1/5.4.211-5.7.226/kernel-source-pkg-description.in (revision 372)
+++ kernel-source/baikal-m1/5.4.211-5.7.226/kernel-source-pkg-description.in (nonexistent)
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-kernel-source: Linux @VERSION@ Kernel Source
-kernel-source:
-kernel-source: Linux kernel source for development and build modules out-of-tree.
-kernel-source:
-kernel-source:
-kernel-source:
-kernel-source:
-kernel-source:
-kernel-source:
-kernel-source:
-kernel-source:
Index: kernel-source/baikal-m1/5.4.211-5.7.226
===================================================================
--- kernel-source/baikal-m1/5.4.211-5.7.226 (revision 372)
+++ kernel-source/baikal-m1/5.4.211-5.7.226 (nonexistent)
Property changes on: kernel-source/baikal-m1/5.4.211-5.7.226
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: kernel-source/baikal-m1/6.1.63-6.4.92/Makefile
===================================================================
--- kernel-source/baikal-m1/6.1.63-6.4.92/Makefile (nonexistent)
+++ kernel-source/baikal-m1/6.1.63-6.4.92/Makefile (revision 373)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_BAIKAL_M1)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/Baikal/M1000
+
+REQUIRES = boot/kernel/baikal-m1/6.1.63-6.4.92
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.63-6.4.92
+subversion =
+modules_version = 6.1.63
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/Baikal/M1000/linux-m1-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-m1-$(full_version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+config = $(TARGET_DEST_DIR)/bootfs/config
+readme_in = $(CURDIR)/doc/README.in
+
+devel_source_done = $(TARGET_BUILD_DIR)/.devel_source_done
+
+
+PATCHES = PATCHES
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
+ARCH = arm64
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+####### Targets
+
+
+PKG_GROUP = dev
+
+KERNEL_DEV_PKG_NAME = kernel-source
+KERNEL_DEV_PKG_VERSION = 6.1.63
+KERNEL_DEV_PKG_ARCH = $(PKGARCH)
+KERNEL_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+KERNEL_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+KERNEL_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+KERNEL_DEV_PKG_SHORT_DESCRIPTION = Linux Kernel Source
+KERNEL_DEV_PKG_URL = $(BUG_URL)
+KERNEL_DEV_PKG_LICENSE = GPLv2
+KERNEL_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(KERNEL_DEV_PKG_NAME)-pkg-description
+KERNEL_DEV_PKG_DESCRIPTION_FILE_IN = $(KERNEL_DEV_PKG_NAME)-pkg-description.in
+KERNEL_DEV_PKG_INSTALL_SCRIPT = $(KERNEL_DEV_PKG_NAME)-pkg-install.sh
+
+KERNEL_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(KERNEL_DEV_PKG_NAME)-package
+
+build_kernel_pkg = $(TARGET_BUILD_DIR)/.kernel_pkg_done
+
+pkg_basename = $(KERNEL_DEV_PKG_NAME)-$(KERNEL_DEV_PKG_VERSION)-$(KERNEL_DEV_PKG_ARCH)-$(KERNEL_DEV_PKG_DISTRO_NAME)-$(KERNEL_DEV_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(devel_source_done)
+BUILD_TARGETS += $(build_kernel_pkg)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(devel_source_done): $(src_done)
+ @cp $(config) $(SRC_DIR)/.config
+ @touch $@
+
+$(build_kernel_pkg): $(devel_source_done)
+ @mkdir -p $(KERNEL_DEV_PKG)/usr/src
+ # ======= Install kernel sources =======
+ @cat $(readme_in) | \
+ sed 's,@KERNEL_SOURCE@,linux-m1-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-m1-$(full_version)
+ @cp -a $(SRC_DIR) $(KERNEL_DEV_PKG)/usr/src
+ @mkdir -p $(KERNEL_DEV_PKG)/lib/modules/$(modules_version)
+ @( cd $(KERNEL_DEV_PKG)/lib/modules/$(modules_version) ; \
+ ln -sf ../../../usr/src/linux-m1-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-m1-$(full_version) source ; \
+ )
+ @touch $@
+
+$(KERNEL_DEV_PKG_DESCRIPTION_FILE): $(KERNEL_DEV_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(build_kernel_pkg) $(KERNEL_DEV_PKG_DESCRIPTION_FILE) $(KERNEL_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(KERNEL_DEV_PKG_DESCRIPTION_FILE) $(KERNEL_DEV_PKG)/.DESCRIPTION
+ @cp $(KERNEL_DEV_PKG_INSTALL_SCRIPT) $(KERNEL_DEV_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(KERNEL_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(KERNEL_DEV_PKG_NAME)" > $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(KERNEL_DEV_PKG_VERSION)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(KERNEL_DEV_PKG_ARCH)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(KERNEL_DEV_PKG_DISTRO_NAME)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(KERNEL_DEV_PKG_DISTRO_VERSION)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(KERNEL_DEV_PKG_GROUP)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(KERNEL_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(KERNEL_DEV_PKG_URL)" >> $(KERNEL_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(KERNEL_DEV_PKG_LICENSE)" >> $(KERNEL_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(KERNEL_DEV_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: kernel-source/baikal-m1/6.1.63-6.4.92/PATCHES
===================================================================
--- kernel-source/baikal-m1/6.1.63-6.4.92/PATCHES (nonexistent)
+++ kernel-source/baikal-m1/6.1.63-6.4.92/PATCHES (revision 373)
@@ -0,0 +1,2 @@
+
+../../../../sources/Linux/Baikal/M1000/patches/linux-m1-6.1.63-6.4.92-host-limits.patch -p0
Index: kernel-source/baikal-m1/6.1.63-6.4.92/doc/README.in
===================================================================
--- kernel-source/baikal-m1/6.1.63-6.4.92/doc/README.in (nonexistent)
+++ kernel-source/baikal-m1/6.1.63-6.4.92/doc/README.in (revision 373)
@@ -0,0 +1,52 @@
+
+How to Build External Modules
+-----------------------------
+
+To build external modules, you must have a prebuilt kernel available that contains
+the configuration and header files used in the build. Also, the kernel must have been
+built with modules enabled.
+
+Radix cross Linux provides a 'kernel-source' package installed here.
+
+This kernel source not ready for build modules out-of-tree because Radix cross Linux
+provides only cross-compiled packages.
+
+To prepare kernel source you have to do following:
+
+ $ cd /usr/src/@KERNEL_SOURCE@
+ $ make oldconfig
+ $ make modules_prepare
+
+ If you are using a Radix cross Linux distribution kernel,
+there will be a 'kernel-source' package for the kernel you are running provided by
+Radix cross Linux distribution.
+
+This will make sure the kernel contains the information required. The target exists
+solely as a simple way to prepare a kernel source tree for building external modules.
+
+NOTE: 'modules_prepare' will not build Module.symvers even if CONFIG_MODVERSIONS is set;
+therefore, a full kernel build needs to be executed to make module versioning work.
+
+
+Command Syntax
+--------------
+
+The command to build an external module is:
+
+ $ make -C <path_to_kernel_src> M=$PWD
+
+The kbuild system knows that an external module is being built due to the 'M=<dir>'
+option given in the command.
+
+To build against the running kernel use:
+
+ $ make -C /lib/modules/`uname -r`/build M=$PWD
+
+Then to install the module(s) just built, add the target 'modules_install' to the command:
+
+ $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install
+
+
+For mode details please look at
+ https://www.kernel.org/doc/html/latest/kbuild/modules.html
+page.
Index: kernel-source/baikal-m1/6.1.63-6.4.92/kernel-source-pkg-description.in
===================================================================
--- kernel-source/baikal-m1/6.1.63-6.4.92/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/baikal-m1/6.1.63-6.4.92/kernel-source-pkg-description.in (revision 373)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+kernel-source: Linux @VERSION@ Kernel Source
+kernel-source:
+kernel-source: Linux kernel source for development and build modules out-of-tree.
+kernel-source:
+kernel-source:
+kernel-source:
+kernel-source:
+kernel-source:
+kernel-source:
+kernel-source:
+kernel-source:
Index: kernel-source/baikal-m1/6.1.63-6.4.92/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/baikal-m1/6.1.63-6.4.92/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/baikal-m1/6.1.63-6.4.92/kernel-source-pkg-install.sh (revision 373)
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ touch -r $NEW ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ install_file $NEW
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: kernel-source/baikal-m1/6.1.63-6.4.92/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/baikal-m1/6.1.63-6.4.92
===================================================================
--- kernel-source/baikal-m1/6.1.63-6.4.92 (nonexistent)
+++ kernel-source/baikal-m1/6.1.63-6.4.92 (revision 373)
Property changes on: kernel-source/baikal-m1/6.1.63-6.4.92
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~