Index: autoconf/2.71/Makefile
===================================================================
--- autoconf/2.71/Makefile (revision 384)
+++ autoconf/2.71/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: autoconf/2.71
===================================================================
--- autoconf/2.71 (revision 384)
+++ autoconf/2.71 (revision 385)
Property changes on: autoconf/2.71
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: autoconf-archive/2022.09.03/Makefile
===================================================================
--- autoconf-archive/2022.09.03/Makefile (revision 384)
+++ autoconf-archive/2022.09.03/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: autoconf-archive/2022.09.03
===================================================================
--- autoconf-archive/2022.09.03 (revision 384)
+++ autoconf-archive/2022.09.03 (revision 385)
Property changes on: autoconf-archive/2022.09.03
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: automake/1.16.3/Makefile
===================================================================
--- automake/1.16.3/Makefile (revision 384)
+++ automake/1.16.3/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: automake/1.16.3
===================================================================
--- automake/1.16.3 (revision 384)
+++ automake/1.16.3 (revision 385)
Property changes on: automake/1.16.3
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: binutils/2.39/PATCHES
===================================================================
--- binutils/2.39/PATCHES (revision 384)
+++ binutils/2.39/PATCHES (nonexistent)
@@ -1,19 +0,0 @@
-
-../../../sources/GNU/binutils/patches/binutils-2.39-copy-osabi.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-sec-merge-emit.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-ldforcele.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-libtool-lib64.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-cleansweep.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-export-demangle.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-no-config-check.patch -p0
-
-../../../sources/GNU/binutils/patches/binutils-2.39-aarch64-ifunc.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-fname-in-error-messages.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-gold-i386-gnu-property-notes.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-gold-mismatched-section-flags.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-gold-warn-unsupported.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-not-link-static-libstdc++.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-readelf-other-sym-info.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-revert-PLT-elision.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-special-sections-in-groups.patch -p0
-../../../sources/GNU/binutils/patches/binutils-2.39-testsuite-failures.patch -p0
Index: binutils/2.39/binutils-pkg-description.in
===================================================================
--- binutils/2.39/binutils-pkg-description.in (revision 384)
+++ binutils/2.39/binutils-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------------------------------------------------------|
-binutils: GNU Binutils @VERSION@ (GNU binary development tools)
-binutils:
-binutils: Binutils is a collection of binary utilities. It includes "as" (the
-binutils: portable GNU assembler), "ld" (the GNU linker), and other utilities
-binutils: for creating and working with binary programs.
-binutils:
-binutils: These utilities are REQUIRED to compile C, C++, Objective-C,
-binutils: Fortran, and most other programming languages.
-binutils:
-binutils:
-binutils:
Index: binutils/2.39/binutils-pkg-install.sh
===================================================================
--- binutils/2.39/binutils-pkg-install.sh (revision 384)
+++ binutils/2.39/binutils-pkg-install.sh (nonexistent)
@@ -1,118 +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...
-}
-
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- #
- # NOTE:
- # 'install-info' can work using relative paths and we can make use build machine
- # utility during installation to the some partition and use target 'install-info'
- # during installation directly on the running target machine.
- #
- if [ -x /usr/bin/install-info ] ; then
- install-info --info-dir=usr/share/info usr/share/info/as.info.gz 2>/dev/null
- install-info --info-dir=usr/share/info usr/share/info/bfd.info.gz 2>/dev/null
- install-info --info-dir=usr/share/info usr/share/info/binutils.info.gz 2>/dev/null
- install-info --info-dir=usr/share/info usr/share/info/ctf-spec.info.gz 2>/dev/null
- install-info --info-dir=usr/share/info usr/share/info/gprof.info.gz 2>/dev/null
- install-info --info-dir=usr/share/info usr/share/info/gprofng.info.gz 2>/dev/null
- install-info --info-dir=usr/share/info usr/share/info/ld.info.gz 2>/dev/null
- elif ! grep "(binutils)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
- cat << EOF >> usr/share/info/dir
-
-Individual utilities
-* addr2line: (binutils)addr2line. Convert addresses to file and
- line.
-* ar: (binutils)ar. Create, modify, and extract
- from archives.
-* c++filt: (binutils)c++filt. Filter to demangle encoded C++
- symbols.
-* cxxfilt: (binutils)c++filt. MS-DOS name for c++filt.
-* dlltool: (binutils)dlltool. Create files needed to build
- and use DLLs.
-* elfedit: (binutils)elfedit. Update ELF header and property
- of ELF files.
-* nm: (binutils)nm. List symbols from object files.
-* objcopy: (binutils)objcopy. Copy and translate object
- files.
-* objdump: (binutils)objdump. Display information from
- object files.
-* ranlib: (binutils)ranlib. Generate index to archive
- contents.
-* readelf: (binutils)readelf. Display the contents of ELF
- format files.
-* size: (binutils)size. List section sizes and total
- size.
-* strings: (binutils)strings. List printable strings from
- files.
-* strip: (binutils)strip. Discard symbols.
-* windmc: (binutils)windmc. Generator for Windows message
- resources.
-* windres: (binutils)windres. Manipulate Windows resources.
-
-Software development
-* As: (as). The GNU assembler.
-* Bfd: (bfd). The Binary File Descriptor library.
-* Binutils: (binutils). The GNU binary utilities.
-* CTF: (ctf-spec). The CTF file format.
-* Gas: (as). The GNU assembler.
-* Ld: (ld). The GNU linker.
-* gprof: (gprof). Profiling your program's execution
-* gprofng: (gprofng). The next generation profiling tool for Linux
-EOF
- fi
-}
-
-# 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() {
- if [ -x /usr/bin/install-info ] ; then
- install-info --delete --info-file=usr/share/info/as.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- install-info --delete --info-file=usr/share/info/bfd.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- install-info --delete --info-file=usr/share/info/binutils.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- install-info --delete --info-file=usr/share/info/ctf-spec.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- install-info --delete --info-file=usr/share/info/gprof.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- install-info --delete --info-file=usr/share/info/gprofng.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- install-info --delete --info-file=usr/share/info/ld.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- fi
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: binutils/2.39/binutils-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: binutils/2.39/Makefile
===================================================================
--- binutils/2.39/Makefile (revision 384)
+++ binutils/2.39/Makefile (nonexistent)
@@ -1,713 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-COMPONENT_TARGETS += $(HARDWARE_CB1X)
-COMPONENT_TARGETS += $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-COMPONENT_TARGETS += $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-COMPONENT_TARGETS += $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
-COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-COMPONENT_TARGETS += $(HARDWARE_CI20)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
-COMPONENT_TARGETS += $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
-
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/GNU/binutils
-
-REQUIRES = libs/zlib/1.2.13
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
-REQUIRES += libs/zlib/1.2.13-ppc32
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-REQUIRES += libs/zlib/1.2.13-x86_32
-endif
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 2.39
-tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/binutils/binutils-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/binutils-$(version)
-src_dir_name = binutils-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-BINUTILS_DEV_PKG_NAME = binutils
-BINUTILS_DEV_PKG_VERSION = 2.39
-BINUTILS_DEV_PKG_ARCH = $(PKGARCH)
-BINUTILS_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
-BINUTILS_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-BINUTILS_DEV_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-BINUTILS_DEV_PKG_SHORT_DESCRIPTION = GNU binary development tools
-BINUTILS_DEV_PKG_URL = $(BUG_URL)
-BINUTILS_DEV_PKG_LICENSE = GPLv2
-BINUTILS_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(BINUTILS_DEV_PKG_NAME)-pkg-description
-BINUTILS_DEV_PKG_DESCRIPTION_FILE_IN = $(BINUTILS_DEV_PKG_NAME)-pkg-description.in
-BINUTILS_DEV_PKG_INSTALL_SCRIPT = $(BINUTILS_DEV_PKG_NAME)-pkg-install.sh
-
-BINUTILS_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(BINUTILS_DEV_PKG_NAME)-package
-
-pkg_basename = $(BINUTILS_DEV_PKG_NAME)-$(BINUTILS_DEV_PKG_VERSION)-$(BINUTILS_DEV_PKG_ARCH)-$(BINUTILS_DEV_PKG_DISTRO_NAME)-$(BINUTILS_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(BINUTILS_DEV_PKG)
-
-DEFAULT_LD = ld.bfd
-
-#
-# Common controls for components:
-#
-extra_configure_switches = --disable-dependency-tracking
-extra_configure_switches += --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --infodir=/usr/share/info
-extra_configure_switches += --docdir=/usr/share/doc
-
-extra_configure_switches += --enable-shared
-extra_configure_switches += --disable-compressed-debug-sections
-
-# NOTE:
-# --enable-threads, --enable-plugins - are GOLD related options
-# --enable-multilib - default 'yes'
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-cpu=cortex-a8
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-fpu=neon
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-cpu=cortex-a7
-extra_configure_switches += --with-arch=armv7ve
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-arch=armv7ve
-extra_configure_switches += --with-tune=cortex-a7
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-cpu=cortex-a17
-extra_configure_switches += --with-arch=armv7ve
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-cpu=cortex-a5
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-fpu=neon
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC)),)
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC)),)
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a9
-extra_configure_switches += --with-fpu=vfpv3
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a8
-extra_configure_switches += --with-fpu=neon
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a15
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-extra_configure_switches += --with-arch=mips32r2
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --enable-werror=no
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),mipsel-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-extra_configure_switches += --with-arch=mips32r5
-extra_configure_switches += --with-tune=p5600
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --enable-werror=no
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),mipsel-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=cortex-a57
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --enable-64-bit-bfd
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),ppc64-$(DISTRO_NAME)-linux,powerpc64-$(DISTRO_NAME)-linux,ppc-$(DISTRO_NAME)-linux,powerpc-$(DISTRO_NAME)-linux,ppc64-linux,powerpc64-linux,ppc-linux,powerpc-linux
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --enable-64-bit-bfd
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),ppc64le-$(DISTRO_NAME)-linux,powerpc64le-$(DISTRO_NAME)-linux,ppcle-$(DISTRO_NAME)-linux,powerpcle-$(DISTRO_NAME)-linux,ppc64le-linux,powerpc64le-linux,ppcle-linux,powerpcle-linux
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --enable-64-bit-bfd
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),ppc64-$(DISTRO_NAME)-linux,powerpc64-$(DISTRO_NAME)-linux,ppc-$(DISTRO_NAME)-linux,powerpc-$(DISTRO_NAME)-linux,ppc64-linux,powerpc64-linux,ppc-linux,powerpc-linux
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9LE_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-# standard options:
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --enable-64-bit-bfd
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),ppc64le-$(DISTRO_NAME)-linux,powerpc64le-$(DISTRO_NAME)-linux,ppcle-$(DISTRO_NAME)-linux,powerpcle-$(DISTRO_NAME)-linux,ppc64le-linux,powerpc64le-linux,ppcle-linux,powerpcle-linux
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-extra_configure_switches += --with-abi=lp64d
-extra_configure_switches += --with-arch=rv64imafdc
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-# standard options:
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --enable-64-bit-bfd
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),riscv64-$(DISTRO_NAME)-linux,riscv64-linux
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-extra_configure_switches += --enable-initfini-array
-# standard options:
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),i586-$(DISTRO_NAME)-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-extra_configure_switches += --enable-initfini-array
-# standard options:
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),i686-$(DISTRO_NAME)-linux-gnu
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
-extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
-extra_configure_switches += '--with-bugurl=$(BUG_URL)'
-# experimental gold linker( DEFAULT_LD=ld.bfd ):
-extra_configure_switches += --enable-gold=yes
-extra_configure_switches += --enable-ld=default
-extra_configure_switches += --enable-werror=no
-extra_configure_switches += --enable-initfini-array
-# standard options:
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --enable-64-bit-bfd
-extra_configure_switches += --enable-threads
-extra_configure_switches += --enable-plugins
-extra_configure_switches += --enable-targets=$(TARGET),x86_64-$(DISTRO_NAME)-linux
-endif
-
-
-TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- # ======= These pages were shipped empty and will need to be regenerated =======
- @( cd $(SRC_DIR) ; \
- rm -f binutils/doc/*.1 binutils/doc/*.man gprof/gprof.1 ld/ld.1 gas/doc/as.1 ; \
- )
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
- $(TOOLCHAIN_POWER9_GLIBC) \
- $(TOOLCHAIN_POWER8LE_GLIBC) \
- $(TOOLCHAIN_POWER9LE_GLIBC)),)
- # ======= On ppc64 and aarch64, we might use 64KiB pages =======
- @( cd $(SRC_DIR) ; \
- sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c ; \
- sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc ; \
- )
-endif
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && \
- $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET) \
- --target=$(TARGET) \
- $(extra_configure_switches)
- $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir)
- $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir) info
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(BINUTILS_DEV_PKG)
- $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install $(env_sysroot)
- $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install-info $(env_sysroot)
- # ======= Differentiate between BSD strings (util-linux) and GNU strings =======
- @( cd $(BINUTILS_DEV_PKG)/usr/bin ; \
- mv strings strings-GNU ; \
- )
- @( cd $(BINUTILS_DEV_PKG)/usr/share/man/man1 ; \
- mv strings.1 strings-GNU.1 ; \
- )
- # ======= Remove unneeded man pages =======
- @rm -f $(BINUTILS_DEV_PKG)/usr/share/man/man1/{dlltool,windmc,windres}.1
- # ======= Install Documentation =======
- @rm -f $(BINUTILS_DEV_PKG)/usr/share/info/dir
- @gzip -9 $(BINUTILS_DEV_PKG)/usr/share/info/*
- @if [ -d $(BINUTILS_DEV_PKG)/usr/share/man ]; then \
- ( cd $(BINUTILS_DEV_PKG)/usr/share/man ; \
- for manpagedir in `find . -type d -name "man*"` ; do \
- ( cd $$manpagedir ; \
- for eachpage in `find . -type l -maxdepth 1` ; do \
- ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
- rm $$eachpage ; \
- done ; \
- gzip -9 *.? ; \
- ) \
- done \
- ) \
- fi
- @chmod a+x $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX)/lib*.la
- @mkdir -p $(BINUTILS_DEV_PKG)/usr/doc/binutils-$(version)
- @cp -a $(SRC_DIR)/COPYING* \
- $(BINUTILS_DEV_PKG)/usr/doc/binutils-$(version)
- @mkdir -p $(BINUTILS_DEV_PKG)/usr/share/doc/binutils-$(version)
- @cp -a $(SRC_DIR)/COPYING* $(SRC_DIR)/MAI* $(SRC_DIR)/README* \
- $(BINUTILS_DEV_PKG)/usr/share/doc/binutils-$(version)
- @( cd $(SRC_DIR) ; \
- if [ -r ChangeLog ]; then \
- DOCSDIR=`echo $(BINUTILS_DEV_PKG)/usr/share/doc/$(src_dir_name)` ; \
- cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
- touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
- fi \
- )
- # ======= remove target destination path from target libtool *.la files =======
- @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la \
- )
- # ======= remove target destination path from target libtool *.la files =======
- @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s, -L$(CURDIR)/$(build_dir)/zlib,,g" libbfd.la libctf-nobfd.la libctf.la \
- )
- # ======= remove (-L/usr/lib$(LIBSUFFIX) already set) libiberty.a search path in libtool *.la files too =======
- @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,-L$(CURDIR)/$(build_dir)/bfd/../libiberty/pic,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
- sed -i "s,-L$(CURDIR)/$(build_dir)/libctf/../libiberty/pic,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
- sed -i "s,-L$(CURDIR)/$(build_dir)/opcodes/../libiberty/pic,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
- sed -i "s,-L$(CURDIR)/$(build_dir)/bfd/../libiberty,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
- sed -i "s,-L$(CURDIR)/$(build_dir)/libctf/../libiberty,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
- sed -i "s,-L$(CURDIR)/$(build_dir)/opcodes/../libiberty,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
- )
- @if [ -r $(BINUTILS_DEV_PKG)/usr/bin/$(DEFAULT_LD) ] ; then \
- ( cd $(BINUTILS_DEV_PKG)/usr/bin ; rm -f ld ; ln -sf $(DEFAULT_LD) ld ) \
- fi
- @mv $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib/ldscripts $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX)
- @( cd $(BINUTILS_DEV_PKG)/usr/$(TARGET) ; \
- rm -rf lib ; \
- ln -s ../lib$(LIBSUFFIX) . ; \
- for FILE in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib readelf strip ; do \
- if [ -r ../bin/$$FILE ]; then \
- rm -f bin/$$FILE ; \
- ln -s ../../bin/$$FILE bin/$$FILE ; \
- fi ; \
- done \
- )
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
- @mkdir -p $(BINUTILS_DEV_PKG)/usr/lib{$(MULTILIB_PPC32_SUFFIX),$(LIBSUFFIX)}
- @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
- @ln -sf ../lib$(MULTILIB_PPC32_SUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib32
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
- @mkdir -p $(BINUTILS_DEV_PKG)/usr/lib{$(MULTILIB_X86_32_SUFFIX),$(LIBSUFFIX)}
- @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
- @ln -sf ../lib$(MULTILIB_X86_32_SUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib32
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC) \
- $(TOOLCHAIN_A311X_GLIBC) \
- $(TOOLCHAIN_RK33XX_GLIBC) \
- $(TOOLCHAIN_RK339X_GLIBC) \
- $(TOOLCHAIN_M1000_GLIBC)),)
- @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
-endif
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(BINUTILS_DEV_PKG))
- # ======= Libiberty will be installed from GCC by --enable-install-libiberty option
- # ======= we don't need LIBIBERTY on $(TARGET_DEST_DIR) until GCC will be built
- # ======= tune libtool *.la search path to the target destination for development =======
- @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la \
- )
- # ======= Strip binaries =======
- @( cd $(BINUTILS_DEV_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null \
- )
- @touch $@
-
-$(BINUTILS_DEV_PKG_DESCRIPTION_FILE): $(BINUTILS_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): $(install_target) $(BINUTILS_DEV_PKG_DESCRIPTION_FILE) $(BINUTILS_DEV_PKG_INSTALL_SCRIPT)
- @cp $(BINUTILS_DEV_PKG_DESCRIPTION_FILE) $(BINUTILS_DEV_PKG)/.DESCRIPTION
- @cp $(BINUTILS_DEV_PKG_INSTALL_SCRIPT) $(BINUTILS_DEV_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(BINUTILS_DEV_PKG)/.REQUIRES
- @echo "pkgname=$(BINUTILS_DEV_PKG_NAME)" > $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "pkgver=$(BINUTILS_DEV_PKG_VERSION)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "arch=$(BINUTILS_DEV_PKG_ARCH)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "distroname=$(BINUTILS_DEV_PKG_DISTRO_NAME)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "distrover=$(BINUTILS_DEV_PKG_DISTRO_VERSION)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "group=$(BINUTILS_DEV_PKG_GROUP)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "short_description=\"$(BINUTILS_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "url=$(BINUTILS_DEV_PKG_URL)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
- echo "license=$(BINUTILS_DEV_PKG_LICENSE)" >> $(BINUTILS_DEV_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(BINUTILS_DEV_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: binutils/2.39
===================================================================
--- binutils/2.39 (revision 384)
+++ binutils/2.39 (nonexistent)
Property changes on: binutils/2.39
___________________________________________________________________
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: binutils/2.40/Makefile
===================================================================
--- binutils/2.40/Makefile (nonexistent)
+++ binutils/2.40/Makefile (revision 385)
@@ -0,0 +1,740 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/binutils
+
+REQUIRES = libs/zlib/1.2.13
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+REQUIRES += libs/zlib/1.2.13-ppc32
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+REQUIRES += libs/zlib/1.2.13-x86_32
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.40
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/binutils/binutils-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/binutils-$(version)
+src_dir_name = binutils-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+BINUTILS_DEV_PKG_NAME = binutils
+BINUTILS_DEV_PKG_VERSION = 2.40
+BINUTILS_DEV_PKG_ARCH = $(PKGARCH)
+BINUTILS_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+BINUTILS_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+BINUTILS_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+BINUTILS_DEV_PKG_SHORT_DESCRIPTION = GNU binary development tools
+BINUTILS_DEV_PKG_URL = $(BUG_URL)
+BINUTILS_DEV_PKG_LICENSE = GPLv2
+BINUTILS_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(BINUTILS_DEV_PKG_NAME)-pkg-description
+BINUTILS_DEV_PKG_DESCRIPTION_FILE_IN = $(BINUTILS_DEV_PKG_NAME)-pkg-description.in
+BINUTILS_DEV_PKG_INSTALL_SCRIPT = $(BINUTILS_DEV_PKG_NAME)-pkg-install.sh
+
+BINUTILS_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(BINUTILS_DEV_PKG_NAME)-package
+
+pkg_basename = $(BINUTILS_DEV_PKG_NAME)-$(BINUTILS_DEV_PKG_VERSION)-$(BINUTILS_DEV_PKG_ARCH)-$(BINUTILS_DEV_PKG_DISTRO_NAME)-$(BINUTILS_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(BINUTILS_DEV_PKG)
+
+DEFAULT_LD = ld.bfd
+
+#
+# Common controls for components:
+#
+extra_configure_switches = --disable-dependency-tracking
+extra_configure_switches += --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --docdir=/usr/share/doc
+
+extra_configure_switches += --sysconfdir=/etc
+
+extra_configure_switches += --enable-shared
+extra_configure_switches += --disable-compressed-debug-sections
+
+# NOTE:
+# --enable-threads, --enable-plugins - are GOLD related options
+# --enable-multilib - default 'yes'
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a8
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a7
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a7
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a17
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a75
+extra_configure_switches += --with-arch=armv8.2-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-cpu=cortex-a5
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC)),)
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC)),)
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a9
+extra_configure_switches += --with-fpu=vfpv3
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a8
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a15
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),arm-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=mips32r2
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-werror=no
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),mipsel-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=mips32r5
+extra_configure_switches += --with-tune=p5600
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-werror=no
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),mipsel-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=cortex-a57
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),aarch64-radix-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-64-bit-bfd
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),ppc64-$(DISTRO_NAME)-linux,powerpc64-$(DISTRO_NAME)-linux,ppc-$(DISTRO_NAME)-linux,powerpc-$(DISTRO_NAME)-linux,ppc64-linux,powerpc64-linux,ppc-linux,powerpc-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-64-bit-bfd
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),ppc64le-$(DISTRO_NAME)-linux,powerpc64le-$(DISTRO_NAME)-linux,ppcle-$(DISTRO_NAME)-linux,powerpcle-$(DISTRO_NAME)-linux,ppc64le-linux,powerpc64le-linux,ppcle-linux,powerpcle-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-64-bit-bfd
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),ppc64-$(DISTRO_NAME)-linux,powerpc64-$(DISTRO_NAME)-linux,ppc-$(DISTRO_NAME)-linux,powerpc-$(DISTRO_NAME)-linux,ppc64-linux,powerpc64-linux,ppc-linux,powerpc-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_POWER9LE_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-64-bit-bfd
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),ppc64le-$(DISTRO_NAME)-linux,powerpc64le-$(DISTRO_NAME)-linux,ppcle-$(DISTRO_NAME)-linux,powerpcle-$(DISTRO_NAME)-linux,ppc64le-linux,powerpc64le-linux,ppcle-linux,powerpcle-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-abi=lp64d
+extra_configure_switches += --with-arch=rv64imafdc
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+# standard options:
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --enable-64-bit-bfd
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),riscv64-$(DISTRO_NAME)-linux,riscv64-linux
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+extra_configure_switches += --enable-initfini-array
+# standard options:
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),i586-$(DISTRO_NAME)-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+extra_configure_switches += --enable-initfini-array
+# standard options:
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),i686-$(DISTRO_NAME)-linux-gnu
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+# experimental gold linker( DEFAULT_LD=ld.bfd ):
+extra_configure_switches += --enable-gold=yes
+extra_configure_switches += --enable-ld=default
+extra_configure_switches += --enable-werror=no
+extra_configure_switches += --enable-initfini-array
+# standard options:
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --enable-64-bit-bfd
+extra_configure_switches += --enable-threads
+extra_configure_switches += --enable-plugins
+extra_configure_switches += --enable-targets=$(TARGET),x86_64-$(DISTRO_NAME)-linux
+endif
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ # ======= These pages were shipped empty and will need to be regenerated =======
+ @( cd $(SRC_DIR) ; \
+ rm -f binutils/doc/*.1 binutils/doc/*.man gprof/gprof.1 ld/ld.1 gas/doc/as.1 ; \
+ )
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) \
+ $(TOOLCHAIN_POWER9_GLIBC) \
+ $(TOOLCHAIN_POWER8LE_GLIBC) \
+ $(TOOLCHAIN_POWER9LE_GLIBC)),)
+ # ======= On ppc64 and aarch64, we might use 64KiB pages =======
+ @( cd $(SRC_DIR) ; \
+ sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c ; \
+ sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc ; \
+ )
+endif
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ --target=$(TARGET) \
+ $(extra_configure_switches)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir) info
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(BINUTILS_DEV_PKG)
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install $(env_sysroot)
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install-info $(env_sysroot)
+ # ======= Differentiate between BSD strings (util-linux) and GNU strings =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/bin ; \
+ mv strings strings-GNU ; \
+ )
+ @( cd $(BINUTILS_DEV_PKG)/usr/share/man/man1 ; \
+ mv strings.1 strings-GNU.1 ; \
+ )
+ # ======= Remove unneeded man pages =======
+ @rm -f $(BINUTILS_DEV_PKG)/usr/share/man/man1/{dlltool,windmc,windres}.1
+ # ======= Install Documentation =======
+ @rm -f $(BINUTILS_DEV_PKG)/usr/share/info/dir
+ @gzip -9 $(BINUTILS_DEV_PKG)/usr/share/info/*
+ @if [ -d $(BINUTILS_DEV_PKG)/usr/share/man ]; then \
+ ( cd $(BINUTILS_DEV_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @chmod a+x $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX)/lib*.la
+ @mkdir -p $(BINUTILS_DEV_PKG)/usr/doc/binutils-$(version)
+ @cp -a $(SRC_DIR)/COPYING* \
+ $(BINUTILS_DEV_PKG)/usr/doc/binutils-$(version)
+ @mkdir -p $(BINUTILS_DEV_PKG)/usr/share/doc/binutils-$(version)
+ @cp -a $(SRC_DIR)/COPYING* $(SRC_DIR)/MAI* $(SRC_DIR)/README* \
+ $(BINUTILS_DEV_PKG)/usr/share/doc/binutils-$(version)
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(BINUTILS_DEV_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= remove target destination path from target libtool *.la files =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la libsframe.la ; \
+ )
+ # ======= remove target destination path from target libtool *.la files =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s, -L$(CURDIR)/$(build_dir)/zlib,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
+ )
+ # ======= remove (-L/usr/lib$(LIBSUFFIX) already set) libiberty.a search path in libtool *.la files too =======
+ @( cd $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/bfd/../libiberty/pic,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/libctf/../libiberty/pic,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/opcodes/../libiberty/pic,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/bfd/../libiberty,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/libctf/../libiberty,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
+ sed -i "s,-L$(CURDIR)/$(build_dir)/opcodes/../libiberty,,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la ; \
+ )
+ @if [ -r $(BINUTILS_DEV_PKG)/usr/bin/$(DEFAULT_LD) ] ; then \
+ ( cd $(BINUTILS_DEV_PKG)/usr/bin ; rm -f ld ; ln -sf $(DEFAULT_LD) ld ) \
+ fi
+ @mv $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib/ldscripts $(BINUTILS_DEV_PKG)/usr/lib$(LIBSUFFIX)
+ @( cd $(BINUTILS_DEV_PKG)/usr/$(TARGET) ; \
+ rm -rf lib ; \
+ ln -s ../lib$(LIBSUFFIX) . ; \
+ for FILE in ar as ld ld.bfd ld.gold nm objcopy objdump ranlib readelf strip ; do \
+ if [ -r ../bin/$$FILE ]; then \
+ rm -f bin/$$FILE ; \
+ ln -s ../../bin/$$FILE bin/$$FILE ; \
+ fi ; \
+ done \
+ )
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+ @mkdir -p $(BINUTILS_DEV_PKG)/usr/lib{$(MULTILIB_PPC32_SUFFIX),$(LIBSUFFIX)}
+ @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
+ @ln -sf ../lib$(MULTILIB_PPC32_SUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib32
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+ @mkdir -p $(BINUTILS_DEV_PKG)/usr/lib{$(MULTILIB_X86_32_SUFFIX),$(LIBSUFFIX)}
+ @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
+ @ln -sf ../lib$(MULTILIB_X86_32_SUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib32
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_A311X_GLIBC) \
+ $(TOOLCHAIN_RK33XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) \
+ $(TOOLCHAIN_RK358X_GLIBC) \
+ $(TOOLCHAIN_M1000_GLIBC)),)
+ @ln -sf ../lib$(LIBSUFFIX) $(BINUTILS_DEV_PKG)/usr/$(TARGET)/lib64
+endif
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(BINUTILS_DEV_PKG))
+ # ======= Libiberty will be installed from GCC by --enable-install-libiberty option
+ # ======= we don't need LIBIBERTY on $(TARGET_DEST_DIR) until GCC will be built
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la libsframe.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libbfd.la libctf-nobfd.la libctf.la libopcodes.la libsframe.la ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(BINUTILS_DEV_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null \
+ )
+ @touch $@
+
+$(BINUTILS_DEV_PKG_DESCRIPTION_FILE): $(BINUTILS_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): $(install_target) $(BINUTILS_DEV_PKG_DESCRIPTION_FILE) $(BINUTILS_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(BINUTILS_DEV_PKG_DESCRIPTION_FILE) $(BINUTILS_DEV_PKG)/.DESCRIPTION
+ @cp $(BINUTILS_DEV_PKG_INSTALL_SCRIPT) $(BINUTILS_DEV_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(BINUTILS_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(BINUTILS_DEV_PKG_NAME)" > $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(BINUTILS_DEV_PKG_VERSION)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(BINUTILS_DEV_PKG_ARCH)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(BINUTILS_DEV_PKG_DISTRO_NAME)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(BINUTILS_DEV_PKG_DISTRO_VERSION)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(BINUTILS_DEV_PKG_GROUP)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(BINUTILS_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(BINUTILS_DEV_PKG_URL)" >> $(BINUTILS_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(BINUTILS_DEV_PKG_LICENSE)" >> $(BINUTILS_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(BINUTILS_DEV_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: binutils/2.40/PATCHES
===================================================================
--- binutils/2.40/PATCHES (nonexistent)
+++ binutils/2.40/PATCHES (revision 385)
@@ -0,0 +1,19 @@
+
+../../../sources/GNU/binutils/patches/binutils-2.40-copy-osabi.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-sec-merge-emit.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-ldforcele.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-libtool-lib64.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-cleansweep.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-export-demangle.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-no-config-check.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-zstd-for-build.patch -p0
+
+../../../sources/GNU/binutils/patches/binutils-2.40-aarch64-ifunc.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-fname-in-error-messages.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-gold-i386-gnu-property-notes.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-gold-mismatched-section-flags.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-gold-warn-unsupported.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-not-link-static-libstdc++.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-readelf-other-sym-info.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-special-sections-in-groups.patch -p0
+../../../sources/GNU/binutils/patches/binutils-2.40-testsuite-failures.patch -p0
Index: binutils/2.40/binutils-pkg-description.in
===================================================================
--- binutils/2.40/binutils-pkg-description.in (nonexistent)
+++ binutils/2.40/binutils-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+binutils: GNU Binutils @VERSION@ (GNU binary development tools)
+binutils:
+binutils: Binutils is a collection of binary utilities. It includes "as" (the
+binutils: portable GNU assembler), "ld" (the GNU linker), and other utilities
+binutils: for creating and working with binary programs.
+binutils:
+binutils: These utilities are REQUIRED to compile C, C++, Objective-C,
+binutils: Fortran, and most other programming languages.
+binutils:
+binutils:
+binutils:
Index: binutils/2.40/binutils-pkg-install.sh
===================================================================
--- binutils/2.40/binutils-pkg-install.sh (nonexistent)
+++ binutils/2.40/binutils-pkg-install.sh (revision 385)
@@ -0,0 +1,118 @@
+#!/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...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/as.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/bfd.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/binutils.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/ctf-spec.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gprof.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/gprofng.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/ld.info.gz 2>/dev/null
+ elif ! grep "(binutils)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+Individual utilities
+* addr2line: (binutils)addr2line. Convert addresses to file and
+ line.
+* ar: (binutils)ar. Create, modify, and extract
+ from archives.
+* c++filt: (binutils)c++filt. Filter to demangle encoded C++
+ symbols.
+* cxxfilt: (binutils)c++filt. MS-DOS name for c++filt.
+* dlltool: (binutils)dlltool. Create files needed to build
+ and use DLLs.
+* elfedit: (binutils)elfedit. Update ELF header and property
+ of ELF files.
+* nm: (binutils)nm. List symbols from object files.
+* objcopy: (binutils)objcopy. Copy and translate object
+ files.
+* objdump: (binutils)objdump. Display information from
+ object files.
+* ranlib: (binutils)ranlib. Generate index to archive
+ contents.
+* readelf: (binutils)readelf. Display the contents of ELF
+ format files.
+* size: (binutils)size. List section sizes and total
+ size.
+* strings: (binutils)strings. List printable strings from
+ files.
+* strip: (binutils)strip. Discard symbols.
+* windmc: (binutils)windmc. Generator for Windows message
+ resources.
+* windres: (binutils)windres. Manipulate Windows resources.
+
+Software development
+* As: (as). The GNU assembler.
+* Bfd: (bfd). The Binary File Descriptor library.
+* Binutils: (binutils). The GNU binary utilities.
+* CTF: (ctf-spec). The CTF file format.
+* Gas: (as). The GNU assembler.
+* Ld: (ld). The GNU linker.
+* gprof: (gprof). Profiling your program's execution
+* gprofng: (gprofng). The next generation profiling tool for Linux
+EOF
+ fi
+}
+
+# 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() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/as.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/bfd.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/binutils.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/ctf-spec.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gprof.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gprofng.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/ld.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ fi
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: binutils/2.40/binutils-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: binutils/2.40
===================================================================
--- binutils/2.40 (nonexistent)
+++ binutils/2.40 (revision 385)
Property changes on: binutils/2.40
___________________________________________________________________
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: bison/3.7.4/Makefile
===================================================================
--- bison/3.7.4/Makefile (revision 384)
+++ bison/3.7.4/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -57,7 +63,7 @@
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/12.2.0
else
-REQUIRES = libs/glibc/2.36
+REQUIRES = libs/glibc/2.37
endif
# ======= __END_OF_REQUIRES__ =======
Index: bison/3.7.4
===================================================================
--- bison/3.7.4 (revision 384)
+++ bison/3.7.4 (revision 385)
Property changes on: bison/3.7.4
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: bison/3.7.4-ppc32/Makefile
===================================================================
--- bison/3.7.4-ppc32/Makefile (revision 384)
+++ bison/3.7.4-ppc32/Makefile (revision 385)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/GNU/bison
REQUIRES = dev/bison/3.7.4
-REQUIRES += libs/glibc/2.36-ppc32
+REQUIRES += libs/glibc/2.37-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: bison/3.7.4-ppc32
===================================================================
--- bison/3.7.4-ppc32 (revision 384)
+++ bison/3.7.4-ppc32 (revision 385)
Property changes on: bison/3.7.4-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: bison/3.7.4-x86_32/Makefile
===================================================================
--- bison/3.7.4-x86_32/Makefile (revision 384)
+++ bison/3.7.4-x86_32/Makefile (revision 385)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/GNU/bison
REQUIRES = dev/bison/3.7.4
-REQUIRES += libs/glibc/2.36-x86_32
+REQUIRES += libs/glibc/2.37-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: bison/3.7.4-x86_32
===================================================================
--- bison/3.7.4-x86_32 (revision 384)
+++ bison/3.7.4-x86_32 (revision 385)
Property changes on: bison/3.7.4-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: ccache/4.8.1/Makefile
===================================================================
--- ccache/4.8.1/Makefile (nonexistent)
+++ ccache/4.8.1/Makefile (revision 385)
@@ -0,0 +1,251 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/ccache
+
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/12.2.0
+else
+REQUIRES = libs/zstd/1.5.2
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 4.8.1
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/ccache/ccache-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/ccache-$(version)
+src_dir_name = ccache-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+CCACHE_PKG_NAME = ccache
+CCACHE_PKG_VERSION = 4.8.1
+CCACHE_PKG_ARCH = $(PKGARCH)
+CCACHE_PKG_DISTRO_NAME = $(DISTRO_NAME)
+CCACHE_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+CCACHE_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+CCACHE_PKG_SHORT_DESCRIPTION = a fast compiler cache
+CCACHE_PKG_URL = $(BUG_URL)
+CCACHE_PKG_LICENSE = GPLv3
+CCACHE_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(CCACHE_PKG_NAME)-pkg-description
+CCACHE_PKG_DESCRIPTION_FILE_IN = $(CCACHE_PKG_NAME)-pkg-description.in
+CCACHE_PKG_INSTALL_SCRIPT = $(CCACHE_PKG_NAME)-pkg-install.sh
+
+CCACHE_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(CCACHE_PKG_NAME)-package
+
+pkg_basename = $(CCACHE_PKG_NAME)-$(CCACHE_PKG_VERSION)-$(CCACHE_PKG_ARCH)-$(CCACHE_PKG_DISTRO_NAME)-$(CCACHE_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(CCACHE_PKG)
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+
+CXXFLAGS += -Wno-deprecated-declarations -Wno-sign-compare -Wno-delete-non-virtual-dtor
+
+
+configure_switches = -DCMAKE_BUILD_TYPE='Release'
+
+configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
+configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
+configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
+configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
+configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
+configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
+configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
+configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
+configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
+
+configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) -Wno-unknown-pragmas'
+configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) -Wno-unknown-pragmas'
+
+configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)'
+configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)'
+configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)'
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+configure_switches += -DCMAKE_C_FLAGS_RELEASE='-O2 -DNDEBUG'
+configure_switches += -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG'
+endif
+
+configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
+configure_switches += -DCMAKE_INSTALL_SYSCONFDIR=etc
+configure_switches += -DCMAKE_INSTALL_LOCALSTATEDIR=var
+configure_switches += -DCMAKE_INSTALL_MANDIR=/usr/share/man
+
+configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(src_dir_name)'
+configure_switches += -DCMAKE_INSTALL_LIBDIR='lib$(LIBSUFFIX)'
+
+configure_switches += -DREDIS_STORAGE_BACKEND=OFF
+
+configure_switches += -Wno-dev
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @( cd $(build_dir) ; \
+ $(BUILD_ENVIRONMENT) cmake $(configure_switches) ../$(src_dir_name) ; \
+ )
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) VERBOSE=1 $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(CCACHE_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @if [ -d $(CCACHE_PKG)/usr/share/man ]; then \
+ ( cd $(CCACHE_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(CCACHE_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/*GPL* $(SRC_DIR)/LICENSE* \
+ $(CCACHE_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(CCACHE_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a CONTRIBUTING* *GPL* LICENSE* README.md doc/*.{adoc,md} \
+ $(CCACHE_PKG)/usr/share/doc/$(src_dir_name) \
+ )
+ @( cd $(SRC_DIR)/doc ; \
+ if [ -r NEWS.adoc ]; then \
+ DOCSDIR=`echo $(CCACHE_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat NEWS.adoc | head -n 1000 > $$DOCSDIR/NEWS.adoc ; \
+ touch -r NEWS.adoc $$DOCSDIR/NEWS.adoc ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(CCACHE_PKG))
+ # ======= Strip binaries =======
+ @( cd $(CCACHE_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(CCACHE_PKG_DESCRIPTION_FILE): $(CCACHE_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): $(install_target) $(CCACHE_PKG_DESCRIPTION_FILE) $(CCACHE_PKG_INSTALL_SCRIPT)
+ @cp $(CCACHE_PKG_DESCRIPTION_FILE) $(CCACHE_PKG)/.DESCRIPTION
+ @cp $(CCACHE_PKG_INSTALL_SCRIPT) $(CCACHE_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(CCACHE_PKG)/.REQUIRES
+ @echo "pkgname=$(CCACHE_PKG_NAME)" > $(CCACHE_PKG)/.PKGINFO ; \
+ echo "pkgver=$(CCACHE_PKG_VERSION)" >> $(CCACHE_PKG)/.PKGINFO ; \
+ echo "arch=$(CCACHE_PKG_ARCH)" >> $(CCACHE_PKG)/.PKGINFO ; \
+ echo "distroname=$(CCACHE_PKG_DISTRO_NAME)" >> $(CCACHE_PKG)/.PKGINFO ; \
+ echo "distrover=$(CCACHE_PKG_DISTRO_VERSION)" >> $(CCACHE_PKG)/.PKGINFO ; \
+ echo "group=$(CCACHE_PKG_GROUP)" >> $(CCACHE_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(CCACHE_PKG_SHORT_DESCRIPTION)\"" >> $(CCACHE_PKG)/.PKGINFO ; \
+ echo "url=$(CCACHE_PKG_URL)" >> $(CCACHE_PKG)/.PKGINFO ; \
+ echo "license=$(CCACHE_PKG_LICENSE)" >> $(CCACHE_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(CCACHE_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: ccache/4.8.1/PATCHES
===================================================================
Index: ccache/4.8.1/ccache-pkg-description.in
===================================================================
--- ccache/4.8.1/ccache-pkg-description.in (nonexistent)
+++ ccache/4.8.1/ccache-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+ccache: ccache @VERSION@ (a fast compiler cache)
+ccache:
+ccache: ccache is a compiler cache. It speeds up re-compilation
+ccache: of C/C++ code by caching previous compiles and detecting
+ccache: when the same compile is being done again.
+ccache:
+ccache: ccache was written by Andrew Tridgell.
+ccache:
+ccache: Homepage: https://ccache.dev/
+ccache:
+ccache:
Index: ccache/4.8.1/ccache-pkg-install.sh
===================================================================
--- ccache/4.8.1/ccache-pkg-install.sh (nonexistent)
+++ ccache/4.8.1/ccache-pkg-install.sh (revision 385)
@@ -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: ccache/4.8.1/ccache-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: ccache/4.8.1
===================================================================
--- ccache/4.8.1 (nonexistent)
+++ ccache/4.8.1 (revision 385)
Property changes on: ccache/4.8.1
___________________________________________________________________
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: check/0.15.2/Makefile
===================================================================
--- check/0.15.2/Makefile (revision 384)
+++ check/0.15.2/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -57,7 +63,7 @@
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/12.2.0
else
-REQUIRES = libs/glibc/2.36
+REQUIRES = libs/glibc/2.37
endif
# ======= __END_OF_REQUIRES__ =======
Index: check/0.15.2
===================================================================
--- check/0.15.2 (revision 384)
+++ check/0.15.2 (revision 385)
Property changes on: check/0.15.2
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: check/0.15.2-ppc32/Makefile
===================================================================
--- check/0.15.2-ppc32/Makefile (revision 384)
+++ check/0.15.2-ppc32/Makefile (revision 385)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/packages/d/check
REQUIRES = dev/check/0.15.2
-REQUIRES += libs/glibc/2.36-ppc32
+REQUIRES += libs/glibc/2.37-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: check/0.15.2-ppc32
===================================================================
--- check/0.15.2-ppc32 (revision 384)
+++ check/0.15.2-ppc32 (revision 385)
Property changes on: check/0.15.2-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: check/0.15.2-x86_32/Makefile
===================================================================
--- check/0.15.2-x86_32/Makefile (revision 384)
+++ check/0.15.2-x86_32/Makefile (revision 385)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/packages/d/check
REQUIRES = dev/check/0.15.2
-REQUIRES += libs/glibc/2.36-x86_32
+REQUIRES += libs/glibc/2.37-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: check/0.15.2-x86_32
===================================================================
--- check/0.15.2-x86_32 (revision 384)
+++ check/0.15.2-x86_32 (revision 385)
Property changes on: check/0.15.2-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: cmake/3.22.1/Makefile
===================================================================
--- cmake/3.22.1/Makefile (revision 384)
+++ cmake/3.22.1/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: cmake/3.22.1
===================================================================
--- cmake/3.22.1 (revision 384)
+++ cmake/3.22.1 (revision 385)
Property changes on: cmake/3.22.1
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: flex/2.6.4/Makefile
===================================================================
--- flex/2.6.4/Makefile (revision 384)
+++ flex/2.6.4/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -57,7 +63,7 @@
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/12.2.0
else
-REQUIRES = libs/glibc/2.36
+REQUIRES = libs/glibc/2.37
endif
# ======= __END_OF_REQUIRES__ =======
Index: flex/2.6.4
===================================================================
--- flex/2.6.4 (revision 384)
+++ flex/2.6.4 (revision 385)
Property changes on: flex/2.6.4
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: flex/2.6.4-ppc32/Makefile
===================================================================
--- flex/2.6.4-ppc32/Makefile (revision 384)
+++ flex/2.6.4-ppc32/Makefile (revision 385)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/packages/d/flex
REQUIRES = dev/flex/2.6.4
-REQUIRES += libs/glibc/2.36-ppc32
+REQUIRES += libs/glibc/2.37-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: flex/2.6.4-ppc32
===================================================================
--- flex/2.6.4-ppc32 (revision 384)
+++ flex/2.6.4-ppc32 (revision 385)
Property changes on: flex/2.6.4-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: flex/2.6.4-x86_32/Makefile
===================================================================
--- flex/2.6.4-x86_32/Makefile (revision 384)
+++ flex/2.6.4-x86_32/Makefile (revision 385)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/packages/d/flex
REQUIRES = dev/flex/2.6.4
-REQUIRES += libs/glibc/2.36-x86_32
+REQUIRES += libs/glibc/2.37-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: flex/2.6.4-x86_32
===================================================================
--- flex/2.6.4-x86_32 (revision 384)
+++ flex/2.6.4-x86_32 (revision 385)
Property changes on: flex/2.6.4-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: gcc/12.2.0/Makefile
===================================================================
--- gcc/12.2.0/Makefile (revision 384)
+++ gcc/12.2.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -54,7 +60,7 @@
SOURCE_REQUIRES = sources/GNU/gcc/gcc-12.2.0
-REQUIRES = dev/binutils/2.39
+REQUIRES = dev/binutils/2.40
REQUIRES += libs/isl/0.25
REQUIRES += libs/mpc/1.2.1
REQUIRES += libs/zstd/1.5.2
@@ -85,6 +91,7 @@
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) \
$(TOOLCHAIN_RK33XX_GLIBC) \
$(TOOLCHAIN_RK339X_GLIBC) \
+ $(TOOLCHAIN_RK358X_GLIBC) \
$(TOOLCHAIN_S9XX_GLIBC) \
$(TOOLCHAIN_A311X_GLIBC) \
$(TOOLCHAIN_M1000_GLIBC)),)
@@ -296,6 +303,15 @@
extra_configure_switches += --disable-isl-version-check
endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC))
+extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
+extra_configure_switches += '--with-bugurl=$(BUG_URL)'
+extra_configure_switches += --with-arch=armv8.2-a
+extra_configure_switches += --with-cpu=cortex-a75.cortex-a55
+extra_configure_switches += --with-abi=lp64
+extra_configure_switches += --disable-isl-version-check
+endif
+
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC))
extra_configure_switches += '--with-pkgversion=$(DISTRO_NAME) $(SYSTEM_VERSION)'
extra_configure_switches += '--with-bugurl=$(BUG_URL)'
@@ -496,7 +512,8 @@
$(UNPACK_SRC_ARCHIVE)
$(APPLY_PATCHES)
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
- $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
+ $(TOOLCHAIN_S9XX_GLIBC) \
$(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC) \
$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER8LE_GLIBC) \
$(TOOLCHAIN_POWER9_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC) \
@@ -546,7 +563,7 @@
@mv $(GCC_DEV_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/*-gdb.py \
$(GCC_DEV_PKG)/usr/share/gdb/auto-load/usr/lib$(MULTILIB_X86_32_SUFFIX)
endif
- # ====== Create cpp symbolic link in the '/lib' directory without LIBSUFFIX =======
+ # ======= Create cpp symbolic link in the '/lib' directory without LIBSUFFIX =======
@( cd $(GCC_DEV_PKG) ; \
mkdir -p lib ; \
cd lib ; \
Index: gcc/12.2.0
===================================================================
--- gcc/12.2.0 (revision 384)
+++ gcc/12.2.0 (revision 385)
Property changes on: gcc/12.2.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: gcc-runtime/12.2.0/Makefile
===================================================================
--- gcc-runtime/12.2.0/Makefile (revision 384)
+++ gcc-runtime/12.2.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: gcc-runtime/12.2.0
===================================================================
--- gcc-runtime/12.2.0 (revision 384)
+++ gcc-runtime/12.2.0 (revision 385)
Property changes on: gcc-runtime/12.2.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: gdb/12.1/gdb-pkg-description.in
===================================================================
--- gdb/12.1/gdb-pkg-description.in (revision 384)
+++ gdb/12.1/gdb-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------------------------------------------------------|
-gdb: GNU gdb @VERSION@ (GNU symbolic debugger)
-gdb:
-gdb: GDB, the GNU Project debugger, allows you to see what is going on
-gdb: inside another program while it executes - or what another program
-gdb: was doing at the moment it crashed.
-gdb:
-gdb: The program being debugged can be written in Ada, C, C++,
-gdb: Objective-C, Pascal and many other languages.
-gdb:
-gdb:
-gdb:
Index: gdb/12.1/PATCHES
===================================================================
--- gdb/12.1/PATCHES (revision 384)
+++ gdb/12.1/PATCHES (nonexistent)
@@ -1,2 +0,0 @@
-
-../../../sources/GNU/gdb/patches/gdb-12.1-compiler-permissive.patch -p0
Index: gdb/12.1/Makefile
===================================================================
--- gdb/12.1/Makefile (revision 384)
+++ gdb/12.1/Makefile (nonexistent)
@@ -1,466 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-COMPONENT_TARGETS += $(HARDWARE_CB1X)
-COMPONENT_TARGETS += $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-COMPONENT_TARGETS += $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-COMPONENT_TARGETS += $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
-COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-COMPONENT_TARGETS += $(HARDWARE_CI20)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
-COMPONENT_TARGETS += $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
-
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/GNU/gdb
-
-REQUIRES = dev/binutils/2.39
-REQUIRES += dev/guile/3.0.5
-REQUIRES += libs/readline/8.2
-REQUIRES += libs/zlib/1.2.13
-REQUIRES += libs/isl/0.25
-REQUIRES += libs/mpc/1.2.1
-REQUIRES += app/xz/5.2.7
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 12.1
-tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/gdb/gdb-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/gdb-$(version)
-src_dir_name = gdb-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-GDB_DEV_PKG_NAME = gdb
-GDB_DEV_PKG_VERSION = 12.1
-GDB_DEV_PKG_ARCH = $(PKGARCH)
-GDB_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
-GDB_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-GDB_DEV_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-GDB_DEV_PKG_SHORT_DESCRIPTION = GNU binary development tools
-GDB_DEV_PKG_URL = $(BUG_URL)
-GDB_DEV_PKG_LICENSE = GPLv2
-GDB_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDB_DEV_PKG_NAME)-pkg-description
-GDB_DEV_PKG_DESCRIPTION_FILE_IN = $(GDB_DEV_PKG_NAME)-pkg-description.in
-GDB_DEV_PKG_INSTALL_SCRIPT = $(GDB_DEV_PKG_NAME)-pkg-install.sh
-
-GDB_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDB_DEV_PKG_NAME)-package
-
-pkg_basename = $(GDB_DEV_PKG_NAME)-$(GDB_DEV_PKG_VERSION)-$(GDB_DEV_PKG_ARCH)-$(GDB_DEV_PKG_DISTRO_NAME)-$(GDB_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-#
-# NOTE: BUILD_MULTILIB_SUFFIX related to bulld machine
-# (slacware64 - lib; ubuntu64 - lib32) see $(BUILDSYSTEM)/targets.mk
-#
-export CC_FOR_BUILD = gcc
-export CXX_FOR_BUILD = g++
-export LD_FOR_BUILD = ld
-export AR_FOR_BUILD = ar
-export AS_FOR_BUILD = as
-export NM_FOR_BUILD = nm
-export CFLAGS_FOR_BUILD = -I/usr/include
-export CXXFLAGS_FOR_BUILD = -I/usr/include
-export CPPFLAGS_FOR_BUILD = -I/usr/include
-export LDFLAGS_FOR_BUILD = -L/usr/lib$(BUILD_MULTILIB_SUFFIX)
-
-
-env_sysroot = DESTDIR=$(GDB_DEV_PKG)
-
-
-#
-# Common controls for components:
-#
-extra_configure_switches = --disable-dependency-tracking
-extra_configure_switches += --libdir=/usr/lib$(LIBSUFFIX)
-extra_configure_switches += --mandir=/usr/share/man
-extra_configure_switches += --infodir=/usr/share/info
-extra_configure_switches += --docdir=/usr/share/doc
-extra_configure_switches += --datadir=/usr/share
-
-extra_configure_switches += --with-system-readline
-extra_configure_switches += --with-system-zlib
-extra_configure_switches += --with-gmp=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-mpc=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-mpfr=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-isl=$(TARGET_DEST_DIR)/usr
-
-extra_configure_switches += --with-libexpat-type=shared
-extra_configure_switches += --with-libexpat-prefix=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-libgmp-type=shared
-extra_configure_switches += --with-libgmp-prefix=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-libmpfr-type=shared
-extra_configure_switches += --with-libmpfr-prefix=$(TARGET_DEST_DIR)/usr
-extra_configure_switches += --with-liblzma-type=shared
-extra_configure_switches += --with-liblzma-prefix=$(TARGET_DEST_DIR)/usr
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a8
-extra_configure_switches += --with-fpu=neon
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7ve
-extra_configure_switches += --with-tune=cortex-a7
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7ve
-extra_configure_switches += --with-tune=cortex-a7
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7ve
-extra_configure_switches += --with-tune=cortex-a17
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a5
-extra_configure_switches += --with-fpu=neon
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-cpu=cortex-a53
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a9
-extra_configure_switches += --with-fpu=vfpv3
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a7
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7-a
-extra_configure_switches += --with-tune=cortex-a8
-extra_configure_switches += --with-fpu=neon
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC)),)
-extra_configure_switches += --enable-interwork
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=armv7ve
-extra_configure_switches += --with-tune=cortex-a15
-extra_configure_switches += --with-fpu=neon-vfpv4
-extra_configure_switches += --with-abi=aapcs-linux
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC)),)
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch-32=mips32r2
-extra_configure_switches += --with-arch-64=mips64r2
-extra_configure_switches += --with-float=hard
-extra_configure_switches += --enable-werror=no
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC)),)
-extra_configure_switches += --enable-multilib
-extra_configure_switches += --disable-libssp
-extra_configure_switches += --with-arch=mips32r5
-extra_configure_switches += --with-tune=p5600
-extra_configure_switches += --with-float=hard
-extra_configure_switches += --enable-werror=no
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-arch=armv8-a
-extra_configure_switches += --with-cpu=cortex-a57
-extra_configure_switches += --with-fpu=neon-fp-armv8
-extra_configure_switches += --with-abi=lp64
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC)),)
-extra_configure_switches += --with-multilib-list=m64,m32
-extra_configure_switches += --with-cpu=power8
-extra_configure_switches += --with-tune=power8
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=power8
-extra_configure_switches += --with-tune=power8
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC)),)
-extra_configure_switches += --with-multilib-list=m64,m32
-extra_configure_switches += --with-cpu=power9
-extra_configure_switches += --with-tune=power9
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER9LE_GLIBC)),)
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-cpu=power9
-extra_configure_switches += --with-tune=power9
-endif
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC))
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --with-abi=lp64d
-extra_configure_switches += --with-arch=rv64imafdc
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC)),)
-extra_configure_switches += --with-arch=i586
-extra_configure_switches += --with-tune=i586
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC)),)
-extra_configure_switches += --with-arch=i686
-extra_configure_switches += --with-tune=i686
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-extra_configure_switches += --with-multilib-list=m64,m32
-endif
-
-
-TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- # ======= -Wmissing-prototypes for C and Objective-C only =======
- @( cd $(SRC_DIR) ; \
- sed -i '/^\-Wmissing\-prototypes/d' gdb/configure ; \
- sed -i '/^\-Wmissing\-prototypes/d' gdbserver/configure ; \
- sed -i '/^\-Wmissing\-prototypes/d' gdbsupport/configure ; \
- )
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(build_dir)
- @cd $(build_dir) && \
- $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
- --prefix=/usr \
- --build=$(BUILD) \
- --host=$(TARGET) \
- --target=$(TARGET) \
- $(extra_configure_switches)
- $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir)
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(GDB_DEV_PKG)
- $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install $(env_sysroot)
- # ======= None of this stuff has ever been included in this package: =======
- @rm -f $(GDB_DEV_PKG)/usr/lib$(LIBSUFFIX)/{libbfd*,libiberty*,libopcodes*}
- @rm -rf $(GDB_DEV_PKG)/usr/lib$(LIBSUFFIX)
- @rm -f $(GDB_DEV_PKG)/usr/share/info/{annotate*,bfd*,configure*,standards*}
- @rm -rf $(GDB_DEV_PKG)/usr/include
- # ======= Install Documentation =======
- @rm -f $(GDB_DEV_PKG)/usr/share/info/dir
- @gzip -9 $(GDB_DEV_PKG)/usr/share/info/*
- @if [ -d $(GDB_DEV_PKG)/usr/share/man ]; then \
- ( cd $(GDB_DEV_PKG)/usr/share/man ; \
- for manpagedir in `find . -type d -name "man*"` ; do \
- ( cd $$manpagedir ; \
- for eachpage in `find . -type l -maxdepth 1` ; do \
- ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
- rm $$eachpage ; \
- done ; \
- gzip -9 *.? ; \
- ) \
- done \
- ) \
- fi
- @mkdir -p $(GDB_DEV_PKG)/usr/doc/gdb-$(version)
- @cp -a $(SRC_DIR)/COPYING* \
- $(GDB_DEV_PKG)/usr/doc/gdb-$(version)
- @mkdir -p $(GDB_DEV_PKG)/usr/share/doc/gdb-$(version)
- @cp -a $(SRC_DIR)/COPYING* $(SRC_DIR)/MAINTAINERS $(SRC_DIR)/README* \
- $(GDB_DEV_PKG)/usr/share/doc/gdb-$(version)
- @( cd $(SRC_DIR) ; \
- if [ -r ChangeLog ]; then \
- DOCSDIR=`echo $(GDB_DEV_PKG)/usr/share/doc/$(src_dir_name)` ; \
- cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
- touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
- fi \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(GDB_DEV_PKG))
- # ======= Strip binaries =======
- @( cd $(GDB_DEV_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(GDB_DEV_PKG_DESCRIPTION_FILE): $(GDB_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): $(install_target) $(GDB_DEV_PKG_DESCRIPTION_FILE) $(GDB_DEV_PKG_INSTALL_SCRIPT)
- @cp $(GDB_DEV_PKG_DESCRIPTION_FILE) $(GDB_DEV_PKG)/.DESCRIPTION
- @cp $(GDB_DEV_PKG_INSTALL_SCRIPT) $(GDB_DEV_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(GDB_DEV_PKG)/.REQUIRES
- @echo "pkgname=$(GDB_DEV_PKG_NAME)" > $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "pkgver=$(GDB_DEV_PKG_VERSION)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "arch=$(GDB_DEV_PKG_ARCH)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "distroname=$(GDB_DEV_PKG_DISTRO_NAME)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "distrover=$(GDB_DEV_PKG_DISTRO_VERSION)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "group=$(GDB_DEV_PKG_GROUP)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "short_description=\"$(GDB_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "url=$(GDB_DEV_PKG_URL)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
- echo "license=$(GDB_DEV_PKG_LICENSE)" >> $(GDB_DEV_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(GDB_DEV_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: gdb/12.1/gdb-pkg-install.sh
===================================================================
--- gdb/12.1/gdb-pkg-install.sh (revision 384)
+++ gdb/12.1/gdb-pkg-install.sh (nonexistent)
@@ -1,73 +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...
-}
-
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
-}
-
-# arg 1: the new package version
-post_install() {
- #
- # NOTE:
- # 'install-info' can work using relative paths and we can make use build machine
- # utility during installation to the some partition and use target 'install-info'
- # during installation directly on the running target machine.
- #
- if [ -x /usr/bin/install-info ] ; then
- install-info --info-dir=usr/share/info usr/share/info/gdb.info.gz 2>/dev/null
- install-info --info-dir=usr/share/info usr/share/info/stabs.info.gz 2>/dev/null
- elif ! grep "(gdb)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
- cat << EOF >> usr/share/info/dir
-
-Software development
-* Gdb: (gdb). The GNU debugger.
-* Stabs: (stabs). The "stabs" debugging information format.
-* gdbserver: (gdb) Server. The GNU debugging server.
-EOF
- fi
-}
-
-# 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() {
- if [ -x /usr/bin/install-info ] ; then
- install-info --delete --info-file=usr/share/info/stabs.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- install-info --delete --info-file=usr/share/info/gdb.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
- fi
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-
-operation=$1
-shift
-
-$operation $*
Property changes on: gdb/12.1/gdb-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: gdb/12.1
===================================================================
--- gdb/12.1 (revision 384)
+++ gdb/12.1 (nonexistent)
Property changes on: gdb/12.1
___________________________________________________________________
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: gdb/13.2/Makefile
===================================================================
--- gdb/13.2/Makefile (nonexistent)
+++ gdb/13.2/Makefile (revision 385)
@@ -0,0 +1,480 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/gdb
+
+REQUIRES = dev/binutils/2.40
+REQUIRES += dev/guile/3.0.5
+REQUIRES += libs/readline/8.2
+REQUIRES += libs/zlib/1.2.13
+REQUIRES += libs/isl/0.25
+REQUIRES += libs/mpc/1.2.1
+REQUIRES += app/xz/5.2.7
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 13.2
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/gdb/gdb-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/gdb-$(version)
+src_dir_name = gdb-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+GDB_DEV_PKG_NAME = gdb
+GDB_DEV_PKG_VERSION = 13.2
+GDB_DEV_PKG_ARCH = $(PKGARCH)
+GDB_DEV_PKG_DISTRO_NAME = $(DISTRO_NAME)
+GDB_DEV_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+GDB_DEV_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+GDB_DEV_PKG_SHORT_DESCRIPTION = GNU binary development tools
+GDB_DEV_PKG_URL = $(BUG_URL)
+GDB_DEV_PKG_LICENSE = GPLv2
+GDB_DEV_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(GDB_DEV_PKG_NAME)-pkg-description
+GDB_DEV_PKG_DESCRIPTION_FILE_IN = $(GDB_DEV_PKG_NAME)-pkg-description.in
+GDB_DEV_PKG_INSTALL_SCRIPT = $(GDB_DEV_PKG_NAME)-pkg-install.sh
+
+GDB_DEV_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(GDB_DEV_PKG_NAME)-package
+
+pkg_basename = $(GDB_DEV_PKG_NAME)-$(GDB_DEV_PKG_VERSION)-$(GDB_DEV_PKG_ARCH)-$(GDB_DEV_PKG_DISTRO_NAME)-$(GDB_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+#
+# NOTE: BUILD_MULTILIB_SUFFIX related to bulld machine
+# (slacware64 - lib; ubuntu64 - lib32) see $(BUILDSYSTEM)/targets.mk
+#
+export CC_FOR_BUILD = gcc
+export CXX_FOR_BUILD = g++
+export LD_FOR_BUILD = ld
+export AR_FOR_BUILD = ar
+export AS_FOR_BUILD = as
+export NM_FOR_BUILD = nm
+export CFLAGS_FOR_BUILD = -I/usr/include
+export CXXFLAGS_FOR_BUILD = -I/usr/include
+export CPPFLAGS_FOR_BUILD = -I/usr/include
+export LDFLAGS_FOR_BUILD = -L/usr/lib$(BUILD_MULTILIB_SUFFIX)
+
+
+env_sysroot = DESTDIR=$(GDB_DEV_PKG)
+
+
+#
+# Common controls for components:
+#
+extra_configure_switches = --disable-dependency-tracking
+extra_configure_switches += --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --docdir=/usr/share/doc
+extra_configure_switches += --datadir=/usr/share
+
+extra_configure_switches += --with-system-readline
+extra_configure_switches += --with-system-zlib
+extra_configure_switches += --with-gmp=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-mpc=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-mpfr=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-isl=$(TARGET_DEST_DIR)/usr
+
+extra_configure_switches += --with-libexpat-type=shared
+extra_configure_switches += --with-libexpat-prefix=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-libgmp-type=shared
+extra_configure_switches += --with-libgmp-prefix=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-libmpfr-type=shared
+extra_configure_switches += --with-libmpfr-prefix=$(TARGET_DEST_DIR)/usr
+extra_configure_switches += --with-liblzma-type=shared
+extra_configure_switches += --with-liblzma-prefix=$(TARGET_DEST_DIR)/usr
+
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a8
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a7
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a7
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a17
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8.2-a
+extra_configure_switches += --with-cpu=cortex-a75
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a5
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a53
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a9
+extra_configure_switches += --with-fpu=vfpv3
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a7
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7-a
+extra_configure_switches += --with-tune=cortex-a8
+extra_configure_switches += --with-fpu=neon
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC)),)
+extra_configure_switches += --enable-interwork
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=armv7ve
+extra_configure_switches += --with-tune=cortex-a15
+extra_configure_switches += --with-fpu=neon-vfpv4
+extra_configure_switches += --with-abi=aapcs-linux
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC)),)
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch-32=mips32r2
+extra_configure_switches += --with-arch-64=mips64r2
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --enable-werror=no
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC)),)
+extra_configure_switches += --enable-multilib
+extra_configure_switches += --disable-libssp
+extra_configure_switches += --with-arch=mips32r5
+extra_configure_switches += --with-tune=p5600
+extra_configure_switches += --with-float=hard
+extra_configure_switches += --enable-werror=no
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-arch=armv8-a
+extra_configure_switches += --with-cpu=cortex-a57
+extra_configure_switches += --with-fpu=neon-fp-armv8
+extra_configure_switches += --with-abi=lp64
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC)),)
+extra_configure_switches += --with-multilib-list=m64,m32
+extra_configure_switches += --with-cpu=power8
+extra_configure_switches += --with-tune=power8
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=power8
+extra_configure_switches += --with-tune=power8
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC)),)
+extra_configure_switches += --with-multilib-list=m64,m32
+extra_configure_switches += --with-cpu=power9
+extra_configure_switches += --with-tune=power9
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER9LE_GLIBC)),)
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-cpu=power9
+extra_configure_switches += --with-tune=power9
+endif
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC))
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --with-abi=lp64d
+extra_configure_switches += --with-arch=rv64imafdc
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC)),)
+extra_configure_switches += --with-arch=i586
+extra_configure_switches += --with-tune=i586
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC)),)
+extra_configure_switches += --with-arch=i686
+extra_configure_switches += --with-tune=i686
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+extra_configure_switches += --with-multilib-list=m64,m32
+endif
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ # ======= -Wmissing-prototypes for C and Objective-C only =======
+ @( cd $(SRC_DIR) ; \
+ sed -i '/^\-Wmissing\-prototypes/d' gdb/configure ; \
+ sed -i '/^\-Wmissing\-prototypes/d' gdbserver/configure ; \
+ sed -i '/^\-Wmissing\-prototypes/d' gdbsupport/configure ; \
+ )
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ --target=$(TARGET) \
+ $(extra_configure_switches)
+ $(BUILD_ENVIRONMENT) $(MAKE) -C $(build_dir)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(GDB_DEV_PKG)
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 -C $(build_dir) install $(env_sysroot)
+ # ======= None of this stuff has ever been included in this package: =======
+ @rm -f $(GDB_DEV_PKG)/usr/lib$(LIBSUFFIX)/{libbfd*,libiberty*,libopcodes*}
+ @rm -rf $(GDB_DEV_PKG)/usr/lib$(LIBSUFFIX)
+ @rm -f $(GDB_DEV_PKG)/usr/share/info/{annotate*,bfd*,configure*,standards*}
+ @rm -rf $(GDB_DEV_PKG)/usr/include
+ # ======= Install Documentation =======
+ @rm -f $(GDB_DEV_PKG)/usr/share/info/dir
+ @gzip -9 $(GDB_DEV_PKG)/usr/share/info/*
+ @if [ -d $(GDB_DEV_PKG)/usr/share/man ]; then \
+ ( cd $(GDB_DEV_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(GDB_DEV_PKG)/usr/doc/gdb-$(version)
+ @cp -a $(SRC_DIR)/COPYING* \
+ $(GDB_DEV_PKG)/usr/doc/gdb-$(version)
+ @mkdir -p $(GDB_DEV_PKG)/usr/share/doc/gdb-$(version)
+ @cp -a $(SRC_DIR)/COPYING* $(SRC_DIR)/MAINTAINERS $(SRC_DIR)/README* \
+ $(GDB_DEV_PKG)/usr/share/doc/gdb-$(version)
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(GDB_DEV_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(GDB_DEV_PKG))
+ # ======= Strip binaries =======
+ @( cd $(GDB_DEV_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(GDB_DEV_PKG_DESCRIPTION_FILE): $(GDB_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): $(install_target) $(GDB_DEV_PKG_DESCRIPTION_FILE) $(GDB_DEV_PKG_INSTALL_SCRIPT)
+ @cp $(GDB_DEV_PKG_DESCRIPTION_FILE) $(GDB_DEV_PKG)/.DESCRIPTION
+ @cp $(GDB_DEV_PKG_INSTALL_SCRIPT) $(GDB_DEV_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(GDB_DEV_PKG)/.REQUIRES
+ @echo "pkgname=$(GDB_DEV_PKG_NAME)" > $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "pkgver=$(GDB_DEV_PKG_VERSION)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "arch=$(GDB_DEV_PKG_ARCH)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "distroname=$(GDB_DEV_PKG_DISTRO_NAME)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "distrover=$(GDB_DEV_PKG_DISTRO_VERSION)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "group=$(GDB_DEV_PKG_GROUP)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(GDB_DEV_PKG_SHORT_DESCRIPTION)\"" >> $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "url=$(GDB_DEV_PKG_URL)" >> $(GDB_DEV_PKG)/.PKGINFO ; \
+ echo "license=$(GDB_DEV_PKG_LICENSE)" >> $(GDB_DEV_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(GDB_DEV_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: gdb/13.2/PATCHES
===================================================================
Index: gdb/13.2/gdb-pkg-description.in
===================================================================
--- gdb/13.2/gdb-pkg-description.in (nonexistent)
+++ gdb/13.2/gdb-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+gdb: GNU gdb @VERSION@ (GNU symbolic debugger)
+gdb:
+gdb: GDB, the GNU Project debugger, allows you to see what is going on
+gdb: inside another program while it executes - or what another program
+gdb: was doing at the moment it crashed.
+gdb:
+gdb: The program being debugged can be written in Ada, C, C++,
+gdb: Objective-C, Pascal and many other languages.
+gdb:
+gdb:
+gdb:
Index: gdb/13.2/gdb-pkg-install.sh
===================================================================
--- gdb/13.2/gdb-pkg-install.sh (nonexistent)
+++ gdb/13.2/gdb-pkg-install.sh (revision 385)
@@ -0,0 +1,73 @@
+#!/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...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/gdb.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/stabs.info.gz 2>/dev/null
+ elif ! grep "(gdb)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+Software development
+* Gdb: (gdb). The GNU debugger.
+* Stabs: (stabs). The "stabs" debugging information format.
+* gdbserver: (gdb) Server. The GNU debugging server.
+EOF
+ fi
+}
+
+# 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() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/stabs.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/gdb.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ fi
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: gdb/13.2/gdb-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: gdb/13.2
===================================================================
--- gdb/13.2 (nonexistent)
+++ gdb/13.2 (revision 385)
Property changes on: gdb/13.2
___________________________________________________________________
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: git/2.34.1/Makefile
===================================================================
--- git/2.34.1/Makefile (revision 384)
+++ git/2.34.1/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -54,7 +60,11 @@
SOURCE_REQUIRES = sources/packages/d/git
-REQUIRES = libs/glibc/2.36
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/12.2.0
+else
+REQUIRES = libs/glibc/2.37
+endif
REQUIRES += app/grep/3.6
REQUIRES += libs/pcre2/10.36
Index: git/2.34.1
===================================================================
--- git/2.34.1 (revision 384)
+++ git/2.34.1 (revision 385)
Property changes on: git/2.34.1
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: gperf/3.1/Makefile
===================================================================
--- gperf/3.1/Makefile (revision 384)
+++ gperf/3.1/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -57,7 +63,7 @@
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/12.2.0
else
-REQUIRES = libs/glibc/2.36
+REQUIRES = libs/glibc/2.37
endif
# ======= __END_OF_REQUIRES__ =======
Index: gperf/3.1
===================================================================
--- gperf/3.1 (revision 384)
+++ gperf/3.1 (revision 385)
Property changes on: gperf/3.1
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: guile/3.0.5/Makefile
===================================================================
--- guile/3.0.5/Makefile (revision 384)
+++ guile/3.0.5/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: guile/3.0.5
===================================================================
--- guile/3.0.5 (revision 384)
+++ guile/3.0.5 (revision 385)
Property changes on: guile/3.0.5
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: guile/3.0.5-ppc32
===================================================================
--- guile/3.0.5-ppc32 (revision 384)
+++ guile/3.0.5-ppc32 (revision 385)
Property changes on: guile/3.0.5-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: guile/3.0.5-x86_32
===================================================================
--- guile/3.0.5-x86_32 (revision 384)
+++ guile/3.0.5-x86_32 (revision 385)
Property changes on: guile/3.0.5-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: help2man/1.49.3/Makefile
===================================================================
--- help2man/1.49.3/Makefile (nonexistent)
+++ help2man/1.49.3/Makefile (revision 385)
@@ -0,0 +1,225 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNU/help2man
+
+REQUIRES = dev/perl/5.36.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.49.3
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/help2man/help2man-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/help2man-$(version)
+src_dir_name = help2man-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+HELP2MAN_PKG_NAME = help2man
+HELP2MAN_PKG_VERSION = 1.49.3
+HELP2MAN_PKG_ARCH = $(PKGARCH)
+HELP2MAN_PKG_DISTRO_NAME = $(DISTRO_NAME)
+HELP2MAN_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+HELP2MAN_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+HELP2MAN_PKG_SHORT_DESCRIPTION = automatic man page generator
+HELP2MAN_PKG_URL = $(BUG_URL)
+HELP2MAN_PKG_LICENSE = GPLv3
+HELP2MAN_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(HELP2MAN_PKG_NAME)-pkg-description
+HELP2MAN_PKG_DESCRIPTION_FILE_IN = $(HELP2MAN_PKG_NAME)-pkg-description.in
+HELP2MAN_PKG_INSTALL_SCRIPT = $(HELP2MAN_PKG_NAME)-pkg-install.sh
+
+HELP2MAN_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(HELP2MAN_PKG_NAME)-package
+
+pkg_basename = $(HELP2MAN_PKG_NAME)-$(HELP2MAN_PKG_VERSION)-$(HELP2MAN_PKG_ARCH)-$(HELP2MAN_PKG_DISTRO_NAME)-$(HELP2MAN_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(HELP2MAN_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
+
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_LIB_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(HELP2MAN_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @sed -i 's,$(BUILDSYSTEM),,' $(HELP2MAN_PKG)/usr/bin/help2man
+ # ======= Install Documentation =======
+ @rm -f $(HELP2MAN_PKG)/usr/share/info/dir
+ @gzip -9 $(HELP2MAN_PKG)/usr/share/info/*
+ @if [ -d $(HELP2MAN_PKG)/usr/share/man ]; then \
+ ( cd $(HELP2MAN_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(HELP2MAN_PKG)/usr/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a COPYING THANKS \
+ $(HELP2MAN_PKG)/usr/doc/$(src_dir_name) \
+ )
+ @mkdir -p $(HELP2MAN_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a COPYING INSTALL NEWS README THANKS \
+ $(HELP2MAN_PKG)/usr/share/doc/$(src_dir_name) ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -s ChangeLog ]; then \
+ DOCSDIR=`echo $(HELP2MAN_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(HELP2MAN_PKG))
+ # ======= Strip binaries =======
+ @( cd $(HELP2MAN_PKG) ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(HELP2MAN_PKG_DESCRIPTION_FILE): $(HELP2MAN_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): $(install_target) $(HELP2MAN_PKG_DESCRIPTION_FILE) $(HELP2MAN_PKG_INSTALL_SCRIPT)
+ @cp $(HELP2MAN_PKG_DESCRIPTION_FILE) $(HELP2MAN_PKG)/.DESCRIPTION
+ @cp $(HELP2MAN_PKG_INSTALL_SCRIPT) $(HELP2MAN_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(HELP2MAN_PKG)/.REQUIRES
+ @echo "pkgname=$(HELP2MAN_PKG_NAME)" > $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "pkgver=$(HELP2MAN_PKG_VERSION)" >> $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "arch=$(HELP2MAN_PKG_ARCH)" >> $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "distroname=$(HELP2MAN_PKG_DISTRO_NAME)" >> $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "distrover=$(HELP2MAN_PKG_DISTRO_VERSION)" >> $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "group=$(HELP2MAN_PKG_GROUP)" >> $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(HELP2MAN_PKG_SHORT_DESCRIPTION)\"" >> $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "url=$(HELP2MAN_PKG_URL)" >> $(HELP2MAN_PKG)/.PKGINFO ; \
+ echo "license=$(HELP2MAN_PKG_LICENSE)" >> $(HELP2MAN_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(HELP2MAN_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: help2man/1.49.3/PATCHES
===================================================================
Index: help2man/1.49.3/help2man-pkg-description.in
===================================================================
--- help2man/1.49.3/help2man-pkg-description.in (nonexistent)
+++ help2man/1.49.3/help2man-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+help2man: help2man @VERSION@ (automatic man page generator)
+help2man:
+help2man: help2man is a tool for automatically generating simple manual pages
+help2man: from program output.
+help2man:
+help2man:
+help2man: Homepage: http://www.gnu.org/software/help2man
+help2man:
+help2man:
+help2man:
+help2man:
Index: help2man/1.49.3/help2man-pkg-install.sh
===================================================================
--- help2man/1.49.3/help2man-pkg-install.sh (nonexistent)
+++ help2man/1.49.3/help2man-pkg-install.sh (revision 385)
@@ -0,0 +1,89 @@
+#!/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...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ #
+ # NOTE:
+ # 'install-info' can work using relative paths and we can make use build machine
+ # utility during installation to the some partition and use target 'install-info'
+ # during installation directly on the running target machine.
+ #
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --info-dir=usr/share/info usr/share/info/help2man.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-de.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-es.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-fr.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-pl.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-pt_BR.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-ro.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-sr.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-sv.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-uk.info.gz 2>/dev/null
+ install-info --info-dir=usr/share/info usr/share/info/help2man-zh_CN.info.gz 2>/dev/null
+ elif ! grep "(help2man)" usr/share/info/dir 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> usr/share/info/dir
+
+Software development
+* help2man: (help2man). Automatic manual page generation.
+EOF
+ fi
+}
+
+# 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() {
+ if [ -x /usr/bin/install-info ] ; then
+ install-info --delete --info-file=usr/share/info/help2man.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-de.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-es.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-fr.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-pl.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-pt_BR.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-ro.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-sr.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-sv.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-uk.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ install-info --delete --info-file=usr/share/info/help2man-zh_CN.info.gz --dir-file=usr/share/info/dir 2> /dev/null || /bin/true
+ fi
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: help2man/1.49.3/help2man-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: help2man/1.49.3
===================================================================
--- help2man/1.49.3 (nonexistent)
+++ help2man/1.49.3 (revision 385)
Property changes on: help2man/1.49.3
___________________________________________________________________
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: intltool/0.51.0/Makefile
===================================================================
--- intltool/0.51.0/Makefile (revision 384)
+++ intltool/0.51.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: intltool/0.51.0
===================================================================
--- intltool/0.51.0 (revision 384)
+++ intltool/0.51.0 (revision 385)
Property changes on: intltool/0.51.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: kernel/a1x/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/a1x/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/a1x/6.0.7-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/a1x/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/a1x/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/a1x/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/a1x/6.0.7-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/a1x/6.0.7-headers/Makefile
===================================================================
--- kernel/a1x/6.0.7-headers/Makefile (revision 384)
+++ kernel/a1x/6.0.7-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_CB1X)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_A1X_GLIBC)),)
-ARCH = arm
-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.0.7
-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/a1x/6.0.7-headers
===================================================================
--- kernel/a1x/6.0.7-headers (revision 384)
+++ kernel/a1x/6.0.7-headers (nonexistent)
Property changes on: kernel/a1x/6.0.7-headers
___________________________________________________________________
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/a1x/6.1.53-headers/Makefile
===================================================================
--- kernel/a1x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/a1x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_CB1X)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_A1X_GLIBC)),)
+ARCH = arm
+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.53
+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/a1x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/a1x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/a1x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/a1x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/a1x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/a1x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/a1x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/a1x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/a1x/6.1.53-headers
===================================================================
--- kernel/a1x/6.1.53-headers (nonexistent)
+++ kernel/a1x/6.1.53-headers (revision 385)
Property changes on: kernel/a1x/6.1.53-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/a2x/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/a2x/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/a2x/6.0.7-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/a2x/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/a2x/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/a2x/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/a2x/6.0.7-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/a2x/6.0.7-headers/Makefile
===================================================================
--- kernel/a2x/6.0.7-headers/Makefile (revision 384)
+++ kernel/a2x/6.0.7-headers/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_A2X_GLIBC)),)
-ARCH = arm
-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.0.7
-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/a2x/6.0.7-headers
===================================================================
--- kernel/a2x/6.0.7-headers (revision 384)
+++ kernel/a2x/6.0.7-headers (nonexistent)
Property changes on: kernel/a2x/6.0.7-headers
___________________________________________________________________
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/a2x/6.1.53-headers/Makefile
===================================================================
--- kernel/a2x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/a2x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_A2X_GLIBC)),)
+ARCH = arm
+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.53
+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/a2x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/a2x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/a2x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/a2x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/a2x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/a2x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/a2x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/a2x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/a2x/6.1.53-headers
===================================================================
--- kernel/a2x/6.1.53-headers (nonexistent)
+++ kernel/a2x/6.1.53-headers (revision 385)
Property changes on: kernel/a2x/6.1.53-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/a311x/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/a311x/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/a311x/6.0.7-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/a311x/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/a311x/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/a311x/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/a311x/6.0.7-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/a311x/6.0.7-headers/Makefile
===================================================================
--- kernel/a311x/6.0.7-headers/Makefile (revision 384)
+++ kernel/a311x/6.0.7-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_KHADAS_VIM3)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_A311X_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.0.7
-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/a311x/6.0.7-headers
===================================================================
--- kernel/a311x/6.0.7-headers (revision 384)
+++ kernel/a311x/6.0.7-headers (nonexistent)
Property changes on: kernel/a311x/6.0.7-headers
___________________________________________________________________
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/a311x/6.1.53-headers/Makefile
===================================================================
--- kernel/a311x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/a311x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_KHADAS_VIM3)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_A311X_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.53
+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/a311x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/a311x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/a311x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/a311x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/a311x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/a311x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/a311x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/a311x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/a311x/6.1.53-headers
===================================================================
--- kernel/a311x/6.1.53-headers (nonexistent)
+++ kernel/a311x/6.1.53-headers (revision 385)
Property changes on: kernel/a311x/6.1.53-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/am335x/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/am335x/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/am335x/6.0.7-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/am335x/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/am335x/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/am335x/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/am335x/6.0.7-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/am335x/6.0.7-headers/Makefile
===================================================================
--- kernel/am335x/6.0.7-headers/Makefile (revision 384)
+++ kernel/am335x/6.0.7-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_BONE_BLACK)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_AM335X_GLIBC)),)
-ARCH = arm
-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.0.7
-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/am335x/6.0.7-headers
===================================================================
--- kernel/am335x/6.0.7-headers (revision 384)
+++ kernel/am335x/6.0.7-headers (nonexistent)
Property changes on: kernel/am335x/6.0.7-headers
___________________________________________________________________
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/am335x/6.1.53-headers/Makefile
===================================================================
--- kernel/am335x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/am335x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_BONE_BLACK)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_AM335X_GLIBC)),)
+ARCH = arm
+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.53
+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/am335x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/am335x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/am335x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/am335x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/am335x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/am335x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/am335x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/am335x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/am335x/6.1.53-headers
===================================================================
--- kernel/am335x/6.1.53-headers (nonexistent)
+++ kernel/am335x/6.1.53-headers (revision 385)
Property changes on: kernel/am335x/6.1.53-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/h3/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/h3/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/h3/6.0.7-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/h3/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/h3/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/h3/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/h3/6.0.7-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/h3/6.0.7-headers/Makefile
===================================================================
--- kernel/h3/6.0.7-headers/Makefile (revision 384)
+++ kernel/h3/6.0.7-headers/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_H3_GLIBC)),)
-ARCH = arm
-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.0.7
-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/h3/6.0.7-headers
===================================================================
--- kernel/h3/6.0.7-headers (revision 384)
+++ kernel/h3/6.0.7-headers (nonexistent)
Property changes on: kernel/h3/6.0.7-headers
___________________________________________________________________
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/h3/6.1.53-headers/Makefile
===================================================================
--- kernel/h3/6.1.53-headers/Makefile (nonexistent)
+++ kernel/h3/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_H3_GLIBC)),)
+ARCH = arm
+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.53
+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/h3/6.1.53-headers/PATCHES
===================================================================
Index: kernel/h3/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/h3/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/h3/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/h3/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/h3/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/h3/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/h3/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/h3/6.1.53-headers
===================================================================
--- kernel/h3/6.1.53-headers (nonexistent)
+++ kernel/h3/6.1.53-headers (revision 385)
Property changes on: kernel/h3/6.1.53-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/h5/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/h5/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/h5/6.0.7-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/h5/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/h5/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/h5/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/h5/6.0.7-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/h5/6.0.7-headers/Makefile
===================================================================
--- kernel/h5/6.0.7-headers/Makefile (revision 384)
+++ kernel/h5/6.0.7-headers/Makefile (nonexistent)
@@ -1,134 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_H5_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.0.7
-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/h5/6.0.7-headers
===================================================================
--- kernel/h5/6.0.7-headers (revision 384)
+++ kernel/h5/6.0.7-headers (nonexistent)
Property changes on: kernel/h5/6.0.7-headers
___________________________________________________________________
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/h5/6.1.53-headers/Makefile
===================================================================
--- kernel/h5/6.1.53-headers/Makefile (nonexistent)
+++ kernel/h5/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,138 @@
+
+COMPONENT_TARGETS = $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_H5_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.53
+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/h5/6.1.53-headers/PATCHES
===================================================================
Index: kernel/h5/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/h5/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/h5/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/h5/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/h5/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/h5/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/h5/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/h5/6.1.53-headers
===================================================================
--- kernel/h5/6.1.53-headers (nonexistent)
+++ kernel/h5/6.1.53-headers (revision 385)
Property changes on: kernel/h5/6.1.53-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/imx6/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/imx6/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/imx6/6.0.7-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/imx6/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/imx6/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/imx6/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/imx6/6.0.7-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/imx6/6.0.7-headers/Makefile
===================================================================
--- kernel/imx6/6.0.7-headers/Makefile (revision 384)
+++ kernel/imx6/6.0.7-headers/Makefile (nonexistent)
@@ -1,134 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_IMX6_GLIBC)),)
-ARCH = arm
-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.0.7
-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/imx6/6.0.7-headers
===================================================================
--- kernel/imx6/6.0.7-headers (revision 384)
+++ kernel/imx6/6.0.7-headers (nonexistent)
Property changes on: kernel/imx6/6.0.7-headers
___________________________________________________________________
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/imx6/6.1.53-headers/Makefile
===================================================================
--- kernel/imx6/6.1.53-headers/Makefile (nonexistent)
+++ kernel/imx6/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,134 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_IMX6_GLIBC)),)
+ARCH = arm
+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.53
+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/imx6/6.1.53-headers/PATCHES
===================================================================
Index: kernel/imx6/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/imx6/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/imx6/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/imx6/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/imx6/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/imx6/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/imx6/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/imx6/6.1.53-headers
===================================================================
--- kernel/imx6/6.1.53-headers (nonexistent)
+++ kernel/imx6/6.1.53-headers (revision 385)
Property changes on: kernel/imx6/6.1.53-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/jz47xx/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/jz47xx/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/jz47xx/6.0.7-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/jz47xx/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/jz47xx/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/jz47xx/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/jz47xx/6.0.7-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/jz47xx/6.0.7-headers/Makefile
===================================================================
--- kernel/jz47xx/6.0.7-headers/Makefile (revision 384)
+++ kernel/jz47xx/6.0.7-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_CI20)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_JZ47XX_GLIBC)),)
-ARCH = mips
-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.0.7
-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/jz47xx/6.0.7-headers
===================================================================
--- kernel/jz47xx/6.0.7-headers (revision 384)
+++ kernel/jz47xx/6.0.7-headers (nonexistent)
Property changes on: kernel/jz47xx/6.0.7-headers
___________________________________________________________________
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/jz47xx/6.1.53-headers/Makefile
===================================================================
--- kernel/jz47xx/6.1.53-headers/Makefile (nonexistent)
+++ kernel/jz47xx/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_CI20)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_JZ47XX_GLIBC)),)
+ARCH = mips
+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.53
+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/jz47xx/6.1.53-headers/PATCHES
===================================================================
Index: kernel/jz47xx/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/jz47xx/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/jz47xx/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/jz47xx/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/jz47xx/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/jz47xx/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/jz47xx/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/jz47xx/6.1.53-headers
===================================================================
--- kernel/jz47xx/6.1.53-headers (nonexistent)
+++ kernel/jz47xx/6.1.53-headers (revision 385)
Property changes on: kernel/jz47xx/6.1.53-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/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 384)
+++ 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 384)
+++ 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 384)
+++ 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 384)
+++ 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,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/m1000/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/m1000/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/m1000/6.0.7-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/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/m1000/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/m1000/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/m1000/6.0.7-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/6.0.7-headers/Makefile
===================================================================
--- kernel/m1000/6.0.7-headers/Makefile (revision 384)
+++ kernel/m1000/6.0.7-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/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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.0.7
-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.0.7-headers
===================================================================
--- kernel/m1000/6.0.7-headers (revision 384)
+++ kernel/m1000/6.0.7-headers (nonexistent)
Property changes on: kernel/m1000/6.0.7-headers
___________________________________________________________________
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/m1000/6.1.53-headers/Makefile
===================================================================
--- kernel/m1000/6.1.53-headers/Makefile (nonexistent)
+++ kernel/m1000/6.1.53-headers/Makefile (revision 385)
@@ -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/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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.53
+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.53-headers/PATCHES
===================================================================
Index: kernel/m1000/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/m1000/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/m1000/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/m1000/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/m1000/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/m1000/6.1.53-headers
===================================================================
--- kernel/m1000/6.1.53-headers (nonexistent)
+++ kernel/m1000/6.1.53-headers (revision 385)
Property changes on: kernel/m1000/6.1.53-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/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 385)
@@ -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 385)
@@ -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 385)
@@ -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 385)
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/omap543x/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/omap543x/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/omap543x/6.0.7-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/omap543x/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/omap543x/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/omap543x/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/omap543x/6.0.7-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/omap543x/6.0.7-headers/Makefile
===================================================================
--- kernel/omap543x/6.0.7-headers/Makefile (revision 384)
+++ kernel/omap543x/6.0.7-headers/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_OMAP543X_GLIBC)),)
-ARCH = arm
-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.0.7
-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/omap543x/6.0.7-headers
===================================================================
--- kernel/omap543x/6.0.7-headers (revision 384)
+++ kernel/omap543x/6.0.7-headers (nonexistent)
Property changes on: kernel/omap543x/6.0.7-headers
___________________________________________________________________
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/omap543x/6.1.53-headers/Makefile
===================================================================
--- kernel/omap543x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/omap543x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_OMAP543X_GLIBC)),)
+ARCH = arm
+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.53
+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/omap543x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/omap543x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/omap543x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/omap543x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/omap543x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/omap543x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/omap543x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/omap543x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/omap543x/6.1.53-headers
===================================================================
--- kernel/omap543x/6.1.53-headers (nonexistent)
+++ kernel/omap543x/6.1.53-headers (revision 385)
Property changes on: kernel/omap543x/6.1.53-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/p5600/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/p5600/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/p5600/6.0.7-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/p5600/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/p5600/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/p5600/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/p5600/6.0.7-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/p5600/6.0.7-headers/Makefile
===================================================================
--- kernel/p5600/6.0.7-headers/Makefile (revision 384)
+++ kernel/p5600/6.0.7-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_BAIKAL_T1)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_P5600_GLIBC)),)
-ARCH = mips
-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.0.7
-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/p5600/6.0.7-headers
===================================================================
--- kernel/p5600/6.0.7-headers (revision 384)
+++ kernel/p5600/6.0.7-headers (nonexistent)
Property changes on: kernel/p5600/6.0.7-headers
___________________________________________________________________
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/p5600/5.15.61-5.9.31-headers
===================================================================
--- kernel/p5600/5.15.61-5.9.31-headers (revision 384)
+++ kernel/p5600/5.15.61-5.9.31-headers (revision 385)
Property changes on: kernel/p5600/5.15.61-5.9.31-headers
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: kernel/p5600/6.1.53-headers/Makefile
===================================================================
--- kernel/p5600/6.1.53-headers/Makefile (nonexistent)
+++ kernel/p5600/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_BAIKAL_T1)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_P5600_GLIBC)),)
+ARCH = mips
+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.53
+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/p5600/6.1.53-headers/PATCHES
===================================================================
Index: kernel/p5600/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/p5600/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/p5600/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/p5600/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/p5600/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/p5600/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/p5600/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/p5600/6.1.53-headers
===================================================================
--- kernel/p5600/6.1.53-headers (nonexistent)
+++ kernel/p5600/6.1.53-headers (revision 385)
Property changes on: kernel/p5600/6.1.53-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/power8/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/power8/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/power8/6.0.7-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/power8/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/power8/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/power8/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/power8/6.0.7-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/power8/6.0.7-headers/Makefile
===================================================================
--- kernel/power8/6.0.7-headers/Makefile (revision 384)
+++ kernel/power8/6.0.7-headers/Makefile (nonexistent)
@@ -1,135 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_POWER8_GLIBC) $(TOOLCHAIN_POWER8LE_GLIBC)),)
-ARCH = powerpc
-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.0.7
-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/power8/6.0.7-headers
===================================================================
--- kernel/power8/6.0.7-headers (revision 384)
+++ kernel/power8/6.0.7-headers (nonexistent)
Property changes on: kernel/power8/6.0.7-headers
___________________________________________________________________
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/power8/6.1.53-headers/Makefile
===================================================================
--- kernel/power8/6.1.53-headers/Makefile (nonexistent)
+++ kernel/power8/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,135 @@
+
+COMPONENT_TARGETS = $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_POWER8_GLIBC) $(TOOLCHAIN_POWER8LE_GLIBC)),)
+ARCH = powerpc
+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.53
+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/power8/6.1.53-headers/PATCHES
===================================================================
Index: kernel/power8/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/power8/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/power8/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/power8/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/power8/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/power8/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/power8/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/power8/6.1.53-headers
===================================================================
--- kernel/power8/6.1.53-headers (nonexistent)
+++ kernel/power8/6.1.53-headers (revision 385)
Property changes on: kernel/power8/6.1.53-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/power9/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/power9/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/power9/6.0.7-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/power9/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/power9/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/power9/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/power9/6.0.7-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/power9/6.0.7-headers/Makefile
===================================================================
--- kernel/power9/6.0.7-headers/Makefile (revision 384)
+++ kernel/power9/6.0.7-headers/Makefile (nonexistent)
@@ -1,135 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_POWER9_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
-ARCH = powerpc
-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.0.7
-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/power9/6.0.7-headers
===================================================================
--- kernel/power9/6.0.7-headers (revision 384)
+++ kernel/power9/6.0.7-headers (nonexistent)
Property changes on: kernel/power9/6.0.7-headers
___________________________________________________________________
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/power9/6.1.53-headers/Makefile
===================================================================
--- kernel/power9/6.1.53-headers/Makefile (nonexistent)
+++ kernel/power9/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,135 @@
+
+COMPONENT_TARGETS = $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_POWER9_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
+ARCH = powerpc
+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.53
+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/power9/6.1.53-headers/PATCHES
===================================================================
Index: kernel/power9/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/power9/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/power9/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/power9/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/power9/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/power9/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/power9/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/power9/6.1.53-headers
===================================================================
--- kernel/power9/6.1.53-headers (nonexistent)
+++ kernel/power9/6.1.53-headers (revision 385)
Property changes on: kernel/power9/6.1.53-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/riscv64/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/riscv64/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/riscv64/6.0.7-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/riscv64/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/riscv64/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/riscv64/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/riscv64/6.0.7-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/riscv64/6.0.7-headers/Makefile
===================================================================
--- kernel/riscv64/6.0.7-headers/Makefile (revision 384)
+++ kernel/riscv64/6.0.7-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_SIFIVE_U740)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RISCV64_GLIBC)),)
-ARCH = riscv
-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.0.7
-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/riscv64/6.0.7-headers
===================================================================
--- kernel/riscv64/6.0.7-headers (revision 384)
+++ kernel/riscv64/6.0.7-headers (nonexistent)
Property changes on: kernel/riscv64/6.0.7-headers
___________________________________________________________________
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/riscv64/6.1.53-headers/Makefile
===================================================================
--- kernel/riscv64/6.1.53-headers/Makefile (nonexistent)
+++ kernel/riscv64/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RISCV64_GLIBC)),)
+ARCH = riscv
+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.53
+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/riscv64/6.1.53-headers/PATCHES
===================================================================
Index: kernel/riscv64/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/riscv64/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/riscv64/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/riscv64/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/riscv64/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/riscv64/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/riscv64/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/riscv64/6.1.53-headers
===================================================================
--- kernel/riscv64/6.1.53-headers (nonexistent)
+++ kernel/riscv64/6.1.53-headers (revision 385)
Property changes on: kernel/riscv64/6.1.53-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/riscv64/visionfive2/6.1.31-3.8.2-headers/Makefile
===================================================================
--- kernel/riscv64/visionfive2/6.1.31-3.8.2-headers/Makefile (nonexistent)
+++ kernel/riscv64/visionfive2/6.1.31-3.8.2-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_VISIONFIVE2)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/StarFive
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.31-3.8.2
+modules_version = 6.1.31
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/StarFive/linux-starfive-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-starfive-$(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_RISCV64_GLIBC)),)
+ARCH = riscv
+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.31
+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/riscv64/visionfive2/6.1.31-3.8.2-headers/PATCHES
===================================================================
Index: kernel/riscv64/visionfive2/6.1.31-3.8.2-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/riscv64/visionfive2/6.1.31-3.8.2-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/riscv64/visionfive2/6.1.31-3.8.2-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/riscv64/visionfive2/6.1.31-3.8.2-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/riscv64/visionfive2/6.1.31-3.8.2-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/riscv64/visionfive2/6.1.31-3.8.2-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/riscv64/visionfive2/6.1.31-3.8.2-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/riscv64/visionfive2/6.1.31-3.8.2-headers
===================================================================
--- kernel/riscv64/visionfive2/6.1.31-3.8.2-headers (nonexistent)
+++ kernel/riscv64/visionfive2/6.1.31-3.8.2-headers (revision 385)
Property changes on: kernel/riscv64/visionfive2/6.1.31-3.8.2-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/rk328x/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk328x/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/rk328x/6.0.7-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/rk328x/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/rk328x/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk328x/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/rk328x/6.0.7-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/rk328x/6.0.7-headers/Makefile
===================================================================
--- kernel/rk328x/6.0.7-headers/Makefile (revision 384)
+++ kernel/rk328x/6.0.7-headers/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RK328X_GLIBC)),)
-ARCH = arm
-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.0.7
-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/rk328x/6.0.7-headers
===================================================================
--- kernel/rk328x/6.0.7-headers (revision 384)
+++ kernel/rk328x/6.0.7-headers (nonexistent)
Property changes on: kernel/rk328x/6.0.7-headers
___________________________________________________________________
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/rk328x/6.1.53-headers/Makefile
===================================================================
--- kernel/rk328x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/rk328x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RK328X_GLIBC)),)
+ARCH = arm
+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.53
+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/rk328x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/rk328x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk328x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/rk328x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/rk328x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk328x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/rk328x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/rk328x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/rk328x/6.1.53-headers
===================================================================
--- kernel/rk328x/6.1.53-headers (nonexistent)
+++ kernel/rk328x/6.1.53-headers (revision 385)
Property changes on: kernel/rk328x/6.1.53-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/rk339x/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk339x/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/rk339x/6.0.7-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/rk339x/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/rk339x/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk339x/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/rk339x/6.0.7-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/rk339x/6.0.7-headers/Makefile
===================================================================
--- kernel/rk339x/6.0.7-headers/Makefile (revision 384)
+++ kernel/rk339x/6.0.7-headers/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RK339X_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.0.7
-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/rk339x/6.0.7-headers
===================================================================
--- kernel/rk339x/6.0.7-headers (revision 384)
+++ kernel/rk339x/6.0.7-headers (nonexistent)
Property changes on: kernel/rk339x/6.0.7-headers
___________________________________________________________________
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/rk339x/6.1.53-headers/Makefile
===================================================================
--- kernel/rk339x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/rk339x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RK339X_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.53
+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/rk339x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/rk339x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk339x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/rk339x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/rk339x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk339x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/rk339x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/rk339x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/rk339x/6.1.53-headers
===================================================================
--- kernel/rk339x/6.1.53-headers (nonexistent)
+++ kernel/rk339x/6.1.53-headers (revision 385)
Property changes on: kernel/rk339x/6.1.53-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/rk33xx/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk33xx/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/rk33xx/6.0.7-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/rk33xx/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/rk33xx/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk33xx/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/rk33xx/6.0.7-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/rk33xx/6.0.7-headers/Makefile
===================================================================
--- kernel/rk33xx/6.0.7-headers/Makefile (revision 384)
+++ kernel/rk33xx/6.0.7-headers/Makefile (nonexistent)
@@ -1,132 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_RK3328_CC)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RK33XX_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.0.7
-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/rk33xx/6.0.7-headers
===================================================================
--- kernel/rk33xx/6.0.7-headers (revision 384)
+++ kernel/rk33xx/6.0.7-headers (nonexistent)
Property changes on: kernel/rk33xx/6.0.7-headers
___________________________________________________________________
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/rk33xx/6.1.53-headers/Makefile
===================================================================
--- kernel/rk33xx/6.1.53-headers/Makefile (nonexistent)
+++ kernel/rk33xx/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_RK3328_CC)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RK33XX_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.53
+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/rk33xx/6.1.53-headers/PATCHES
===================================================================
Index: kernel/rk33xx/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk33xx/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/rk33xx/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/rk33xx/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk33xx/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/rk33xx/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/rk33xx/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/rk33xx/6.1.53-headers
===================================================================
--- kernel/rk33xx/6.1.53-headers (nonexistent)
+++ kernel/rk33xx/6.1.53-headers (revision 385)
Property changes on: kernel/rk33xx/6.1.53-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/rk358x/6.1.53-headers/Makefile
===================================================================
--- kernel/rk358x/6.1.53-headers/Makefile (nonexistent)
+++ kernel/rk358x/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_ORANGE_PI5)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_RK358X_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.53
+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/rk358x/6.1.53-headers/PATCHES
===================================================================
Index: kernel/rk358x/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk358x/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/rk358x/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/rk358x/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk358x/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/rk358x/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/rk358x/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/rk358x/6.1.53-headers
===================================================================
--- kernel/rk358x/6.1.53-headers (nonexistent)
+++ kernel/rk358x/6.1.53-headers (revision 385)
Property changes on: kernel/rk358x/6.1.53-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/rk358x/orange-pi5/5.10.110-headers/Makefile
===================================================================
--- kernel/rk358x/orange-pi5/5.10.110-headers/Makefile (nonexistent)
+++ kernel/rk358x/orange-pi5/5.10.110-headers/Makefile (revision 385)
@@ -0,0 +1,132 @@
+
+COMPONENT_TARGETS = $(HARDWARE_ORANGE_PI5)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/OrangePi
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 5.10.110
+modules_version = 5.10.110
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/OrangePi/linux-orangepi-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-orangepi-$(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_RK358X_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.10.110
+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/rk358x/orange-pi5/5.10.110-headers/PATCHES
===================================================================
Index: kernel/rk358x/orange-pi5/5.10.110-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/rk358x/orange-pi5/5.10.110-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/rk358x/orange-pi5/5.10.110-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/rk358x/orange-pi5/5.10.110-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/rk358x/orange-pi5/5.10.110-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/rk358x/orange-pi5/5.10.110-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/rk358x/orange-pi5/5.10.110-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/rk358x/orange-pi5/5.10.110-headers
===================================================================
--- kernel/rk358x/orange-pi5/5.10.110-headers (nonexistent)
+++ kernel/rk358x/orange-pi5/5.10.110-headers (revision 385)
Property changes on: kernel/rk358x/orange-pi5/5.10.110-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/s8xx/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/s8xx/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/s8xx/6.0.7-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/s8xx/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/s8xx/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/s8xx/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/s8xx/6.0.7-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/s8xx/6.0.7-headers/Makefile
===================================================================
--- kernel/s8xx/6.0.7-headers/Makefile (revision 384)
+++ kernel/s8xx/6.0.7-headers/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_S8XX_GLIBC)),)
-ARCH = arm
-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.0.7
-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/s8xx/6.0.7-headers
===================================================================
--- kernel/s8xx/6.0.7-headers (revision 384)
+++ kernel/s8xx/6.0.7-headers (nonexistent)
Property changes on: kernel/s8xx/6.0.7-headers
___________________________________________________________________
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/s8xx/6.1.53-headers/Makefile
===================================================================
--- kernel/s8xx/6.1.53-headers/Makefile (nonexistent)
+++ kernel/s8xx/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_S8XX_GLIBC)),)
+ARCH = arm
+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.53
+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/s8xx/6.1.53-headers/PATCHES
===================================================================
Index: kernel/s8xx/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/s8xx/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/s8xx/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/s8xx/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/s8xx/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/s8xx/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/s8xx/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/s8xx/6.1.53-headers
===================================================================
--- kernel/s8xx/6.1.53-headers (nonexistent)
+++ kernel/s8xx/6.1.53-headers (revision 385)
Property changes on: kernel/s8xx/6.1.53-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/s9xx/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/s9xx/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/s9xx/6.0.7-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/s9xx/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/s9xx/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/s9xx/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/s9xx/6.0.7-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/s9xx/6.0.7-headers/Makefile
===================================================================
--- kernel/s9xx/6.0.7-headers/Makefile (revision 384)
+++ kernel/s9xx/6.0.7-headers/Makefile (nonexistent)
@@ -1,139 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_S9XX_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.0.7
-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/s9xx/6.0.7-headers
===================================================================
--- kernel/s9xx/6.0.7-headers (revision 384)
+++ kernel/s9xx/6.0.7-headers (nonexistent)
Property changes on: kernel/s9xx/6.0.7-headers
___________________________________________________________________
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/s9xx/6.1.53-headers/Makefile
===================================================================
--- kernel/s9xx/6.1.53-headers/Makefile (nonexistent)
+++ kernel/s9xx/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,139 @@
+
+COMPONENT_TARGETS = $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_S9XX_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.53
+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/s9xx/6.1.53-headers/PATCHES
===================================================================
Index: kernel/s9xx/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/s9xx/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/s9xx/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/s9xx/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/s9xx/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/s9xx/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/s9xx/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/s9xx/6.1.53-headers
===================================================================
--- kernel/s9xx/6.1.53-headers (nonexistent)
+++ kernel/s9xx/6.1.53-headers (revision 385)
Property changes on: kernel/s9xx/6.1.53-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/x86/6.0.7-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/x86/6.0.7-headers/kernel-headers-pkg-install.sh (revision 384)
+++ kernel/x86/6.0.7-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/x86/6.0.7-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel/x86/6.0.7-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/x86/6.0.7-headers/kernel-headers-pkg-description.in (revision 384)
+++ kernel/x86/6.0.7-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/x86/6.0.7-headers/Makefile
===================================================================
--- kernel/x86/6.0.7-headers/Makefile (revision 384)
+++ kernel/x86/6.0.7-headers/Makefile (nonexistent)
@@ -1,135 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = base/radix-system
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_X86_64_GLIBC) $(TOOLCHAIN_I686_GLIBC) \
- $(TOOLCHAIN_I586_GLIBC)),)
-ARCH = x86
-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.0.7
-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/x86/6.0.7-headers
===================================================================
--- kernel/x86/6.0.7-headers (revision 384)
+++ kernel/x86/6.0.7-headers (nonexistent)
Property changes on: kernel/x86/6.0.7-headers
___________________________________________________________________
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/x86/6.1.53-headers/Makefile
===================================================================
--- kernel/x86/6.1.53-headers/Makefile (nonexistent)
+++ kernel/x86/6.1.53-headers/Makefile (revision 385)
@@ -0,0 +1,135 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = base/radix-system
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/linux-$(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_X86_64_GLIBC) $(TOOLCHAIN_I686_GLIBC) \
+ $(TOOLCHAIN_I586_GLIBC)),)
+ARCH = x86
+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.53
+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/x86/6.1.53-headers/PATCHES
===================================================================
Index: kernel/x86/6.1.53-headers/kernel-headers-pkg-description.in
===================================================================
--- kernel/x86/6.1.53-headers/kernel-headers-pkg-description.in (nonexistent)
+++ kernel/x86/6.1.53-headers/kernel-headers-pkg-description.in (revision 385)
@@ -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/x86/6.1.53-headers/kernel-headers-pkg-install.sh
===================================================================
--- kernel/x86/6.1.53-headers/kernel-headers-pkg-install.sh (nonexistent)
+++ kernel/x86/6.1.53-headers/kernel-headers-pkg-install.sh (revision 385)
@@ -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/x86/6.1.53-headers/kernel-headers-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel/x86/6.1.53-headers
===================================================================
--- kernel/x86/6.1.53-headers (nonexistent)
+++ kernel/x86/6.1.53-headers (revision 385)
Property changes on: kernel/x86/6.1.53-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 384)
+++ kernel-headers/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -54,67 +60,73 @@
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
-REQUIRES = dev/kernel/x86/6.0.7-headers
+REQUIRES = dev/kernel/x86/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC)),)
-REQUIRES = dev/kernel/x86/6.0.7-headers
+REQUIRES = dev/kernel/x86/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)),)
-REQUIRES = dev/kernel/a1x/6.0.7-headers
+REQUIRES = dev/kernel/a1x/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC)),)
-REQUIRES = dev/kernel/a2x/6.0.7-headers
+REQUIRES = dev/kernel/a2x/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC)),)
-REQUIRES = dev/kernel/h3/6.0.7-headers
+REQUIRES = dev/kernel/h3/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)),)
-REQUIRES = dev/kernel/h5/6.0.7-headers
+REQUIRES = dev/kernel/h5/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC)),)
-REQUIRES = dev/kernel/rk328x/6.0.7-headers
+REQUIRES = dev/kernel/rk328x/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC)),)
-REQUIRES = dev/kernel/rk33xx/6.0.7-headers
+REQUIRES = dev/kernel/rk33xx/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC)),)
-REQUIRES = dev/kernel/rk339x/6.0.7-headers
+REQUIRES = dev/kernel/rk339x/6.1.53-headers
endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC)),)
+ifneq ($(filter $(HARDWARE),$(HARDWARE_ORANGE_PI5) $(HARDWARE_ORANGE_PI5B) $(HARDWARE_ORANGE_PI5P)),)
+REQUIRES = dev/kernel/rk358x/orange-pi5/5.10.110-headers
+endif
+endif
+
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC)),)
-REQUIRES = dev/kernel/s8xx/6.0.7-headers
+REQUIRES = dev/kernel/s8xx/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC)),)
-REQUIRES = dev/kernel/s9xx/6.0.7-headers
+REQUIRES = dev/kernel/s9xx/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC)),)
-REQUIRES = dev/kernel/a311x/6.0.7-headers
+REQUIRES = dev/kernel/a311x/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC)),)
-REQUIRES = dev/kernel/imx6/6.0.7-headers
+REQUIRES = dev/kernel/imx6/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC)),)
-REQUIRES = dev/kernel/am335x/6.0.7-headers
+REQUIRES = dev/kernel/am335x/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC)),)
-REQUIRES = dev/kernel/omap543x/6.0.7-headers
+REQUIRES = dev/kernel/omap543x/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC)),)
-REQUIRES = dev/kernel/jz47xx/6.0.7-headers
+REQUIRES = dev/kernel/jz47xx/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC)),)
@@ -122,20 +134,22 @@
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)),)
-REQUIRES = dev/kernel/power8/6.0.7-headers
+REQUIRES = dev/kernel/power8/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
-REQUIRES = dev/kernel/power9/6.0.7-headers
+REQUIRES = dev/kernel/power9/6.1.53-headers
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-REQUIRES = dev/kernel/riscv64/6.0.7-headers
+ifneq ($(filter $(HARDWARE),$(HARDWARE_VISIONFIVE2)),)
+REQUIRES = dev/kernel/riscv64/visionfive2/6.1.31-3.8.2-headers
endif
+endif
# ======= __END_OF_REQUIRES__ =======
Index: kernel-headers
===================================================================
--- kernel-headers (revision 384)
+++ kernel-headers (revision 385)
Property changes on: kernel-headers
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-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 384)
+++ 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 384)
+++ 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 384)
+++ 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 384)
+++ 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 384)
+++ 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 384)
+++ 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 384)
+++ 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,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/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 385)
@@ -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 385)
@@ -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 385)
@@ -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 385)
@@ -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 385)
@@ -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 385)
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
+*~
Index: kernel-source/ebox-3350dx2/6.0.7/doc/README.in
===================================================================
--- kernel-source/ebox-3350dx2/6.0.7/doc/README.in (revision 384)
+++ kernel-source/ebox-3350dx2/6.0.7/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/ebox-3350dx2/6.0.7/doc
===================================================================
--- kernel-source/ebox-3350dx2/6.0.7/doc (revision 384)
+++ kernel-source/ebox-3350dx2/6.0.7/doc (nonexistent)
Property changes on: kernel-source/ebox-3350dx2/6.0.7/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/ebox-3350dx2/6.0.7/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/ebox-3350dx2/6.0.7/kernel-source-pkg-install.sh (revision 384)
+++ kernel-source/ebox-3350dx2/6.0.7/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/ebox-3350dx2/6.0.7/kernel-source-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel-source/ebox-3350dx2/6.0.7/PATCHES
===================================================================
--- kernel-source/ebox-3350dx2/6.0.7/PATCHES (revision 384)
+++ kernel-source/ebox-3350dx2/6.0.7/PATCHES (nonexistent)
@@ -1,3 +0,0 @@
-
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-dwmac-rk3399.patch -p0
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-host-limits.patch -p0
Index: kernel-source/ebox-3350dx2/6.0.7/Makefile
===================================================================
--- kernel-source/ebox-3350dx2/6.0.7/Makefile (revision 384)
+++ kernel-source/ebox-3350dx2/6.0.7/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_EBOX_3350DX2)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = boot/kernel/ebox-3350dx2/6.0.7
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-subversion =
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_I586_GLIBC)),)
-ARCH = i386
-endif
-
-USE_TARGET_DEST_DIR_SYSROOT = no
-
-
-####### Targets
-
-
-PKG_GROUP = dev
-
-KERNEL_DEV_PKG_NAME = kernel-source
-KERNEL_DEV_PKG_VERSION = 6.0.7
-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-$(full_version),' \
- > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
- ln -sf ../../../usr/src/linux-$(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/ebox-3350dx2/6.0.7/kernel-source-pkg-description.in
===================================================================
--- kernel-source/ebox-3350dx2/6.0.7/kernel-source-pkg-description.in (revision 384)
+++ kernel-source/ebox-3350dx2/6.0.7/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/ebox-3350dx2/6.0.7
===================================================================
--- kernel-source/ebox-3350dx2/6.0.7 (revision 384)
+++ kernel-source/ebox-3350dx2/6.0.7 (nonexistent)
Property changes on: kernel-source/ebox-3350dx2/6.0.7
___________________________________________________________________
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/ebox-3350dx2/6.1.53/Makefile
===================================================================
--- kernel-source/ebox-3350dx2/6.1.53/Makefile (nonexistent)
+++ kernel-source/ebox-3350dx2/6.1.53/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_EBOX_3350DX2)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = boot/kernel/ebox-3350dx2/6.1.53
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+subversion =
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_I586_GLIBC)),)
+ARCH = i386
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+####### Targets
+
+
+PKG_GROUP = dev
+
+KERNEL_DEV_PKG_NAME = kernel-source
+KERNEL_DEV_PKG_VERSION = 6.1.53
+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-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-$(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/ebox-3350dx2/6.1.53/PATCHES
===================================================================
--- kernel-source/ebox-3350dx2/6.1.53/PATCHES (nonexistent)
+++ kernel-source/ebox-3350dx2/6.1.53/PATCHES (revision 385)
@@ -0,0 +1,3 @@
+
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-dwmac-rk.patch -p0
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-host-limits.patch -p0
Index: kernel-source/ebox-3350dx2/6.1.53/doc/README.in
===================================================================
--- kernel-source/ebox-3350dx2/6.1.53/doc/README.in (nonexistent)
+++ kernel-source/ebox-3350dx2/6.1.53/doc/README.in (revision 385)
@@ -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/ebox-3350dx2/6.1.53/doc
===================================================================
--- kernel-source/ebox-3350dx2/6.1.53/doc (nonexistent)
+++ kernel-source/ebox-3350dx2/6.1.53/doc (revision 385)
Property changes on: kernel-source/ebox-3350dx2/6.1.53/doc
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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/ebox-3350dx2/6.1.53/kernel-source-pkg-description.in
===================================================================
--- kernel-source/ebox-3350dx2/6.1.53/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/ebox-3350dx2/6.1.53/kernel-source-pkg-description.in (revision 385)
@@ -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/ebox-3350dx2/6.1.53/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/ebox-3350dx2/6.1.53/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/ebox-3350dx2/6.1.53/kernel-source-pkg-install.sh (revision 385)
@@ -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/ebox-3350dx2/6.1.53/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/ebox-3350dx2/6.1.53
===================================================================
--- kernel-source/ebox-3350dx2/6.1.53 (nonexistent)
+++ kernel-source/ebox-3350dx2/6.1.53 (revision 385)
Property changes on: kernel-source/ebox-3350dx2/6.1.53
___________________________________________________________________
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-source/intel-pc32/6.0.7/doc/README.in
===================================================================
--- kernel-source/intel-pc32/6.0.7/doc/README.in (revision 384)
+++ kernel-source/intel-pc32/6.0.7/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/intel-pc32/6.0.7/doc
===================================================================
--- kernel-source/intel-pc32/6.0.7/doc (revision 384)
+++ kernel-source/intel-pc32/6.0.7/doc (nonexistent)
Property changes on: kernel-source/intel-pc32/6.0.7/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/intel-pc32/6.0.7/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/intel-pc32/6.0.7/kernel-source-pkg-install.sh (revision 384)
+++ kernel-source/intel-pc32/6.0.7/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/intel-pc32/6.0.7/kernel-source-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel-source/intel-pc32/6.0.7/PATCHES
===================================================================
--- kernel-source/intel-pc32/6.0.7/PATCHES (revision 384)
+++ kernel-source/intel-pc32/6.0.7/PATCHES (nonexistent)
@@ -1,3 +0,0 @@
-
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-dwmac-rk3399.patch -p0
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-host-limits.patch -p0
Index: kernel-source/intel-pc32/6.0.7/Makefile
===================================================================
--- kernel-source/intel-pc32/6.0.7/Makefile (revision 384)
+++ kernel-source/intel-pc32/6.0.7/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = boot/kernel/intel-pc32/6.0.7
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-subversion =
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_I686_GLIBC)),)
-ARCH = i386
-endif
-
-USE_TARGET_DEST_DIR_SYSROOT = no
-
-
-####### Targets
-
-
-PKG_GROUP = dev
-
-KERNEL_DEV_PKG_NAME = kernel-source
-KERNEL_DEV_PKG_VERSION = 6.0.7
-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-$(full_version),' \
- > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
- ln -sf ../../../usr/src/linux-$(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/intel-pc32/6.0.7/kernel-source-pkg-description.in
===================================================================
--- kernel-source/intel-pc32/6.0.7/kernel-source-pkg-description.in (revision 384)
+++ kernel-source/intel-pc32/6.0.7/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/intel-pc32/6.0.7
===================================================================
--- kernel-source/intel-pc32/6.0.7 (revision 384)
+++ kernel-source/intel-pc32/6.0.7 (nonexistent)
Property changes on: kernel-source/intel-pc32/6.0.7
___________________________________________________________________
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/intel-pc32/6.1.53/Makefile
===================================================================
--- kernel-source/intel-pc32/6.1.53/Makefile (nonexistent)
+++ kernel-source/intel-pc32/6.1.53/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = boot/kernel/intel-pc32/6.1.53
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+subversion =
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_I686_GLIBC)),)
+ARCH = i386
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+####### Targets
+
+
+PKG_GROUP = dev
+
+KERNEL_DEV_PKG_NAME = kernel-source
+KERNEL_DEV_PKG_VERSION = 6.1.53
+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-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-$(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/intel-pc32/6.1.53/PATCHES
===================================================================
--- kernel-source/intel-pc32/6.1.53/PATCHES (nonexistent)
+++ kernel-source/intel-pc32/6.1.53/PATCHES (revision 385)
@@ -0,0 +1,3 @@
+
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-dwmac-rk.patch -p0
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-host-limits.patch -p0
Index: kernel-source/intel-pc32/6.1.53/doc/README.in
===================================================================
--- kernel-source/intel-pc32/6.1.53/doc/README.in (nonexistent)
+++ kernel-source/intel-pc32/6.1.53/doc/README.in (revision 385)
@@ -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/intel-pc32/6.1.53/doc
===================================================================
--- kernel-source/intel-pc32/6.1.53/doc (nonexistent)
+++ kernel-source/intel-pc32/6.1.53/doc (revision 385)
Property changes on: kernel-source/intel-pc32/6.1.53/doc
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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/intel-pc32/6.1.53/kernel-source-pkg-description.in
===================================================================
--- kernel-source/intel-pc32/6.1.53/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/intel-pc32/6.1.53/kernel-source-pkg-description.in (revision 385)
@@ -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/intel-pc32/6.1.53/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/intel-pc32/6.1.53/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/intel-pc32/6.1.53/kernel-source-pkg-install.sh (revision 385)
@@ -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/intel-pc32/6.1.53/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/intel-pc32/6.1.53
===================================================================
--- kernel-source/intel-pc32/6.1.53 (nonexistent)
+++ kernel-source/intel-pc32/6.1.53 (revision 385)
Property changes on: kernel-source/intel-pc32/6.1.53
___________________________________________________________________
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-source/intel-pc64/6.0.7/doc/README.in
===================================================================
--- kernel-source/intel-pc64/6.0.7/doc/README.in (revision 384)
+++ kernel-source/intel-pc64/6.0.7/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/intel-pc64/6.0.7/doc
===================================================================
--- kernel-source/intel-pc64/6.0.7/doc (revision 384)
+++ kernel-source/intel-pc64/6.0.7/doc (nonexistent)
Property changes on: kernel-source/intel-pc64/6.0.7/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/intel-pc64/6.0.7/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/intel-pc64/6.0.7/kernel-source-pkg-install.sh (revision 384)
+++ kernel-source/intel-pc64/6.0.7/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/intel-pc64/6.0.7/kernel-source-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel-source/intel-pc64/6.0.7/PATCHES
===================================================================
--- kernel-source/intel-pc64/6.0.7/PATCHES (revision 384)
+++ kernel-source/intel-pc64/6.0.7/PATCHES (nonexistent)
@@ -1,3 +0,0 @@
-
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-dwmac-rk3399.patch -p0
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-host-limits.patch -p0
Index: kernel-source/intel-pc64/6.0.7/Makefile
===================================================================
--- kernel-source/intel-pc64/6.0.7/Makefile (revision 384)
+++ kernel-source/intel-pc64/6.0.7/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = boot/kernel/intel-pc64/6.0.7
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-subversion =
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_X86_64_GLIBC)),)
-ARCH = x86_64
-endif
-
-USE_TARGET_DEST_DIR_SYSROOT = no
-
-
-####### Targets
-
-
-PKG_GROUP = dev
-
-KERNEL_DEV_PKG_NAME = kernel-source
-KERNEL_DEV_PKG_VERSION = 6.0.7
-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-$(full_version),' \
- > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
- ln -sf ../../../usr/src/linux-$(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/intel-pc64/6.0.7/kernel-source-pkg-description.in
===================================================================
--- kernel-source/intel-pc64/6.0.7/kernel-source-pkg-description.in (revision 384)
+++ kernel-source/intel-pc64/6.0.7/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/intel-pc64/6.0.7
===================================================================
--- kernel-source/intel-pc64/6.0.7 (revision 384)
+++ kernel-source/intel-pc64/6.0.7 (nonexistent)
Property changes on: kernel-source/intel-pc64/6.0.7
___________________________________________________________________
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/intel-pc64/6.1.53/Makefile
===================================================================
--- kernel-source/intel-pc64/6.1.53/Makefile (nonexistent)
+++ kernel-source/intel-pc64/6.1.53/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = boot/kernel/intel-pc64/6.1.53
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+subversion =
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_X86_64_GLIBC)),)
+ARCH = x86_64
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+####### Targets
+
+
+PKG_GROUP = dev
+
+KERNEL_DEV_PKG_NAME = kernel-source
+KERNEL_DEV_PKG_VERSION = 6.1.53
+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-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-$(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/intel-pc64/6.1.53/PATCHES
===================================================================
--- kernel-source/intel-pc64/6.1.53/PATCHES (nonexistent)
+++ kernel-source/intel-pc64/6.1.53/PATCHES (revision 385)
@@ -0,0 +1,3 @@
+
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-dwmac-rk.patch -p0
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-host-limits.patch -p0
Index: kernel-source/intel-pc64/6.1.53/doc/README.in
===================================================================
--- kernel-source/intel-pc64/6.1.53/doc/README.in (nonexistent)
+++ kernel-source/intel-pc64/6.1.53/doc/README.in (revision 385)
@@ -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/intel-pc64/6.1.53/doc
===================================================================
--- kernel-source/intel-pc64/6.1.53/doc (nonexistent)
+++ kernel-source/intel-pc64/6.1.53/doc (revision 385)
Property changes on: kernel-source/intel-pc64/6.1.53/doc
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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/intel-pc64/6.1.53/kernel-source-pkg-description.in
===================================================================
--- kernel-source/intel-pc64/6.1.53/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/intel-pc64/6.1.53/kernel-source-pkg-description.in (revision 385)
@@ -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/intel-pc64/6.1.53/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/intel-pc64/6.1.53/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/intel-pc64/6.1.53/kernel-source-pkg-install.sh (revision 385)
@@ -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/intel-pc64/6.1.53/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/intel-pc64/6.1.53
===================================================================
--- kernel-source/intel-pc64/6.1.53 (nonexistent)
+++ kernel-source/intel-pc64/6.1.53 (revision 385)
Property changes on: kernel-source/intel-pc64/6.1.53
___________________________________________________________________
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-source/leez-p710/6.0.7/doc/README.in
===================================================================
--- kernel-source/leez-p710/6.0.7/doc/README.in (revision 384)
+++ kernel-source/leez-p710/6.0.7/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/leez-p710/6.0.7/doc
===================================================================
--- kernel-source/leez-p710/6.0.7/doc (revision 384)
+++ kernel-source/leez-p710/6.0.7/doc (nonexistent)
Property changes on: kernel-source/leez-p710/6.0.7/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/leez-p710/6.0.7/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/leez-p710/6.0.7/kernel-source-pkg-install.sh (revision 384)
+++ kernel-source/leez-p710/6.0.7/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/leez-p710/6.0.7/kernel-source-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: kernel-source/leez-p710/6.0.7/PATCHES
===================================================================
--- kernel-source/leez-p710/6.0.7/PATCHES (revision 384)
+++ kernel-source/leez-p710/6.0.7/PATCHES (nonexistent)
@@ -1,5 +0,0 @@
-
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-dwmac-rk3399.patch -p0
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-host-limits.patch -p0
-
-../../../../sources/Linux/v6.x/patches/linux-6.0.7-leez-p710-spi.patch -p0
Index: kernel-source/leez-p710/6.0.7/Makefile
===================================================================
--- kernel-source/leez-p710/6.0.7/Makefile (revision 384)
+++ kernel-source/leez-p710/6.0.7/Makefile (nonexistent)
@@ -1,133 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_LEEZ_P710)
-
-NEED_ABS_PATH = true
-
-COMPONENT_IS_3PP = true
-
-
-include ../../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/Linux/v6.x
-
-REQUIRES = boot/kernel/leez-p710/6.0.7
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 6.0.7
-subversion =
-modules_version = 6.0.7
-full_version = $(version)
-tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_RK339X_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.0.7
-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-$(full_version),' \
- > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
- ln -sf ../../../usr/src/linux-$(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/leez-p710/6.0.7/kernel-source-pkg-description.in
===================================================================
--- kernel-source/leez-p710/6.0.7/kernel-source-pkg-description.in (revision 384)
+++ kernel-source/leez-p710/6.0.7/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/leez-p710/6.0.7
===================================================================
--- kernel-source/leez-p710/6.0.7 (revision 384)
+++ kernel-source/leez-p710/6.0.7 (nonexistent)
Property changes on: kernel-source/leez-p710/6.0.7
___________________________________________________________________
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/leez-p710/6.1.53/Makefile
===================================================================
--- kernel-source/leez-p710/6.1.53/Makefile (nonexistent)
+++ kernel-source/leez-p710/6.1.53/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_LEEZ_P710)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = boot/kernel/leez-p710/6.1.53
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+subversion =
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_RK339X_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.53
+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-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-$(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/leez-p710/6.1.53/PATCHES
===================================================================
--- kernel-source/leez-p710/6.1.53/PATCHES (nonexistent)
+++ kernel-source/leez-p710/6.1.53/PATCHES (revision 385)
@@ -0,0 +1,5 @@
+
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-dwmac-rk.patch -p0
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-host-limits.patch -p0
+
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-leez-p710-spi.patch -p0
Index: kernel-source/leez-p710/6.1.53/doc/README.in
===================================================================
--- kernel-source/leez-p710/6.1.53/doc/README.in (nonexistent)
+++ kernel-source/leez-p710/6.1.53/doc/README.in (revision 385)
@@ -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/leez-p710/6.1.53/doc
===================================================================
--- kernel-source/leez-p710/6.1.53/doc (nonexistent)
+++ kernel-source/leez-p710/6.1.53/doc (revision 385)
Property changes on: kernel-source/leez-p710/6.1.53/doc
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# 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/leez-p710/6.1.53/kernel-source-pkg-description.in
===================================================================
--- kernel-source/leez-p710/6.1.53/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/leez-p710/6.1.53/kernel-source-pkg-description.in (revision 385)
@@ -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/leez-p710/6.1.53/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/leez-p710/6.1.53/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/leez-p710/6.1.53/kernel-source-pkg-install.sh (revision 385)
@@ -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/leez-p710/6.1.53/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/leez-p710/6.1.53
===================================================================
--- kernel-source/leez-p710/6.1.53 (nonexistent)
+++ kernel-source/leez-p710/6.1.53 (revision 385)
Property changes on: kernel-source/leez-p710/6.1.53
___________________________________________________________________
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-source/orange-pi5/5.10.110/Makefile
===================================================================
--- kernel-source/orange-pi5/5.10.110/Makefile (nonexistent)
+++ kernel-source/orange-pi5/5.10.110/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_ORANGE_PI5)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/OrangePi
+
+REQUIRES = boot/kernel/orange-pi5/5.10.110
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 5.10.110
+subversion =
+modules_version = 5.10.110
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/OrangePi/linux-orangepi-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-orangepi-$(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_RK358X_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.10.110
+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-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-orangepi-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-orangepi-$(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/orange-pi5/5.10.110/PATCHES
===================================================================
--- kernel-source/orange-pi5/5.10.110/PATCHES (nonexistent)
+++ kernel-source/orange-pi5/5.10.110/PATCHES (revision 385)
@@ -0,0 +1,2 @@
+
+../../../../sources/Linux/OrangePi/patches/linux-orangepi-5.10.110-host-limits.patch -p0
Index: kernel-source/orange-pi5/5.10.110/doc/README.in
===================================================================
--- kernel-source/orange-pi5/5.10.110/doc/README.in (nonexistent)
+++ kernel-source/orange-pi5/5.10.110/doc/README.in (revision 385)
@@ -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/orange-pi5/5.10.110/kernel-source-pkg-description.in
===================================================================
--- kernel-source/orange-pi5/5.10.110/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/orange-pi5/5.10.110/kernel-source-pkg-description.in (revision 385)
@@ -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/orange-pi5/5.10.110/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/orange-pi5/5.10.110/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/orange-pi5/5.10.110/kernel-source-pkg-install.sh (revision 385)
@@ -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/orange-pi5/5.10.110/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/orange-pi5/5.10.110
===================================================================
--- kernel-source/orange-pi5/5.10.110 (nonexistent)
+++ kernel-source/orange-pi5/5.10.110 (revision 385)
Property changes on: kernel-source/orange-pi5/5.10.110
___________________________________________________________________
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-source/repka-pi3/6.1.53/Makefile
===================================================================
--- kernel-source/repka-pi3/6.1.53/Makefile (nonexistent)
+++ kernel-source/repka-pi3/6.1.53/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_REPKA_PI3)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/v6.x
+
+REQUIRES = boot/kernel/repka-pi3/6.1.53
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.53
+subversion =
+modules_version = 6.1.53
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/v6.x/linux-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-$(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_H5_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.53
+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-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-$(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-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-$(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/repka-pi3/6.1.53/PATCHES
===================================================================
--- kernel-source/repka-pi3/6.1.53/PATCHES (nonexistent)
+++ kernel-source/repka-pi3/6.1.53/PATCHES (revision 385)
@@ -0,0 +1,5 @@
+
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-dwmac-rk.patch -p0
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-host-limits.patch -p0
+
+../../../../sources/Linux/v6.x/patches/linux-6.1.53-repka-pi3.patch -p0
Index: kernel-source/repka-pi3/6.1.53/doc/README.in
===================================================================
--- kernel-source/repka-pi3/6.1.53/doc/README.in (nonexistent)
+++ kernel-source/repka-pi3/6.1.53/doc/README.in (revision 385)
@@ -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/repka-pi3/6.1.53/kernel-source-pkg-description.in
===================================================================
--- kernel-source/repka-pi3/6.1.53/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/repka-pi3/6.1.53/kernel-source-pkg-description.in (revision 385)
@@ -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/repka-pi3/6.1.53/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/repka-pi3/6.1.53/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/repka-pi3/6.1.53/kernel-source-pkg-install.sh (revision 385)
@@ -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/repka-pi3/6.1.53/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/repka-pi3/6.1.53
===================================================================
--- kernel-source/repka-pi3/6.1.53 (nonexistent)
+++ kernel-source/repka-pi3/6.1.53 (revision 385)
Property changes on: kernel-source/repka-pi3/6.1.53
___________________________________________________________________
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-source/visionfive2/6.1.31-3.8.2/Makefile
===================================================================
--- kernel-source/visionfive2/6.1.31-3.8.2/Makefile (nonexistent)
+++ kernel-source/visionfive2/6.1.31-3.8.2/Makefile (revision 385)
@@ -0,0 +1,133 @@
+
+COMPONENT_TARGETS = $(HARDWARE_VISIONFIVE2)
+
+NEED_ABS_PATH = true
+
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/Linux/StarFive
+
+REQUIRES = boot/kernel/visionfive2/6.1.31-3.8.2
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 6.1.31-3.8.2
+subversion =
+modules_version = 6.1.31
+full_version = $(version)
+tar_xz_archive = $(SRC_PACKAGE_PATH)/Linux/StarFive/linux-starfive-$(full_version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/usr/src/linux-starfive-$(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_RISCV64_GLIBC)),)
+ARCH = riscv
+endif
+
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+####### Targets
+
+
+PKG_GROUP = dev
+
+KERNEL_DEV_PKG_NAME = kernel-source
+KERNEL_DEV_PKG_VERSION = 6.1.31
+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-starfive-$(full_version),' \
+ > $(KERNEL_DEV_PKG)/usr/src/README.linux-starfive-$(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-starfive-$(full_version) build ; \
+ ln -sf ../../../usr/src/linux-starfive-$(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/visionfive2/6.1.31-3.8.2/PATCHES
===================================================================
--- kernel-source/visionfive2/6.1.31-3.8.2/PATCHES (nonexistent)
+++ kernel-source/visionfive2/6.1.31-3.8.2/PATCHES (revision 385)
@@ -0,0 +1,2 @@
+
+../../../../sources/Linux/StarFive/patches/linux-starfive-6.1.31-3.8.2-host-limits.patch -p0
Index: kernel-source/visionfive2/6.1.31-3.8.2/doc/README.in
===================================================================
--- kernel-source/visionfive2/6.1.31-3.8.2/doc/README.in (nonexistent)
+++ kernel-source/visionfive2/6.1.31-3.8.2/doc/README.in (revision 385)
@@ -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/visionfive2/6.1.31-3.8.2/kernel-source-pkg-description.in
===================================================================
--- kernel-source/visionfive2/6.1.31-3.8.2/kernel-source-pkg-description.in (nonexistent)
+++ kernel-source/visionfive2/6.1.31-3.8.2/kernel-source-pkg-description.in (revision 385)
@@ -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/visionfive2/6.1.31-3.8.2/kernel-source-pkg-install.sh
===================================================================
--- kernel-source/visionfive2/6.1.31-3.8.2/kernel-source-pkg-install.sh (nonexistent)
+++ kernel-source/visionfive2/6.1.31-3.8.2/kernel-source-pkg-install.sh (revision 385)
@@ -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/visionfive2/6.1.31-3.8.2/kernel-source-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: kernel-source/visionfive2/6.1.31-3.8.2
===================================================================
--- kernel-source/visionfive2/6.1.31-3.8.2 (nonexistent)
+++ kernel-source/visionfive2/6.1.31-3.8.2 (revision 385)
Property changes on: kernel-source/visionfive2/6.1.31-3.8.2
___________________________________________________________________
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: libtool/2.4.6/Makefile
===================================================================
--- libtool/2.4.6/Makefile (revision 384)
+++ libtool/2.4.6/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -57,7 +63,7 @@
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/12.2.0
else
-REQUIRES = libs/glibc/2.36
+REQUIRES = libs/glibc/2.37
endif
# ======= __END_OF_REQUIRES__ =======
Index: libtool/2.4.6
===================================================================
--- libtool/2.4.6 (revision 384)
+++ libtool/2.4.6 (revision 385)
Property changes on: libtool/2.4.6
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: libtool/2.4.6-ppc32/Makefile
===================================================================
--- libtool/2.4.6-ppc32/Makefile (revision 384)
+++ libtool/2.4.6-ppc32/Makefile (revision 385)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/GNU/libtool
REQUIRES = dev/libtool/2.4.6
-REQUIRES += libs/glibc/2.36-ppc32
+REQUIRES += libs/glibc/2.37-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: libtool/2.4.6-ppc32
===================================================================
--- libtool/2.4.6-ppc32 (revision 384)
+++ libtool/2.4.6-ppc32 (revision 385)
Property changes on: libtool/2.4.6-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: libtool/2.4.6-x86_32/Makefile
===================================================================
--- libtool/2.4.6-x86_32/Makefile (revision 384)
+++ libtool/2.4.6-x86_32/Makefile (revision 385)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/GNU/libtool
REQUIRES = dev/libtool/2.4.6
-REQUIRES += libs/glibc/2.36-x86_32
+REQUIRES += libs/glibc/2.37-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: libtool/2.4.6-x86_32
===================================================================
--- libtool/2.4.6-x86_32 (revision 384)
+++ libtool/2.4.6-x86_32 (revision 385)
Property changes on: libtool/2.4.6-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: llvm/13.0.0-ppc32/llvm-x32-pkg-description.in
===================================================================
--- llvm/13.0.0-ppc32/llvm-x32-pkg-description.in (revision 384)
+++ llvm/13.0.0-ppc32/llvm-x32-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------------------------------------------------------|
-llvm-x32: llvm-x32 @VERSION@ (LLVM compiler toolkit)
-llvm-x32:
-llvm-x32: Low Level Virtual Machine is a toolkit for the construction of
-llvm-x32: highly optimized compilers, optimizers, and runtime environments.
-llvm-x32:
-llvm-x32: This package also includes the clang frontend for the C family of
-llvm-x32: languages: C, C++, Objective-C, and Objective-C++
-llvm-x32:
-llvm-x32: Homepage: http://llvm.org
-llvm-x32:
-llvm-x32:
Index: llvm/13.0.0-ppc32/llvm-x32-pkg-install.sh
===================================================================
--- llvm/13.0.0-ppc32/llvm-x32-pkg-install.sh (revision 384)
+++ llvm/13.0.0-ppc32/llvm-x32-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: llvm/13.0.0-ppc32/llvm-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: llvm/13.0.0-ppc32/PATCHES
===================================================================
--- llvm/13.0.0-ppc32/PATCHES (revision 384)
+++ llvm/13.0.0-ppc32/PATCHES (nonexistent)
@@ -1,13 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-clang-gnu-triple.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-clang-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-p5600.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-synonyms.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-lldb-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-64bit-atomic.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-pass-variables.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-versioning.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-polly-hack.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-scan-build-py-x32.patch -p0
Index: llvm/13.0.0-ppc32/Makefile
===================================================================
--- llvm/13.0.0-ppc32/Makefile (revision 384)
+++ llvm/13.0.0-ppc32/Makefile (nonexistent)
@@ -1,449 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-NOT_PARALLEL = true
-
-CREATE_PPC32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/d/llvm
-
-REQUIRES = dev/llvm/13.0.0
-REQUIRES += libs/libffi/3.4.4-ppc32
-REQUIRES += libs/elfutils/0.187-ppc32
-REQUIRES += libs/libxml2/2.9.9-ppc32
-REQUIRES += libs/libedit/20191231-3.1-ppc32
-REQUIRES += libs/ncurses/6.3-ppc32
-REQUIRES += dev/python2/2.7.18-ppc32
-REQUIRES += dev/python3/3.10.8-ppc32
-REQUIRES += dev/lua/5.4.2-ppc32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 13.0.0
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
-src_dir_name = llvm-$(version)
-doc_dir_name = llvm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LLVM_32_PKG_NAME = llvm-x32
-LLVM_32_PKG_VERSION = 13.0.0
-LLVM_32_PKG_ARCH = $(PKGARCH)
-LLVM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LLVM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LLVM_32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LLVM_32_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
-LLVM_32_PKG_URL = $(BUG_URL)
-LLVM_32_PKG_LICENSE = custom
-LLVM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-pkg-description
-LLVM_32_PKG_DESCRIPTION_FILE_IN = $(LLVM_32_PKG_NAME)-pkg-description.in
-LLVM_32_PKG_INSTALL_SCRIPT = $(LLVM_32_PKG_NAME)-pkg-install.sh
-
-LLVM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-package
-
-pkg_basename = $(LLVM_32_PKG_NAME)-$(LLVM_32_PKG_VERSION)-$(LLVM_32_PKG_ARCH)-$(LLVM_32_PKG_DISTRO_NAME)-$(LLVM_32_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LLVM_32_PKG)
-
-
-JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
-LLVM_JOBS := -j$(JOBS) -l$(JOBS)
-
-
-TARGET_BIN_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX)
-TARGET_LIB_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib/../lib$(MULTILIB_PPC32_SUFFIX)
-
-CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
-CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-extra
-CC_NO_WARNINGS += -Wno-uninitialized -Wno-type-limits -Wno-unused-variable -Wno-return-type
-
-CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
-CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-extra
-CXX_NO_WARNINGS += -Wno-uninitialized -Wno-type-limits -Wno-unused-variable -Wno-return-type
-
-
-configure_switches = -DBUG_REPORT_URL='https://llvm.org'
-
-configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
-configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
-#
-# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
-# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
-# practice for GNU Assembler. GNU AS compiler doesn't understand
-# options like -D_GNU_SOURCE .
-#
-configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
-
-configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
-configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
-configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
-configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
-configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
-configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
-configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
-configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
-
-configure_switches += -DCMAKE_C_FLAGS:STRING='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
-configure_switches += -DCMAKE_CXX_FLAGS:STRING='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
-
-explicit_atomic = -latomic
-
-configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
-
-configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
-configure_switches += -DCMAKE_SKIP_RPATH=YES
-
-configure_switches += -DLLVM_CCACHE_BUILD=ON
-configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
-configure_switches += -DLLVM_CCACHE_DIR:STRING='$(CACHED_CC_OUTPUT)'
-configure_switches += -DLLVM_CCACHE_PARAMS:STRING='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
-
-configure_switches += -DCMAKE_SYSTEM_NAME:STRING='Linux'
-
-configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
-configure_switches += -DCMAKE_INSTALL_BINDIR=bin/32
-configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec/32
-configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
-configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
-
-configure_switches += -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-
-configure_switches += -DCMAKE_BUILD_TYPE=Release
-configure_switches += -DBUILD_SHARED_LIBS=ON
-configure_switches += -DLLVM_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DLIBCXX_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_ZLIB=ON
-configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
-
-configure_switches += -DLLVM_INSTALL_UTILS=ON
-
-configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
-configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
-configure_switches += -DLLDB_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
-configure_switches += -DCLANG_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_BUILD_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_TESTS=OFF
-
-configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
-configure_switches += -DLLVM_ENABLE_PIC=ON
-
-configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCLANG_RESOURCE_DIR='../../lib$(MULTILIB_PPC32_SUFFIX)/clang/$(version)'
-configure_switches += -DLLVM_TARGETS_TO_BUILD='host;AMDGPU;BPF'
-configure_switches += -DLLDB_USE_SYSTEM_SIX=1
-
-#
-# libunwind:
-#
-configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
-configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
-
-
-#
-# Settings:
-#
-__ENABLE_CLANGD__ = no
-__ENABLE_LLDB_SERVER__ = no
-
-__ENABLE_LIBUNWIND__ = no
-__ENABLE_OPENMP__ = no
-
-
-#
-# Evaluation:
-#
-ifeq ($(__ENABLE_CLANGD__),yes)
-clangd = ON
-else
-clangd = OFF
-endif
-ifeq ($(__ENABLE_LLDB_SERVER__),yes)
-lldb-server = ON
-else
-lldb-server = OFF
-endif
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
-libunwind = ;libunwind
-else
-libunwind =
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
-openmp = ;openmp
-else
-openmp =
-endif
-
-
-configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;libcxx;libcxxabi;lldb;lld;compiler-rt;polly$(openmp)$(libunwind)'
-
-configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
-configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
-
-
-PYTHON_VERSION = 3.10
-
-configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
-configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
-configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libpython$(PYTHON_VERSION).so
-
-configure_switches += -DLLDB_ENABLE_PYTHON=On
-configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
-
-configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libz.so
-
-configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/liblzma.so
-
-configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
-configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libxml2.so
-
-configure_switches += -DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=False
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libelf.so
-
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libffi.so
-
-configure_switches += -DLLDB_ENABLE_LUA=ON
-configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/liblua.so
-configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libm.so
-
-configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
-
-configure_switches += -DLLVM_ENABLE_TERMINFO=ON
-configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
-configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
-
-configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libcursesw.so
-configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libformw.so
-configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libncursesw.so
-configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libpanelw.so
-
-configure_switches += -Dpkgcfg_lib_NCURSES_ncurses:FILEPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libncursesw.so
-configure_switches += -Dpkgcfg_lib_NCURSES_tinfo:FILEPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
-
-configure_switches += -DLLDB_ENABLE_CURSES=On
-
-configure_switches += -DLLVM_BUILD_DOCS=OFF
-
-configure_switches += -DCMAKE_CROSSCOMPILING=True
-
-configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET32)
-
-configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
-configure_switches += -DLLVM_CONFIG_PATH:STRING=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
-configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
-configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(TARGET_BUILD_DIR)/build-machine
- @( cd $(TARGET_BUILD_DIR)/build-machine ; \
- cmake -Wno-dev \
- -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb' \
- -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX) \
- -DLLVM_INCLUDE_TESTS=OFF \
- -DLLVM_CCACHE_BUILD=ON \
- -DCCACHE_PROGRAM=$(CCACHE) \
- -DLLVM_CCACHE_DIR:STRING='$(CACHED_CC_OUTPUT)' \
- -DLLVM_CCACHE_PARAMS:STRING='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
- -DCMAKE_C_FLAGS:STRING='-I/usr/include $(CC_NO_WARNINGS)' \
- -DCMAKE_CXX_FLAGS:STRING='-I/usr/include $(CXX_NO_WARNINGS)' \
- ../llvm-$(version)/llvm ; \
- ninja llvm-tblgen ; \
- ninja clang-tblgen ; \
- ninja lldb-tblgen ; \
- ninja llvm-config ; \
- )
- @mkdir -p $(build_dir)
- @( cd $(build_dir) ; \
- $(BUILD_ENVIRONMENT) \
- cmake -Wno-dev --trace-expand \
- -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
- )
- @( cd $(build_dir) ; \
- ninja $(LLVM_JOBS) all ; \
- )
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LLVM_32_PKG)
- @cd $(build_dir) && $(env_sysroot) ninja install
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- ln -sf clang $(TARGET32)-clang ; \
- ln -sf clang++ $(TARGET32)-clang++ ; \
- )
- @( cd $(TARGET_BUILD_DIR)/build/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin ; \
- )
- # ======= Move 32-Bit binaries into /usr/bin/32 directory =======
- @mkdir -p $(LLVM_32_PKG)/usr/bin/32
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- find . -type f | xargs mv -t 32 ; \
- find . -type l | xargs mv -t 32 ; \
- )
- # ======= Install $(TARGET32)-llvm-config =======
- @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-clang-tblgen ; \
- cp -a llvm-tblgen $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-llvm-tblgen ; \
- cp -a lldb-tblgen $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-lldb-tblgen ; \
- cp -a llvm-config $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-llvm-config ; \
- )
- # ======= Save config.h and llvm-config.h =======
- @for header in config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/clang/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @for header in llvm-config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/llvm/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @rm -rf $(LLVM_32_PKG)/usr/include
- @rm -rf $(LLVM_32_PKG)/usr/libexec
- @rm -rf $(LLVM_32_PKG)/usr/share
- # ======= Restore config-32.h and llvm-config-32.h =======
- @mkdir -p $(LLVM_32_PKG)/usr/include/{clang,llvm}/Config
- @for header in config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/clang/Config/$$header-32.h ; \
- done
- @for header in llvm-config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/llvm/Config/$$header-32.h ; \
- done
- # ======= Remove bundled python-six =======
- @rm -f $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
- # ======= Install Python bindings =======
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7 $(PYTHON2) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7 $(PYTHON2) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages/clang
- # ======= Install Python3 bindings =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb ; \
- ln -sf ../../../../bin/32/lldb-argdumper ; \
- )
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- # ======= Remove build-dir from cmake files =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),,g' llvm/LLVMExports.cmake ; \
- sed -i 's,$(TARGET_DEST_DIR),,g' llvm/LLVMExports.cmake ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LLVM_32_PKG))
- # ======= Remove $(TARGET32)-llvm-config from target package =======
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-clang-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-lldb-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-config
- # ======= Strip Binaries =======
- @( cd $(LLVM_32_PKG); \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(LLVM_32_PKG_DESCRIPTION_FILE): $(LLVM_32_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): $(install_target) $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG_INSTALL_SCRIPT)
- @cp $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG)/.DESCRIPTION
- @cp $(LLVM_32_PKG_INSTALL_SCRIPT) $(LLVM_32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LLVM_32_PKG)/.REQUIRES
- @echo "pkgname=$(LLVM_32_PKG_NAME)" > $(LLVM_32_PKG)/.PKGINFO ; \
- echo "pkgver=$(LLVM_32_PKG_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "arch=$(LLVM_32_PKG_ARCH)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distroname=$(LLVM_32_PKG_DISTRO_NAME)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distrover=$(LLVM_32_PKG_DISTRO_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "group=$(LLVM_32_PKG_GROUP)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LLVM_32_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "url=$(LLVM_32_PKG_URL)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "license=$(LLVM_32_PKG_LICENSE)" >> $(LLVM_32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LLVM_32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/13.0.0-ppc32
===================================================================
--- llvm/13.0.0-ppc32 (revision 384)
+++ llvm/13.0.0-ppc32 (nonexistent)
Property changes on: llvm/13.0.0-ppc32
___________________________________________________________________
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: llvm/13.0.0-x86_32/llvm-x32-pkg-description.in
===================================================================
--- llvm/13.0.0-x86_32/llvm-x32-pkg-description.in (revision 384)
+++ llvm/13.0.0-x86_32/llvm-x32-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------------------------------------------------------|
-llvm-x32: llvm-x32 @VERSION@ (LLVM compiler toolkit)
-llvm-x32:
-llvm-x32: Low Level Virtual Machine is a toolkit for the construction of
-llvm-x32: highly optimized compilers, optimizers, and runtime environments.
-llvm-x32:
-llvm-x32: This package also includes the clang frontend for the C family of
-llvm-x32: languages: C, C++, Objective-C, and Objective-C++
-llvm-x32:
-llvm-x32: Homepage: http://llvm.org
-llvm-x32:
-llvm-x32:
Index: llvm/13.0.0-x86_32/llvm-x32-pkg-install.sh
===================================================================
--- llvm/13.0.0-x86_32/llvm-x32-pkg-install.sh (revision 384)
+++ llvm/13.0.0-x86_32/llvm-x32-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: llvm/13.0.0-x86_32/llvm-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: llvm/13.0.0-x86_32/PATCHES
===================================================================
--- llvm/13.0.0-x86_32/PATCHES (revision 384)
+++ llvm/13.0.0-x86_32/PATCHES (nonexistent)
@@ -1,13 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-clang-gnu-triple.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-clang-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-p5600.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-synonyms.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-lldb-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-64bit-atomic.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-pass-variables.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-versioning.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-polly-hack.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-scan-build-py-x32.patch -p0
Index: llvm/13.0.0-x86_32/Makefile
===================================================================
--- llvm/13.0.0-x86_32/Makefile (revision 384)
+++ llvm/13.0.0-x86_32/Makefile (nonexistent)
@@ -1,444 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-NOT_PARALLEL = true
-
-CREATE_X86_32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/d/llvm
-
-REQUIRES = dev/llvm/13.0.0
-REQUIRES += libs/libffi/3.4.4-x86_32
-REQUIRES += libs/elfutils/0.187-x86_32
-REQUIRES += libs/libxml2/2.9.9-x86_32
-REQUIRES += libs/libedit/20191231-3.1-x86_32
-REQUIRES += libs/ncurses/6.3-x86_32
-REQUIRES += dev/python2/2.7.18-x86_32
-REQUIRES += dev/python3/3.10.8-x86_32
-REQUIRES += dev/lua/5.4.2-x86_32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 13.0.0
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
-src_dir_name = llvm-$(version)
-doc_dir_name = llvm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LLVM_32_PKG_NAME = llvm-x32
-LLVM_32_PKG_VERSION = 13.0.0
-LLVM_32_PKG_ARCH = $(PKGARCH)
-LLVM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LLVM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LLVM_32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LLVM_32_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
-LLVM_32_PKG_URL = $(BUG_URL)
-LLVM_32_PKG_LICENSE = custom
-LLVM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-pkg-description
-LLVM_32_PKG_DESCRIPTION_FILE_IN = $(LLVM_32_PKG_NAME)-pkg-description.in
-LLVM_32_PKG_INSTALL_SCRIPT = $(LLVM_32_PKG_NAME)-pkg-install.sh
-
-LLVM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-package
-
-pkg_basename = $(LLVM_32_PKG_NAME)-$(LLVM_32_PKG_VERSION)-$(LLVM_32_PKG_ARCH)-$(LLVM_32_PKG_DISTRO_NAME)-$(LLVM_32_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LLVM_32_PKG)
-
-
-JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
-LLVM_JOBS := -j$(JOBS) -l$(JOBS)
-
-
-TARGET_BIN_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
-TARGET_LIB_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib/../lib$(MULTILIB_X86_32_SUFFIX)
-
-CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
-CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-extra
-CC_NO_WARNINGS += -Wno-uninitialized -Wno-type-limits -Wno-unused-variable -Wno-return-type
-
-CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
-CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-extra
-CXX_NO_WARNINGS += -Wno-uninitialized -Wno-type-limits -Wno-unused-variable -Wno-return-type
-
-
-configure_switches = -DBUG_REPORT_URL='https://llvm.org'
-
-configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
-configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
-#
-# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
-# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
-# practice for GNU Assembler. GNU AS compiler doesn't understand
-# options like -D_GNU_SOURCE .
-#
-configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
-
-configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
-configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
-configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
-configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
-configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
-configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
-configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
-configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
-
-configure_switches += -DCMAKE_C_FLAGS:STRING='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
-configure_switches += -DCMAKE_CXX_FLAGS:STRING='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
-
-configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
-configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
-configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
-
-configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
-configure_switches += -DCMAKE_SKIP_RPATH=YES
-
-configure_switches += -DLLVM_CCACHE_BUILD=ON
-configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
-configure_switches += -DLLVM_CCACHE_DIR:STRING='$(CACHED_CC_OUTPUT)'
-configure_switches += -DLLVM_CCACHE_PARAMS:STRING='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
-
-configure_switches += -DCMAKE_SYSTEM_NAME:STRING='Linux'
-
-configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
-configure_switches += -DCMAKE_INSTALL_BINDIR=bin/32
-configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec/32
-configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
-configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
-
-configure_switches += -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-
-configure_switches += -DCMAKE_BUILD_TYPE=Release
-configure_switches += -DBUILD_SHARED_LIBS=ON
-configure_switches += -DLLVM_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DLIBCXX_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_ZLIB=ON
-configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
-
-configure_switches += -DLLVM_INSTALL_UTILS=ON
-
-configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
-configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
-configure_switches += -DLLDB_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
-configure_switches += -DCLANG_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_BUILD_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_TESTS=OFF
-
-configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
-configure_switches += -DLLVM_ENABLE_PIC=ON
-
-configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCLANG_RESOURCE_DIR='../../lib$(MULTILIB_X86_32_SUFFIX)/clang/$(version)'
-configure_switches += -DLLVM_TARGETS_TO_BUILD='host;AMDGPU;BPF'
-configure_switches += -DLLDB_USE_SYSTEM_SIX=1
-
-#
-# libunwind:
-#
-configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
-configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
-
-
-#
-# Settings:
-#
-__ENABLE_CLANGD__ = yes
-__ENABLE_LLDB_SERVER__ = yes
-
-__ENABLE_LIBUNWIND__ = no
-__ENABLE_OPENMP__ = yes
-
-
-#
-# Evaluation:
-#
-ifeq ($(__ENABLE_CLANGD__),yes)
-clangd = ON
-else
-clangd = OFF
-endif
-ifeq ($(__ENABLE_LLDB_SERVER__),yes)
-lldb-server = ON
-else
-lldb-server = OFF
-endif
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
-libunwind = ;libunwind
-else
-libunwind =
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
-openmp = ;openmp
-else
-openmp =
-endif
-
-
-configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;libcxx;libcxxabi;lldb;lld;compiler-rt;polly$(openmp)$(libunwind)'
-
-configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
-configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
-
-
-PYTHON_VERSION = 3.10
-
-configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
-configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
-configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libpython$(PYTHON_VERSION).so
-
-configure_switches += -DLLDB_ENABLE_PYTHON=On
-configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
-
-configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libz.so
-
-configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/liblzma.so
-
-configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
-configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libxml2.so
-
-configure_switches += -DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=False
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libelf.so
-
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libffi.so
-
-configure_switches += -DLLDB_ENABLE_LUA=ON
-configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/liblua.so
-configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libm.so
-
-configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
-
-configure_switches += -DLLVM_ENABLE_TERMINFO=ON
-configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
-configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
-
-configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libcursesw.so
-configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libformw.so
-configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libncursesw.so
-configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libpanelw.so
-
-configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libncursesw.so
-configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
-
-configure_switches += -DLLDB_ENABLE_CURSES=On
-
-configure_switches += -DLLVM_BUILD_DOCS=OFF
-
-configure_switches += -DCMAKE_CROSSCOMPILING=True
-
-configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET32)
-
-configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
-configure_switches += -DLLVM_CONFIG_PATH:STRING=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
-configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
-configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(TARGET_BUILD_DIR)/build-machine
- @( cd $(TARGET_BUILD_DIR)/build-machine ; \
- cmake -Wno-dev \
- -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb' \
- -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX) \
- -DLLVM_INCLUDE_TESTS=OFF \
- -DLLVM_CCACHE_BUILD=ON \
- -DCCACHE_PROGRAM=$(CCACHE) \
- -DLLVM_CCACHE_DIR:STRING='$(CACHED_CC_OUTPUT)' \
- -DLLVM_CCACHE_PARAMS:STRING='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
- -DCMAKE_C_FLAGS:STRING='-I/usr/include $(CC_NO_WARNINGS)' \
- -DCMAKE_CXX_FLAGS:STRING='-I/usr/include $(CXX_NO_WARNINGS)' \
- ../llvm-$(version)/llvm ; \
- ninja llvm-tblgen ; \
- ninja clang-tblgen ; \
- ninja lldb-tblgen ; \
- ninja llvm-config ; \
- )
- @mkdir -p $(build_dir)
- @( cd $(build_dir) ; \
- $(BUILD_ENVIRONMENT) \
- cmake -Wno-dev --trace-expand \
- -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
- )
- @( cd $(build_dir) ; \
- ninja $(LLVM_JOBS) all ; \
- )
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LLVM_32_PKG)
- @cd $(build_dir) && $(env_sysroot) ninja install
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- ln -sf clang $(TARGET32)-clang ; \
- ln -sf clang++ $(TARGET32)-clang++ ; \
- )
- @( cd $(TARGET_BUILD_DIR)/build/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin ; \
- )
- # ======= Move 32-Bit binaries into /usr/bin/32 directory =======
- @mkdir -p $(LLVM_32_PKG)/usr/bin/32
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- find . -type f | xargs mv -t 32 ; \
- find . -type l | xargs mv -t 32 ; \
- )
- # ======= Install $(TARGET32)-llvm-config =======
- @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-clang-tblgen ; \
- cp -a llvm-tblgen $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-llvm-tblgen ; \
- cp -a lldb-tblgen $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-lldb-tblgen ; \
- cp -a llvm-config $(LLVM_32_PKG)/usr/bin/32/$(TARGET32)-llvm-config ; \
- )
- # ======= Save config.h and llvm-config.h =======
- @for header in config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/clang/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @for header in llvm-config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/llvm/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @rm -rf $(LLVM_32_PKG)/usr/include
- @rm -rf $(LLVM_32_PKG)/usr/libexec
- @rm -rf $(LLVM_32_PKG)/usr/share
- # ======= Restore config-32.h and llvm-config-32.h =======
- @mkdir -p $(LLVM_32_PKG)/usr/include/{clang,llvm}/Config
- @for header in config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/clang/Config/$$header-32.h ; \
- done
- @for header in llvm-config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/llvm/Config/$$header-32.h ; \
- done
- # ======= Remove bundled python-six =======
- @rm -f $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
- # ======= Install Python bindings =======
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7 $(PYTHON2) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7 $(PYTHON2) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages/clang
- # ======= Install Python3 bindings =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb ; \
- ln -sf ../../../../bin/32/lldb-argdumper ; \
- )
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- # ======= Remove build-dir from cmake files =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),,g' llvm/LLVMExports.cmake ; \
- sed -i 's,$(TARGET_DEST_DIR),,g' llvm/LLVMExports.cmake ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LLVM_32_PKG))
- # ======= Remove $(TARGET32)-llvm-config from target package =======
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-clang-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-lldb-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-config
- # ======= Strip Binaries =======
- @( cd $(LLVM_32_PKG); \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(LLVM_32_PKG_DESCRIPTION_FILE): $(LLVM_32_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): $(install_target) $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG_INSTALL_SCRIPT)
- @cp $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG)/.DESCRIPTION
- @cp $(LLVM_32_PKG_INSTALL_SCRIPT) $(LLVM_32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LLVM_32_PKG)/.REQUIRES
- @echo "pkgname=$(LLVM_32_PKG_NAME)" > $(LLVM_32_PKG)/.PKGINFO ; \
- echo "pkgver=$(LLVM_32_PKG_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "arch=$(LLVM_32_PKG_ARCH)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distroname=$(LLVM_32_PKG_DISTRO_NAME)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distrover=$(LLVM_32_PKG_DISTRO_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "group=$(LLVM_32_PKG_GROUP)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LLVM_32_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "url=$(LLVM_32_PKG_URL)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "license=$(LLVM_32_PKG_LICENSE)" >> $(LLVM_32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LLVM_32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/13.0.0-x86_32
===================================================================
--- llvm/13.0.0-x86_32 (revision 384)
+++ llvm/13.0.0-x86_32 (nonexistent)
Property changes on: llvm/13.0.0-x86_32
___________________________________________________________________
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: llvm/15.0.4-ppc32/llvm-x32-pkg-description.in
===================================================================
--- llvm/15.0.4-ppc32/llvm-x32-pkg-description.in (revision 384)
+++ llvm/15.0.4-ppc32/llvm-x32-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------------------------------------------------------|
-llvm-x32: llvm-x32 @VERSION@ (LLVM compiler toolkit)
-llvm-x32:
-llvm-x32: Low Level Virtual Machine is a toolkit for the construction of
-llvm-x32: highly optimized compilers, optimizers, and runtime environments.
-llvm-x32:
-llvm-x32: This package also includes the clang frontend for the C family of
-llvm-x32: languages: C, C++, Objective-C, and Objective-C++
-llvm-x32:
-llvm-x32: Homepage: http://llvm.org
-llvm-x32:
-llvm-x32:
Index: llvm/15.0.4-ppc32/llvm-x32-pkg-install.sh
===================================================================
--- llvm/15.0.4-ppc32/llvm-x32-pkg-install.sh (revision 384)
+++ llvm/15.0.4-ppc32/llvm-x32-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: llvm/15.0.4-ppc32/llvm-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: llvm/15.0.4-ppc32/PATCHES
===================================================================
--- llvm/15.0.4-ppc32/PATCHES (revision 384)
+++ llvm/15.0.4-ppc32/PATCHES (nonexistent)
@@ -1,17 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-clang-gnu-triple.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-clang-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-synonyms.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-mips.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-riscv64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-64bit-atomic.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-versioning.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-install-symlink.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-lua-version.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-openmp-perl.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-polly-hack.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-scan-build-py-x32.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-pstl-x32.patch -p0
Index: llvm/15.0.4-ppc32/Makefile
===================================================================
--- llvm/15.0.4-ppc32/Makefile (revision 384)
+++ llvm/15.0.4-ppc32/Makefile (nonexistent)
@@ -1,542 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-CREATE_PPC32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/d/llvm
-
-REQUIRES = dev/llvm/15.0.4
-REQUIRES += libs/libffi/3.4.4-ppc32
-REQUIRES += libs/elfutils/0.187-ppc32
-REQUIRES += libs/libxml2/2.9.9-ppc32
-REQUIRES += libs/libedit/20191231-3.1-ppc32
-REQUIRES += libs/ncurses/6.3-ppc32
-REQUIRES += dev/python2/2.7.18-ppc32
-REQUIRES += dev/python3/3.10.8-ppc32
-REQUIRES += dev/lua/5.4.2-ppc32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 15.0.4
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
-src_dir_name = llvm-$(version)
-doc_dir_name = llvm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LLVM_32_PKG_NAME = llvm-x32
-LLVM_32_PKG_VERSION = 15.0.4
-LLVM_32_PKG_ARCH = $(PKGARCH)
-LLVM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LLVM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LLVM_32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LLVM_32_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
-LLVM_32_PKG_URL = $(BUG_URL)
-LLVM_32_PKG_LICENSE = custom
-LLVM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-pkg-description
-LLVM_32_PKG_DESCRIPTION_FILE_IN = $(LLVM_32_PKG_NAME)-pkg-description.in
-LLVM_32_PKG_INSTALL_SCRIPT = $(LLVM_32_PKG_NAME)-pkg-install.sh
-
-LLVM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-package
-
-pkg_basename = $(LLVM_32_PKG_NAME)-$(LLVM_32_PKG_VERSION)-$(LLVM_32_PKG_ARCH)-$(LLVM_32_PKG_DISTRO_NAME)-$(LLVM_32_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LLVM_32_PKG)
-
-
-JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
-LLVM_JOBS := -j$(JOBS) -l$(JOBS)
-
-
-TARGET_BIN_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX)
-TARGET_LIB_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib/../lib$(MULTILIB_PPC32_SUFFIX)
-
-BUILD_BIN_RPATH = /lib$(BUILD_MULTILIB_SUFFIX):/usr/lib$(BUILD_MULTILIB_SUFFIX)
-
-
-CFLAGS += -flarge-source-files
-
-CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
-CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes
-CC_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
-CC_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
-CC_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow
-
-CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
-CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes
-CXX_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
-CXX_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
-CXX_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow -Wno-nonnull -Wno-dangling-pointer
-CXX_NO_WARNINGS += -Wno-alloc-size-larger-than -Wno-missing-attributes -Wno-free-nonheap-object
-CXX_NO_WARNINGS += -Wno-variadic-macros -Wno-format-nonliteral -Wno-parentheses -Wno-sized-deallocation
-CXX_NO_WARNINGS += -Wno-overflow -Wno-builtin-declaration-mismatch -Wno-prio-ctor-dtor
-
-
-configure_switches = -DBUG_REPORT_URL='https://llvm.org'
-
-configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
-configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
-#
-# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
-# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
-# practice for GNU Assembler. GNU AS compiler doesn't understand
-# options like -D_GNU_SOURCE .
-#
-configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
-
-configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
-configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
-configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
-configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
-configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
-configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
-configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
-configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
-
-configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
-configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
-
-explicit_atomic = -latomic
-
-configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
-
-configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
-configure_switches += -DCMAKE_SKIP_RPATH=YES
-
-configure_switches += -DLLVM_CCACHE_BUILD=ON
-configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
-configure_switches += -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)'
-configure_switches += -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
-
-configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
-configure_switches += -DCMAKE_INSTALL_BINDIR=bin/32
-configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec/32
-configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
-configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
-
-configure_switches += -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DLLDB_LUA_RELATIVE_PATH=lib$(MULTILIB_PPC32_SUFFIX)/lua/5.4
-
-configure_switches += -DCMAKE_BUILD_TYPE=Release
-configure_switches += -DBUILD_SHARED_LIBS=ON
-configure_switches += -DLLVM_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DLIBCXX_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_ZLIB=ON
-configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBOMP_ENABLE_ASSERTIONS=OFF
-
-configure_switches += -DLLVM_INSTALL_UTILS=ON
-
-configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
-configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
-configure_switches += -DLLDB_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
-configure_switches += -DCLANG_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_BUILD_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_TESTS=OFF
-
-configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
-configure_switches += -DLLVM_ENABLE_PIC=ON
-
-configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCLANG_RESOURCE_DIR='../../lib$(MULTILIB_PPC32_SUFFIX)/clang/$(version)'
-configure_switches += -DLLDB_USE_SYSTEM_SIX=1
-
-#
-# libunwind:
-#
-configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
-configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
-
-
-#
-# Settings:
-#
-__ENABLE_CLANGD__ = no
-__ENABLE_LLDB_SERVER__ = no
-
-__ENABLE_LIBUNWIND__ = no
-__ENABLE_OPENMP__ = yes
-
-
-__ENABLE_AMDGPU__ = yes
-__ENABLE_BPF__ = yes
-
-#
-# Evaluation:
-#
-ifeq ($(__ENABLE_CLANGD__),yes)
-clangd = ON
-else
-clangd = OFF
-endif
-ifeq ($(__ENABLE_LLDB_SERVER__),yes)
-lldb-server = ON
-else
-lldb-server = OFF
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
-openmp = openmp
-else
-openmp =
-endif
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
-libunwind = libunwind
-else
-libunwind =
-endif
-
-ifeq ($(__ENABLE_AMDGPU__),yes)
-amdgpu = AMDGPU
-else
-amdgpu =
-endif
-ifeq ($(__ENABLE_BPF__),yes)
-bpf = BPF
-else
-bpf =
-endif
-
-
-configure_switches += -DLLVM_TARGETS_TO_BUILD='host;$(amdgpu);$(bpf)'
-
-configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;compiler-rt;libcxx;libcxxabi;lld;lldb;mlir;polly;pstl'
-configure_switches += -DLLVM_ENABLE_RUNTIMES='$(openmp);$(libunwind)'
-
-configure_switches += -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF
-
-configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
-configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
-
-
-PYTHON_VERSION = 3.10
-
-configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
-configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
-configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libpython$(PYTHON_VERSION).so
-
-configure_switches += -DLLDB_ENABLE_PYTHON=On
-configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
-configure_switches += -DLLDB_PYTHON_EXE_RELATIVE_PATH=$(PYTHON3)
-configure_switches += -DLLDB_PYTHON_EXT_SUFFIX='.so'
-
-configure_switches += -DPERL_EXECUTABLE=$(PERL)
-configure_switches += -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config
-
-configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libz.so
-
-configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/liblzma.so
-
-configure_switches += -Dzstd_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -Dzstd_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libzstd.so
-
-configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
-configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libxml2.so
-
-configure_switches += -DOPENMP_STANDALONE_BUILD=ON
-configure_switches += -DOPENMP_ENABLE_LIBOMPTARGET=OFF
-configure_switches += -DOPENMP_LIBDIR_SUFFIX='$(MULTILIB_PPC32_SUFFIX)'
-
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)
-configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libffi.so
-configure_switches += -DFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libffi.so
-
-configure_switches += -DLLDB_ENABLE_LUA=ON
-configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/liblua.so
-configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libm.so
-
-configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_TERMINFO=ON
-
-configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
-configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
-configure_switches += -DTerminfo_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
-
-configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libcursesw.so
-configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libformw.so
-configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libncursesw.so
-configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libpanelw.so
-
-configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libncursesw.so
-configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
-
-configure_switches += -DLLDB_ENABLE_CURSES=On
-
-configure_switches += -DLLVM_BUILD_DOCS=OFF
-
-configure_switches += -DCMAKE_CROSSCOMPILING=True
-
-configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET32)
-
-configure_switches += -DLLVM_BUILD_LLVM_DYLIB=ON
-
-configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
-configure_switches += -DLLVM_CONFIG_PATH=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
-configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
-configure_switches += -DCLANG_PSEUDO_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-pseudo-gen
-configure_switches += -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tidy-confusable-chars-gen
-configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
-configure_switches += -DMLIR_LINALG_ODS_YAML_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-linalg-ods-yaml-gen
-configure_switches += -DMLIR_PDLL_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-pdll
-configure_switches += -DMLIR_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-tblgen
-
-
-llvm-config-targets = PowerPC
-
-
-#
-# NOTE:
-# ====
-#
-# CMAKE_SYSTEM_PROCESSOR cannot be defined by command line option:
-#
-toolchain-file = $(CURDIR)/$(TARGET_BUILD_DIR)/toolchain.cmake
-
-configure_switches += -DCMAKE_TOOLCHAIN_FILE=$(toolchain-file)
-
-cpu_arch = $(word 1,$(subst -, ,$(TARGET32)))
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @echo "set(CMAKE_SYSTEM_NAME Linux)" > $(toolchain-file)
- @echo "set(CMAKE_SYSTEM_PROCESSOR $(cpu_arch))" >> $(toolchain-file)
- @echo "set(CMAKE_SYSROOT $(TARGET_DEST_DIR))" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $(toolchain-file)
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(TARGET_BUILD_DIR)/build-machine
- @( cd $(TARGET_BUILD_DIR)/build-machine ; \
- cmake -Wno-dev \
- -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb;clang-tools-extra;mlir' \
- -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX) \
- -DLLVM_TARGETS_TO_BUILD='$(llvm-config-targets);$(amdgpu);$(bpf)' \
- -DLLVM_BUILD_LLVM_DYLIB=ON \
- -DLLVM_ENABLE_RTTI=ON \
- -DLLVM_INCLUDE_TESTS=OFF \
- -DLLVM_CCACHE_BUILD=ON \
- -DCCACHE_PROGRAM=$(CCACHE) \
- -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)' \
- -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
- -DCMAKE_SKIP_INSTALL_RPATH=YES \
- -DCMAKE_SKIP_RPATH=YES \
- -DCMAKE_EXE_LINKER_FLAGS='-Wl,-rpath,$(BUILD_BIN_RPATH) -L/lib$(BUILD_MULTILIB_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_SUFFIX)' \
- -DCMAKE_C_FLAGS='-I/usr/include -flarge-source-files $(CC_NO_WARNINGS)' \
- -DCMAKE_CXX_FLAGS='-I/usr/include -flarge-source-files $(CXX_NO_WARNINGS)' \
- ../llvm-$(version)/llvm ; \
- ninja llvm-tblgen ; \
- ninja clang-tblgen ; \
- ninja clang-pseudo-gen ; \
- ninja clang-tidy-confusable-chars-gen ; \
- ninja lldb-tblgen ; \
- ninja llvm-config ; \
- ninja mlir-linalg-ods-yaml-gen ; \
- ninja mlir-pdll ; \
- ninja mlir-tblgen ; \
- )
- @mkdir -p $(build_dir)
- @( cd $(build_dir) ; \
- $(BUILD_ENVIRONMENT) \
- cmake -Wno-dev --trace-expand \
- -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
- )
- @( cd $(build_dir) ; \
- ninja $(LLVM_JOBS) all ; \
- )
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LLVM_32_PKG)
- @cd $(build_dir) && $(env_sysroot) ninja install
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- ln -sf clang $(TARGET32)-clang ; \
- ln -sf clang++ $(TARGET32)-clang++ ; \
- )
- @( cd $(TARGET_BUILD_DIR)/build/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin ; \
- )
- # ======= Move 32-Bit binaries into /usr/bin/32 directory =======
- @mkdir -p $(LLVM_32_PKG)/usr/bin/32
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- find . -maxdepth 1 -type f | xargs mv -t 32 ; \
- find . -maxdepth 1 -type l | xargs mv -t 32 ; \
- )
- # ======= Install $(TARGET32)-llvm-config =======
- @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-clang-tblgen ; \
- cp -a llvm-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-tblgen ; \
- cp -a lldb-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-lldb-tblgen ; \
- cp -a llvm-config $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-config ; \
- )
- @( cd $(LLVM_32_PKG)/usr/bin/32 ; \
- for file in clang-tblgen llvm-tblgen lldb-tblgen llvm-config ; do \
- ln -sf ../$(TARGET32)-$${file} . ; \
- done ; \
- )
- # ======= Save config.h and llvm-config.h =======
- @for header in config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/clang/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @for header in Config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/lldb/Host/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @for header in llvm-config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/llvm/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @rm -rf $(LLVM_32_PKG)/usr/include
- @rm -rf $(LLVM_32_PKG)/usr/libexec
- @rm -rf $(LLVM_32_PKG)/usr/share
- # ======= Restore config-32.h and llvm-config-32.h =======
- @mkdir -p $(LLVM_32_PKG)/usr/include/lldb/Host
- @mkdir -p $(LLVM_32_PKG)/usr/include/{clang,llvm}/Config
- @for header in config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/clang/Config/$$header-32.h ; \
- done
- @for header in Config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/lldb/Host/$$header-32.h ; \
- done
- @for header in llvm-config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/llvm/Config/$$header-32.h ; \
- done
- # ======= Remove bundled python-six =======
- @rm -f $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
- # ======= Install Python bindings =======
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7 $(PYTHON2) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7 $(PYTHON2) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages/clang
- # ======= Install Python3 bindings =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb ; \
- ln -sf ../../../../bin/32/lldb-argdumper ; \
- )
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- # ======= Remove build-dir from cmake files =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),,g' llvm/LLVMExports.cmake ; \
- sed -i 's,$(TARGET_DEST_DIR),,g' llvm/LLVMExports.cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir)/tools/mlir/include,/usr/include,g' mlir/MLIRConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(TARGET_BUILD_DIR),/usr/src,g' mlir/MLIRConfig.cmake ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LLVM_32_PKG))
- # ======= Remove $(TARGET32)-llvm-config from target package =======
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-clang-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-lldb-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-config
- # ======= Strip Binaries =======
- @( cd $(LLVM_32_PKG); \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(LLVM_32_PKG_DESCRIPTION_FILE): $(LLVM_32_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): $(install_target) $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG_INSTALL_SCRIPT)
- @cp $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG)/.DESCRIPTION
- @cp $(LLVM_32_PKG_INSTALL_SCRIPT) $(LLVM_32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LLVM_32_PKG)/.REQUIRES
- @echo "pkgname=$(LLVM_32_PKG_NAME)" > $(LLVM_32_PKG)/.PKGINFO ; \
- echo "pkgver=$(LLVM_32_PKG_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "arch=$(LLVM_32_PKG_ARCH)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distroname=$(LLVM_32_PKG_DISTRO_NAME)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distrover=$(LLVM_32_PKG_DISTRO_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "group=$(LLVM_32_PKG_GROUP)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LLVM_32_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "url=$(LLVM_32_PKG_URL)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "license=$(LLVM_32_PKG_LICENSE)" >> $(LLVM_32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LLVM_32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/15.0.4-ppc32
===================================================================
--- llvm/15.0.4-ppc32 (revision 384)
+++ llvm/15.0.4-ppc32 (nonexistent)
Property changes on: llvm/15.0.4-ppc32
___________________________________________________________________
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: llvm/15.0.4-x86_32/llvm-x32-pkg-description.in
===================================================================
--- llvm/15.0.4-x86_32/llvm-x32-pkg-description.in (revision 384)
+++ llvm/15.0.4-x86_32/llvm-x32-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------------------------------------------------------|
-llvm-x32: llvm-x32 @VERSION@ (LLVM compiler toolkit)
-llvm-x32:
-llvm-x32: Low Level Virtual Machine is a toolkit for the construction of
-llvm-x32: highly optimized compilers, optimizers, and runtime environments.
-llvm-x32:
-llvm-x32: This package also includes the clang frontend for the C family of
-llvm-x32: languages: C, C++, Objective-C, and Objective-C++
-llvm-x32:
-llvm-x32: Homepage: http://llvm.org
-llvm-x32:
-llvm-x32:
Index: llvm/15.0.4-x86_32/llvm-x32-pkg-install.sh
===================================================================
--- llvm/15.0.4-x86_32/llvm-x32-pkg-install.sh (revision 384)
+++ llvm/15.0.4-x86_32/llvm-x32-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: llvm/15.0.4-x86_32/llvm-x32-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: llvm/15.0.4-x86_32/PATCHES
===================================================================
--- llvm/15.0.4-x86_32/PATCHES (revision 384)
+++ llvm/15.0.4-x86_32/PATCHES (nonexistent)
@@ -1,17 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-clang-gnu-triple.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-clang-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-synonyms.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-mips.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-riscv64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-64bit-atomic.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-versioning.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-install-symlink.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-lua-version.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-openmp-perl.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-polly-hack.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-scan-build-py-x32.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-pstl-x32.patch -p0
Index: llvm/15.0.4-x86_32/Makefile
===================================================================
--- llvm/15.0.4-x86_32/Makefile (revision 384)
+++ llvm/15.0.4-x86_32/Makefile (nonexistent)
@@ -1,537 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-CREATE_X86_32_PACKAGE = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/d/llvm
-
-REQUIRES = dev/llvm/15.0.4
-REQUIRES += libs/libffi/3.4.4-x86_32
-REQUIRES += libs/elfutils/0.187-x86_32
-REQUIRES += libs/libxml2/2.9.9-x86_32
-REQUIRES += libs/libedit/20191231-3.1-x86_32
-REQUIRES += libs/ncurses/6.3-x86_32
-REQUIRES += dev/python2/2.7.18-x86_32
-REQUIRES += dev/python3/3.10.8-x86_32
-REQUIRES += dev/lua/5.4.2-x86_32
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 15.0.4
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
-src_dir_name = llvm-$(version)
-doc_dir_name = llvm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-PATCHES = PATCHES
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LLVM_32_PKG_NAME = llvm-x32
-LLVM_32_PKG_VERSION = 15.0.4
-LLVM_32_PKG_ARCH = $(PKGARCH)
-LLVM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LLVM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LLVM_32_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LLVM_32_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
-LLVM_32_PKG_URL = $(BUG_URL)
-LLVM_32_PKG_LICENSE = custom
-LLVM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-pkg-description
-LLVM_32_PKG_DESCRIPTION_FILE_IN = $(LLVM_32_PKG_NAME)-pkg-description.in
-LLVM_32_PKG_INSTALL_SCRIPT = $(LLVM_32_PKG_NAME)-pkg-install.sh
-
-LLVM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-package
-
-pkg_basename = $(LLVM_32_PKG_NAME)-$(LLVM_32_PKG_VERSION)-$(LLVM_32_PKG_ARCH)-$(LLVM_32_PKG_DISTRO_NAME)-$(LLVM_32_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LLVM_32_PKG)
-
-
-JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
-LLVM_JOBS := -j$(JOBS) -l$(JOBS)
-
-
-TARGET_BIN_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
-TARGET_LIB_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib/../lib$(MULTILIB_X86_32_SUFFIX)
-
-BUILD_BIN_RPATH = /lib$(BUILD_MULTILIB_SUFFIX):/usr/lib$(BUILD_MULTILIB_SUFFIX)
-
-
-CFLAGS += -flarge-source-files
-
-CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
-CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes
-CC_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
-CC_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
-CC_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow
-
-CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
-CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes
-CXX_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
-CXX_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
-CXX_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow -Wno-nonnull -Wno-dangling-pointer
-CXX_NO_WARNINGS += -Wno-alloc-size-larger-than -Wno-missing-attributes -Wno-free-nonheap-object
-CXX_NO_WARNINGS += -Wno-variadic-macros -Wno-format-nonliteral -Wno-parentheses -Wno-sized-deallocation
-CXX_NO_WARNINGS += -Wno-overflow -Wno-builtin-declaration-mismatch -Wno-prio-ctor-dtor
-
-
-configure_switches = -DBUG_REPORT_URL='https://llvm.org'
-
-configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
-configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
-#
-# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
-# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
-# practice for GNU Assembler. GNU AS compiler doesn't understand
-# options like -D_GNU_SOURCE .
-#
-configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
-
-configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
-configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
-configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
-configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
-configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
-configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
-configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
-configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
-
-configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
-configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
-
-configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
-configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
-configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
-
-configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
-configure_switches += -DCMAKE_SKIP_RPATH=YES
-
-configure_switches += -DLLVM_CCACHE_BUILD=ON
-configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
-configure_switches += -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)'
-configure_switches += -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
-
-configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
-configure_switches += -DCMAKE_INSTALL_BINDIR=bin/32
-configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec/32
-configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
-configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
-
-configure_switches += -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DLLDB_LUA_RELATIVE_PATH=lib$(MULTILIB_X86_32_SUFFIX)/lua/5.4
-
-configure_switches += -DCMAKE_BUILD_TYPE=Release
-configure_switches += -DBUILD_SHARED_LIBS=ON
-configure_switches += -DLLVM_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DLIBCXX_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_ZLIB=ON
-configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBOMP_ENABLE_ASSERTIONS=OFF
-
-configure_switches += -DLLVM_INSTALL_UTILS=ON
-
-configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
-configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
-configure_switches += -DLLDB_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
-configure_switches += -DCLANG_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_BUILD_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_TESTS=OFF
-
-configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
-configure_switches += -DLLVM_ENABLE_PIC=ON
-
-configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCLANG_RESOURCE_DIR='../../lib$(MULTILIB_X86_32_SUFFIX)/clang/$(version)'
-configure_switches += -DLLDB_USE_SYSTEM_SIX=1
-
-#
-# libunwind:
-#
-configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
-configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
-
-
-#
-# Settings:
-#
-__ENABLE_CLANGD__ = yes
-__ENABLE_LLDB_SERVER__ = yes
-
-__ENABLE_LIBUNWIND__ = no
-__ENABLE_OPENMP__ = yes
-
-
-__ENABLE_AMDGPU__ = yes
-__ENABLE_BPF__ = yes
-
-#
-# Evaluation:
-#
-ifeq ($(__ENABLE_CLANGD__),yes)
-clangd = ON
-else
-clangd = OFF
-endif
-ifeq ($(__ENABLE_LLDB_SERVER__),yes)
-lldb-server = ON
-else
-lldb-server = OFF
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
-openmp = openmp
-else
-openmp =
-endif
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
-libunwind = libunwind
-else
-libunwind =
-endif
-
-ifeq ($(__ENABLE_AMDGPU__),yes)
-amdgpu = AMDGPU
-else
-amdgpu =
-endif
-ifeq ($(__ENABLE_BPF__),yes)
-bpf = BPF
-else
-bpf =
-endif
-
-
-configure_switches += -DLLVM_TARGETS_TO_BUILD='host;$(amdgpu);$(bpf)'
-
-configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;compiler-rt;libcxx;libcxxabi;lld;lldb;mlir;polly;pstl'
-configure_switches += -DLLVM_ENABLE_RUNTIMES='$(openmp);$(libunwind)'
-
-configure_switches += -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF
-
-configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
-configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
-
-
-PYTHON_VERSION = 3.10
-
-configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
-configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
-configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libpython$(PYTHON_VERSION).so
-
-configure_switches += -DLLDB_ENABLE_PYTHON=On
-configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
-configure_switches += -DLLDB_PYTHON_EXE_RELATIVE_PATH=$(PYTHON3)
-configure_switches += -DLLDB_PYTHON_EXT_SUFFIX='.so'
-
-configure_switches += -DPERL_EXECUTABLE=$(PERL)
-configure_switches += -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config
-
-configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libz.so
-
-configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/liblzma.so
-
-configure_switches += -Dzstd_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -Dzstd_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libzstd.so
-
-configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
-configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libxml2.so
-
-configure_switches += -DOPENMP_STANDALONE_BUILD=ON
-configure_switches += -DOPENMP_ENABLE_LIBOMPTARGET=OFF
-configure_switches += -DOPENMP_LIBDIR_SUFFIX='$(MULTILIB_X86_32_SUFFIX)'
-
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)
-configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libffi.so
-configure_switches += -DFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libffi.so
-
-configure_switches += -DLLDB_ENABLE_LUA=ON
-configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/liblua.so
-configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libm.so
-
-configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_TERMINFO=ON
-
-configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
-configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
-configure_switches += -DTerminfo_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
-
-configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libcursesw.so
-configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libformw.so
-configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libncursesw.so
-configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libpanelw.so
-
-configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libncursesw.so
-configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
-
-configure_switches += -DLLDB_ENABLE_CURSES=On
-
-configure_switches += -DLLVM_BUILD_DOCS=OFF
-
-configure_switches += -DCMAKE_CROSSCOMPILING=True
-
-configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET32)
-configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET32)
-
-configure_switches += -DLLVM_BUILD_LLVM_DYLIB=ON
-
-configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
-configure_switches += -DLLVM_CONFIG_PATH=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
-configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
-configure_switches += -DCLANG_PSEUDO_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-pseudo-gen
-configure_switches += -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tidy-confusable-chars-gen
-configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
-configure_switches += -DMLIR_LINALG_ODS_YAML_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-linalg-ods-yaml-gen
-configure_switches += -DMLIR_PDLL_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-pdll
-configure_switches += -DMLIR_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-tblgen
-
-
-llvm-config-targets = X86
-
-
-#
-# NOTE:
-# ====
-#
-# CMAKE_SYSTEM_PROCESSOR cannot be defined by command line option:
-#
-toolchain-file = $(CURDIR)/$(TARGET_BUILD_DIR)/toolchain.cmake
-
-configure_switches += -DCMAKE_TOOLCHAIN_FILE=$(toolchain-file)
-
-cpu_arch = $(word 1,$(subst -, ,$(TARGET32)))
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
- $(APPLY_PATCHES)
- @echo "set(CMAKE_SYSTEM_NAME Linux)" > $(toolchain-file)
- @echo "set(CMAKE_SYSTEM_PROCESSOR $(cpu_arch))" >> $(toolchain-file)
- @echo "set(CMAKE_SYSROOT $(TARGET_DEST_DIR))" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $(toolchain-file)
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(TARGET_BUILD_DIR)/build-machine
- @( cd $(TARGET_BUILD_DIR)/build-machine ; \
- cmake -Wno-dev \
- -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb;clang-tools-extra;mlir' \
- -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX) \
- -DLLVM_TARGETS_TO_BUILD='$(llvm-config-targets);$(amdgpu);$(bpf)' \
- -DLLVM_BUILD_LLVM_DYLIB=ON \
- -DLLVM_ENABLE_RTTI=ON \
- -DLLVM_INCLUDE_TESTS=OFF \
- -DLLVM_CCACHE_BUILD=ON \
- -DCCACHE_PROGRAM=$(CCACHE) \
- -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)' \
- -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
- -DCMAKE_SKIP_INSTALL_RPATH=YES \
- -DCMAKE_SKIP_RPATH=YES \
- -DCMAKE_EXE_LINKER_FLAGS='-Wl,-rpath,$(BUILD_BIN_RPATH) -L/lib$(BUILD_MULTILIB_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_SUFFIX)' \
- -DCMAKE_C_FLAGS='-I/usr/include -flarge-source-files $(CC_NO_WARNINGS)' \
- -DCMAKE_CXX_FLAGS='-I/usr/include -flarge-source-files $(CXX_NO_WARNINGS)' \
- ../llvm-$(version)/llvm ; \
- ninja llvm-tblgen ; \
- ninja clang-tblgen ; \
- ninja clang-pseudo-gen ; \
- ninja clang-tidy-confusable-chars-gen ; \
- ninja lldb-tblgen ; \
- ninja llvm-config ; \
- ninja mlir-linalg-ods-yaml-gen ; \
- ninja mlir-pdll ; \
- ninja mlir-tblgen ; \
- )
- @mkdir -p $(build_dir)
- @( cd $(build_dir) ; \
- $(BUILD_ENVIRONMENT) \
- cmake -Wno-dev --trace-expand \
- -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
- )
- @( cd $(build_dir) ; \
- ninja $(LLVM_JOBS) all ; \
- )
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LLVM_32_PKG)
- @cd $(build_dir) && $(env_sysroot) ninja install
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- ln -sf clang $(TARGET32)-clang ; \
- ln -sf clang++ $(TARGET32)-clang++ ; \
- )
- @( cd $(TARGET_BUILD_DIR)/build/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin ; \
- )
- # ======= Move 32-Bit binaries into /usr/bin/32 directory =======
- @mkdir -p $(LLVM_32_PKG)/usr/bin/32
- @( cd $(LLVM_32_PKG)/usr/bin ; \
- find . -maxdepth 1 -type f | xargs mv -t 32 ; \
- find . -maxdepth 1 -type l | xargs mv -t 32 ; \
- )
- # ======= Install $(TARGET32)-llvm-config =======
- @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
- cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-clang-tblgen ; \
- cp -a llvm-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-tblgen ; \
- cp -a lldb-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-lldb-tblgen ; \
- cp -a llvm-config $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-config ; \
- )
- @( cd $(LLVM_32_PKG)/usr/bin/32 ; \
- for file in clang-tblgen llvm-tblgen lldb-tblgen llvm-config ; do \
- ln -sf ../$(TARGET32)-$${file} . ; \
- done ; \
- )
- # ======= Save config.h and llvm-config.h =======
- @for header in config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/clang/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @for header in Config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/lldb/Host/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @for header in llvm-config ; do \
- cp -a $(LLVM_32_PKG)/usr/include/llvm/Config/$$header.h $(TARGET_BUILD_DIR) ; \
- done
- @rm -rf $(LLVM_32_PKG)/usr/include
- @rm -rf $(LLVM_32_PKG)/usr/libexec
- @rm -rf $(LLVM_32_PKG)/usr/share
- # ======= Restore config-32.h and llvm-config-32.h =======
- @mkdir -p $(LLVM_32_PKG)/usr/include/lldb/Host
- @mkdir -p $(LLVM_32_PKG)/usr/include/{clang,llvm}/Config
- @for header in config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/clang/Config/$$header-32.h ; \
- done
- @for header in Config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/lldb/Host/$$header-32.h ; \
- done
- @for header in llvm-config ; do \
- cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/llvm/Config/$$header-32.h ; \
- done
- # ======= Remove bundled python-six =======
- @rm -f $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
- # ======= Install Python bindings =======
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7 $(PYTHON2) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7 $(PYTHON2) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages/clang
- # ======= Install Python3 bindings =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb ; \
- ln -sf ../../../../bin/32/lldb-argdumper ; \
- )
- @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- # ======= Remove build-dir from cmake files =======
- @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),,g' llvm/LLVMExports.cmake ; \
- sed -i 's,$(TARGET_DEST_DIR),,g' llvm/LLVMExports.cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir)/tools/mlir/include,/usr/include,g' mlir/MLIRConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(TARGET_BUILD_DIR),/usr/src,g' mlir/MLIRConfig.cmake ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LLVM_32_PKG))
- # ======= Remove $(TARGET32)-llvm-config from target package =======
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-clang-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-lldb-tblgen
- @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-config
- # ======= Strip Binaries =======
- @( cd $(LLVM_32_PKG); \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(LLVM_32_PKG_DESCRIPTION_FILE): $(LLVM_32_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): $(install_target) $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG_INSTALL_SCRIPT)
- @cp $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG)/.DESCRIPTION
- @cp $(LLVM_32_PKG_INSTALL_SCRIPT) $(LLVM_32_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LLVM_32_PKG)/.REQUIRES
- @echo "pkgname=$(LLVM_32_PKG_NAME)" > $(LLVM_32_PKG)/.PKGINFO ; \
- echo "pkgver=$(LLVM_32_PKG_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "arch=$(LLVM_32_PKG_ARCH)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distroname=$(LLVM_32_PKG_DISTRO_NAME)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "distrover=$(LLVM_32_PKG_DISTRO_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "group=$(LLVM_32_PKG_GROUP)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LLVM_32_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "url=$(LLVM_32_PKG_URL)" >> $(LLVM_32_PKG)/.PKGINFO ; \
- echo "license=$(LLVM_32_PKG_LICENSE)" >> $(LLVM_32_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LLVM_32_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/15.0.4-x86_32
===================================================================
--- llvm/15.0.4-x86_32 (revision 384)
+++ llvm/15.0.4-x86_32 (nonexistent)
Property changes on: llvm/15.0.4-x86_32
___________________________________________________________________
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: llvm/13.0.0/llvm-pkg-install.sh
===================================================================
--- llvm/13.0.0/llvm-pkg-install.sh (revision 384)
+++ llvm/13.0.0/llvm-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: llvm/13.0.0/llvm-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: llvm/13.0.0/PATCHES.p5600
===================================================================
--- llvm/13.0.0/PATCHES.p5600 (revision 384)
+++ llvm/13.0.0/PATCHES.p5600 (nonexistent)
@@ -1,3 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-p5600.patch -p0
-
Index: llvm/13.0.0/PATCHES
===================================================================
--- llvm/13.0.0/PATCHES (revision 384)
+++ llvm/13.0.0/PATCHES (nonexistent)
@@ -1,15 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-clang-gnu-triple.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-clang-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-clangd-riscv64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-compiler-rt-synonyms.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-lldb-riscv64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-lldb-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-64bit-atomic.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-pass-variables.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-llvm-versioning.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-polly-hack.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-13.0.0-python3.patch -p0
-
Index: llvm/13.0.0/config/config.h
===================================================================
--- llvm/13.0.0/config/config.h (revision 384)
+++ llvm/13.0.0/config/config.h (nonexistent)
@@ -1,10 +0,0 @@
-
-#include <bits/wordsize.h>
-
-#if __WORDSIZE == 32
-#include "config-32.h"
-#elif __WORDSIZE == 64
-#include "config-64.h"
-#else
-#error "Unknown word size"
-#endif
Index: llvm/13.0.0/config/llvm-config.h
===================================================================
--- llvm/13.0.0/config/llvm-config.h (revision 384)
+++ llvm/13.0.0/config/llvm-config.h (nonexistent)
@@ -1,10 +0,0 @@
-
-#include <bits/wordsize.h>
-
-#if __WORDSIZE == 32
-#include "llvm-config-32.h"
-#elif __WORDSIZE == 64
-#include "llvm-config-64.h"
-#else
-#error "Unknown word size"
-#endif
Index: llvm/13.0.0/config
===================================================================
--- llvm/13.0.0/config (revision 384)
+++ llvm/13.0.0/config (nonexistent)
Property changes on: llvm/13.0.0/config
___________________________________________________________________
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: llvm/13.0.0/Makefile
===================================================================
--- llvm/13.0.0/Makefile (revision 384)
+++ llvm/13.0.0/Makefile (nonexistent)
@@ -1,618 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-COMPONENT_TARGETS += $(HARDWARE_CB1X)
-COMPONENT_TARGETS += $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-COMPONENT_TARGETS += $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-COMPONENT_TARGETS += $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
-COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-COMPONENT_TARGETS += $(HARDWARE_CI20)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
-COMPONENT_TARGETS += $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
-
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-NOT_PARALLEL = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/d/llvm
-
-REQUIRES = dev/gcc/12.2.0
-REQUIRES += libs/libffi/3.4.4
-REQUIRES += libs/elfutils/0.187
-REQUIRES += libs/libxml2/2.9.9
-REQUIRES += libs/libedit/20191231-3.1
-REQUIRES += libs/ncurses/6.3
-REQUIRES += dev/python2/2.7.18
-REQUIRES += dev/python3/3.10.8
-REQUIRES += dev/lua/5.4.2
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 13.0.0
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
-src_dir_name = llvm-$(version)
-doc_dir_name = llvm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-config_dir = $(CURDIR)/config
-
-PATCHES = PATCHES
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
-OPT_PATCHES = PATCHES.p5600
-endif
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LLVM_PKG_NAME = llvm
-LLVM_PKG_VERSION = 13.0.0
-LLVM_PKG_ARCH = $(PKGARCH)
-LLVM_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LLVM_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LLVM_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LLVM_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
-LLVM_PKG_URL = $(BUG_URL)
-LLVM_PKG_LICENSE = custom
-LLVM_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_PKG_NAME)-pkg-description
-LLVM_PKG_DESCRIPTION_FILE_IN = $(LLVM_PKG_NAME)-pkg-description.in
-LLVM_PKG_INSTALL_SCRIPT = $(LLVM_PKG_NAME)-pkg-install.sh
-
-LLVM_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_PKG_NAME)-package
-
-pkg_basename = $(LLVM_PKG_NAME)-$(LLVM_PKG_VERSION)-$(LLVM_PKG_ARCH)-$(LLVM_PKG_DISTRO_NAME)-$(LLVM_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LLVM_PKG)
-
-
-JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
-LLVM_JOBS := -j$(JOBS) -l$(JOBS)
-
-
-TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
-TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
-
-
-CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
-CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-extra
-CC_NO_WARNINGS += -Wno-uninitialized -Wno-type-limits -Wno-unused-variable -Wno-return-type
-
-CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
-CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-extra
-CXX_NO_WARNINGS += -Wno-uninitialized -Wno-type-limits -Wno-unused-variable -Wno-return-type
-
-
-configure_switches = -DBUG_REPORT_URL='https://llvm.org'
-
-configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
-configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
-#
-# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
-# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
-# practice for GNU Assembler. GNU AS compiler doesn't understand
-# options like -D_GNU_SOURCE .
-#
-configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
-
-configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
-configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
-configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
-configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
-configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
-configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
-configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
-configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
-
-configure_switches += -DCMAKE_C_FLAGS:STRING='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
-configure_switches += -DCMAKE_CXX_FLAGS:STRING='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
- $(TOOLCHAIN_P5600_GLIBC)),)
-explicit_atomic = -latomic
-else
-explicit_atomic =
-endif
-
-configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
-
-configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
-configure_switches += -DCMAKE_SKIP_RPATH=YES
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
-configure_switches += -DCMAKE_C_FLAGS_RELEASE='-O2 -DNDEBUG'
-configure_switches += -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG'
-configure_switches += -DCMAKE_ASM_FLAGS_RELEASE='-O2 -DNDEBUG'
-endif
-
-configure_switches += -DLLVM_CCACHE_BUILD=ON
-configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
-configure_switches += -DLLVM_CCACHE_DIR:STRING='$(CACHED_CC_OUTPUT)'
-configure_switches += -DLLVM_CCACHE_PARAMS:STRING='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
-
-configure_switches += -DCMAKE_SYSTEM_NAME:STRING='Linux'
-
-configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
-configure_switches += -DCMAKE_INSTALL_BINDIR=bin
-configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(LIBSUFFIX)
-configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec
-configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
-configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
-
-configure_switches += -DLLVM_LIBDIR_SUFFIX=$(LIBSUFFIX)
-configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(LIBSUFFIX)
-configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(LIBSUFFIX)
-configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(LIBSUFFIX)
-
-configure_switches += -DCMAKE_BUILD_TYPE=Release
-configure_switches += -DBUILD_SHARED_LIBS=ON
-configure_switches += -DLLVM_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DLIBCXX_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_ZLIB=ON
-configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
-
-configure_switches += -DLLVM_INSTALL_UTILS=ON
-
-configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
-configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
-configure_switches += -DLLDB_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
-configure_switches += -DCLANG_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_BUILD_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_TESTS=OFF
-
-configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
-configure_switches += -DLLVM_ENABLE_PIC=ON
-
-configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCLANG_RESOURCE_DIR='../lib$(LIBSUFFIX)/clang/$(version)'
-configure_switches += -DLLVM_TARGETS_TO_BUILD='host;AMDGPU;BPF'
-configure_switches += -DLLDB_USE_SYSTEM_SIX=1
-
-#
-# libunwind:
-#
-configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
-configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
-
-
-#
-# Settings:
-#
-__ENABLE_CLANGD__ = yes
-__ENABLE_LLDB_SERVER__ = yes
-
-__ENABLE_LIBUNWIND__ = no
-__ENABLE_OPENMP__ = yes
-
-#
-# Configuring:
-#
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
- $(TOOLCHAIN_P5600_GLIBC) \
- $(TOOLCHAIN_RISCV64_GLIBC)),)
-__ENABLE_LLDB_SERVER__ = no
-endif
-
-#
-# Evaluation:
-#
-ifeq ($(__ENABLE_CLANGD__),yes)
-clangd = ON
-else
-clangd = OFF
-endif
-ifeq ($(__ENABLE_LLDB_SERVER__),yes)
-lldb-server = ON
-else
-lldb-server = OFF
-endif
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
-libunwind = ;libunwind
-else
-libunwind =
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
-openmp = ;openmp
-else
-openmp =
-endif
-
-
-configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;libcxx;libcxxabi;lldb;lld;compiler-rt;polly$(openmp)$(libunwind)'
-
-configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
-configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
-
-
-PYTHON_VERSION = 3.10
-
-configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
-configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
-configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libpython$(PYTHON_VERSION).so
-
-configure_switches += -DLLDB_ENABLE_PYTHON=On
-configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
-
-configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libz.so
-
-configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/liblzma.so
-
-configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
-configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libxml2.so
-
-configure_switches += -DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=False
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libelf.so
-
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)
-configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libffi.so
-
-configure_switches += -DLLDB_ENABLE_LUA=ON
-configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/liblua.so
-configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libm.so
-
-configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_TERMINFO=ON
-
-configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
-configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
-
-configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libcursesw.so
-configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libformw.so
-configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libncursesw.so
-configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libpanelw.so
-
-configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libncursesw.so
-configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
-
-configure_switches += -DLLDB_ENABLE_CURSES=On
-
-configure_switches += -DLLVM_BUILD_DOCS=OFF
-
-configure_switches += -DCMAKE_CROSSCOMPILING=True
-
-configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET)
-configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET)
-configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET)
-
-configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
-configure_switches += -DLLVM_CONFIG_PATH:STRING=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
-configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
-configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
-ifneq ($(OPT_PATCHES),)
- $(call apply-opt-patches, $(SRC_DIR))
-endif
- $(APPLY_PATCHES)
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(TARGET_BUILD_DIR)/build-machine
- @( cd $(TARGET_BUILD_DIR)/build-machine ; \
- cmake -Wno-dev \
- -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb' \
- -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_LIBDIR_SUFFIX=$(LIBSUFFIX) \
- -DLLVM_INCLUDE_TESTS=OFF \
- -DLLVM_CCACHE_BUILD=ON \
- -DCCACHE_PROGRAM=$(CCACHE) \
- -DLLVM_CCACHE_DIR:STRING='$(CACHED_CC_OUTPUT)' \
- -DLLVM_CCACHE_PARAMS:STRING='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
- -DCMAKE_C_FLAGS:STRING='-I/usr/include $(CC_NO_WARNINGS)' \
- -DCMAKE_CXX_FLAGS:STRING='-I/usr/include $(CXX_NO_WARNINGS)' \
- ../llvm-$(version)/llvm ; \
- ninja llvm-tblgen ; \
- ninja clang-tblgen ; \
- ninja lldb-tblgen ; \
- ninja llvm-config ; \
- )
- @mkdir -p $(build_dir)
- @( cd $(build_dir) ; \
- $(BUILD_ENVIRONMENT) \
- cmake -Wno-dev --trace-expand \
- -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
- )
- @( cd $(build_dir) ; \
- ninja $(LLVM_JOBS) all ; \
- )
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LLVM_PKG)
- @cd $(build_dir) && $(env_sysroot) ninja install
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC) \
- $(TOOLCHAIN_POWER8_GLIBC) \
- $(TOOLCHAIN_POWER9_GLIBC)),)
- @for header in config ; do \
- mv $(LLVM_PKG)/usr/include/clang/Config/$$header{,-64}.h ; \
- cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/clang/Config/$$header.h ; \
- done
- @for header in llvm-config ; do \
- mv $(LLVM_PKG)/usr/include/llvm/Config/$$header{,-64}.h ; \
- cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/llvm/Config/$$header.h ; \
- done
-endif
- @( cd $(LLVM_PKG)/usr/bin ; \
- ln -sf clang $(TARGET)-clang ; \
- ln -sf clang++ $(TARGET)-clang++ ; \
- )
- @( cd $(TARGET_BUILD_DIR)/build/bin ; \
- cp -a clang-tblgen $(LLVM_PKG)/usr/bin ; \
- )
- # ======= Install $(TARGET)-llvm-config =======
- @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
- cp -a clang-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-clang-tblgen ; \
- cp -a llvm-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-tblgen ; \
- cp -a lldb-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-lldb-tblgen ; \
- cp -a llvm-config $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-config ; \
- )
- # ======= Install clang-static-analyzer =======
- @( cd $(LLVM_PKG)/usr/bin ; \
- for i in ccc c++ ; do \
- ln -sf ../libexec/$$i-analyzer $$i-analyzer ; \
- done ; \
- )
- # ======= Remove bundled python-six =======
- @rm -f $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
- # ======= Install Python bindings =======
- @mkdir -p $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages
- @$(PYTHON2) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages/clang
- @$(PYTHON2) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages/clang
- # ======= Install Python3 bindings =======
- @mkdir -p $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- # ======= Compile bindings by Python3 =======
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/clang
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/clang
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/opt-viewer
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/opt-viewer
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/scan-view
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/scan-view
- # ======= Install Documentation =======
- @( cd $(LLVM_PKG)/usr/share/man/man1 ; \
- chmod 644 *.1 ; \
- )
- @if [ -d $(LLVM_PKG)/usr/share/man ] ; then \
- ( cd $(LLVM_PKG)/usr/share/man ; \
- for manpagedir in `find . -type d -name "man*"` ; do \
- ( cd $$manpagedir ; \
- for eachpage in `find . -type l -maxdepth 1` ; do \
- ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
- rm $$eachpage ; \
- done ; \
- gzip -9 *.? ; \
- ) \
- done \
- ) \
- fi
- # ======= Install Licenses only into /usr/doc =======
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/{clang,clang-tools-extra,compiler-rt}
- @( cd $(SRC_DIR) ; \
- cp -a clang/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/clang ; \
- cp -a clang-tools-extra/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/clang-tools-extra ; \
- cp -a compiler-rt/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/compiler-rt ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lld
- @( cd $(SRC_DIR) ; cp -a lld/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lld ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lldb
- @( cd $(SRC_DIR) ; cp -a lldb/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lldb ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/llvm
- @( cd $(SRC_DIR) ; cp -a llvm/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/llvm ; \
- )
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/libunwind
- @( cd $(SRC_DIR) ; cp -a libunwind/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/libunwind ; \
- )
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/openmp
- @( cd $(SRC_DIR) ; cp -a openmp/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/openmp ; \
- )
-endif
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/polly
- @( cd $(SRC_DIR) ; cp -a polly/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/polly ; \
- )
- # ======= Install README files into /usr/share/doc =======
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/{clang,clang-tools-extra,compiler-rt}
- @( cd $(SRC_DIR) ; \
- cp -a {CONTRIBUTING,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name) ; \
- cp -a clang/{CODE_OWNERS,INSTALL,LICENSE,NOTES,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/clang ; \
- cp -a clang-tools-extra/{CODE_OWNERS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/clang-tools-extra ; \
- cp -a compiler-rt/{CODE_OWNERS,CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/compiler-rt ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lld
- @( cd $(SRC_DIR) ; cp -a lld/{CODE_OWNERS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lld ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lldb
- @( cd $(SRC_DIR) ; cp -a lldb/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lldb ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/llvm
- @( cd $(SRC_DIR) ; cp -a llvm/{CODE_OWNERS,CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/llvm ; \
- )
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/libunwind
- @( cd $(SRC_DIR) ; cp -a libunwind/{LICENSE}* \
- libunwind/docs/{BuildingLibunwind,README,index}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/libunwind ; \
- )
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/openmp
- @( cd $(SRC_DIR) ; cp -a openmp/{CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/openmp ; \
- )
-endif
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/polly
- @( cd $(SRC_DIR) ; cp -a polly/{CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/polly ; \
- )
- # ======= Install ChangeLog if exists =======
- @( cd $(SRC_DIR) ; \
- if [ -r ChangeLog ]; then \
- DOCSDIR=`echo $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)` ; \
- cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
- touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
- fi \
- )
- # ======= Remove build-dir from cmake files =======
- @( cd $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LLVM_PKG))
- # ======= Remove $(TARGET)-llvm-config from target package =======
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-clang-tblgen
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-tblgen
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-lldb-tblgen
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-config
- # ======= Strip Binaries =======
- @( cd $(LLVM_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(LLVM_PKG_DESCRIPTION_FILE): $(LLVM_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): $(install_target) $(LLVM_PKG_DESCRIPTION_FILE) $(LLVM_PKG_INSTALL_SCRIPT)
- @cp $(LLVM_PKG_DESCRIPTION_FILE) $(LLVM_PKG)/.DESCRIPTION
- @cp $(LLVM_PKG_INSTALL_SCRIPT) $(LLVM_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LLVM_PKG)/.REQUIRES
- @echo "pkgname=$(LLVM_PKG_NAME)" > $(LLVM_PKG)/.PKGINFO ; \
- echo "pkgver=$(LLVM_PKG_VERSION)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "arch=$(LLVM_PKG_ARCH)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "distroname=$(LLVM_PKG_DISTRO_NAME)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "distrover=$(LLVM_PKG_DISTRO_VERSION)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "group=$(LLVM_PKG_GROUP)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LLVM_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "url=$(LLVM_PKG_URL)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "license=$(LLVM_PKG_LICENSE)" >> $(LLVM_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LLVM_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/13.0.0/llvm-pkg-description.in
===================================================================
--- llvm/13.0.0/llvm-pkg-description.in (revision 384)
+++ llvm/13.0.0/llvm-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------------------------------------------------------|
-llvm: llvm @VERSION@ (LLVM compiler toolkit)
-llvm:
-llvm: Low Level Virtual Machine is a toolkit for the construction of
-llvm: highly optimized compilers, optimizers, and runtime environments.
-llvm:
-llvm: This package also includes the clang frontend for the C family of
-llvm: languages: C, C++, Objective-C, and Objective-C++
-llvm:
-llvm: Homepage: http://llvm.org
-llvm:
-llvm:
Index: llvm/13.0.0
===================================================================
--- llvm/13.0.0 (revision 384)
+++ llvm/13.0.0 (nonexistent)
Property changes on: llvm/13.0.0
___________________________________________________________________
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: llvm/15.0.4/llvm-pkg-install.sh
===================================================================
--- llvm/15.0.4/llvm-pkg-install.sh (revision 384)
+++ llvm/15.0.4/llvm-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: llvm/15.0.4/llvm-pkg-install.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: llvm/15.0.4/PATCHES.p5600
===================================================================
--- llvm/15.0.4/PATCHES.p5600 (revision 384)
+++ llvm/15.0.4/PATCHES.p5600 (nonexistent)
@@ -1,3 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-p5600.patch -p0
-
Index: llvm/15.0.4/PATCHES
===================================================================
--- llvm/15.0.4/PATCHES (revision 384)
+++ llvm/15.0.4/PATCHES (nonexistent)
@@ -1,18 +0,0 @@
-
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-clang-gnu-triple.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-clang-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-clangd-riscv64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-synonyms.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-compiler-rt-mips.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-riscv64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-set-revision.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-64bit-atomic.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-ppc64.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-versioning.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-llvm-install-symlink.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-lldb-lua-version.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-openmp-perl.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-polly-hack.patch -p0
-../../../sources/packages/d/llvm/patches/llvm-15.0.4-python3.patch -p0
-
Index: llvm/15.0.4/config/Config.h
===================================================================
--- llvm/15.0.4/config/Config.h (revision 384)
+++ llvm/15.0.4/config/Config.h (nonexistent)
@@ -1,10 +0,0 @@
-
-#include <bits/wordsize.h>
-
-#if __WORDSIZE == 32
-#include "Config-32.h"
-#elif __WORDSIZE == 64
-#include "Config-64.h"
-#else
-#error "Unknown word size"
-#endif
Index: llvm/15.0.4/config/config.h
===================================================================
--- llvm/15.0.4/config/config.h (revision 384)
+++ llvm/15.0.4/config/config.h (nonexistent)
@@ -1,10 +0,0 @@
-
-#include <bits/wordsize.h>
-
-#if __WORDSIZE == 32
-#include "config-32.h"
-#elif __WORDSIZE == 64
-#include "config-64.h"
-#else
-#error "Unknown word size"
-#endif
Index: llvm/15.0.4/config/llvm-config.h
===================================================================
--- llvm/15.0.4/config/llvm-config.h (revision 384)
+++ llvm/15.0.4/config/llvm-config.h (nonexistent)
@@ -1,10 +0,0 @@
-
-#include <bits/wordsize.h>
-
-#if __WORDSIZE == 32
-#include "llvm-config-32.h"
-#elif __WORDSIZE == 64
-#include "llvm-config-64.h"
-#else
-#error "Unknown word size"
-#endif
Index: llvm/15.0.4/config
===================================================================
--- llvm/15.0.4/config (revision 384)
+++ llvm/15.0.4/config (nonexistent)
Property changes on: llvm/15.0.4/config
___________________________________________________________________
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: llvm/15.0.4/Makefile
===================================================================
--- llvm/15.0.4/Makefile (revision 384)
+++ llvm/15.0.4/Makefile (nonexistent)
@@ -1,781 +0,0 @@
-
-COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
-COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
-COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
-COMPONENT_TARGETS += $(HARDWARE_CB1X)
-COMPONENT_TARGETS += $(HARDWARE_CB2X)
-COMPONENT_TARGETS += $(HARDWARE_CB3X)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
-COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
-COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
-COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
-COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
-COMPONENT_TARGETS += $(HARDWARE_POIN2)
-COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
-COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
-COMPONENT_TARGETS += $(HARDWARE_M201)
-COMPONENT_TARGETS += $(HARDWARE_MXV)
-COMPONENT_TARGETS += $(HARDWARE_P201)
-COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
-COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
-COMPONENT_TARGETS += $(HARDWARE_P212)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
-COMPONENT_TARGETS += $(HARDWARE_Q201)
-COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
-COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
-COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
-COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
-COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
-COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
-COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
-COMPONENT_TARGETS += $(HARDWARE_CI20)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
-COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
-COMPONENT_TARGETS += $(HARDWARE_S824L)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN)
-COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
-COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
-COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
-COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
-
-
-NEED_ABS_PATH = true
-COMPONENT_IS_3PP = true
-
-
-include ../../../build-system/constants.mk
-
-
-SOURCE_REQUIRES = sources/packages/d/llvm
-
-REQUIRES = dev/gcc/12.2.0
-REQUIRES += libs/libffi/3.4.4
-REQUIRES += libs/elfutils/0.187
-REQUIRES += libs/libxml2/2.9.9
-REQUIRES += libs/libedit/20191231-3.1
-REQUIRES += libs/ncurses/6.3
-REQUIRES += dev/python2/2.7.18
-REQUIRES += dev/python3/3.10.8
-REQUIRES += dev/lua/5.4.2
-
-# ======= __END_OF_REQUIRES__ =======
-
-
-version = 15.0.4
-tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
-SRC_ARCHIVE = $(tar_xz_archive)
-SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
-src_dir_name = llvm-$(version)
-doc_dir_name = llvm-$(version)
-src_done = $(TARGET_BUILD_DIR)/.source_done
-
-config_dir = $(CURDIR)/config
-
-PATCHES = PATCHES
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
-OPT_PATCHES = PATCHES.p5600
-endif
-
-build_dir = $(TARGET_BUILD_DIR)/build
-build_target = $(TARGET_BUILD_DIR)/.build_done
-install_target = $(TARGET_BUILD_DIR)/.install_done
-
-
-####### Targets
-
-PKG_GROUP = dev
-
-#
-# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
-#
-LLVM_PKG_NAME = llvm
-LLVM_PKG_VERSION = 15.0.4
-LLVM_PKG_ARCH = $(PKGARCH)
-LLVM_PKG_DISTRO_NAME = $(DISTRO_NAME)
-LLVM_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
-LLVM_PKG_GROUP = $(PKG_GROUP)
-### |---handy-ruler-------------------------------|
-LLVM_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
-LLVM_PKG_URL = $(BUG_URL)
-LLVM_PKG_LICENSE = custom
-LLVM_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_PKG_NAME)-pkg-description
-LLVM_PKG_DESCRIPTION_FILE_IN = $(LLVM_PKG_NAME)-pkg-description.in
-LLVM_PKG_INSTALL_SCRIPT = $(LLVM_PKG_NAME)-pkg-install.sh
-
-LLVM_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_PKG_NAME)-package
-
-pkg_basename = $(LLVM_PKG_NAME)-$(LLVM_PKG_VERSION)-$(LLVM_PKG_ARCH)-$(LLVM_PKG_DISTRO_NAME)-$(LLVM_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_target)
-BUILD_TARGETS += $(install_target)
-
-PRODUCT_TARGETS = $(products)
-
-ROOTFS_TARGETS = $(pkg_archive)
-
-
-include ../../../build-system/core.mk
-
-
-env_sysroot = DESTDIR=$(LLVM_PKG)
-
-
-JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
-LLVM_JOBS := -j$(JOBS) -l$(JOBS)
-
-
-TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
-TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
-
-BUILD_BIN_RPATH = /lib$(BUILD_MULTILIB_SUFFIX):/usr/lib$(BUILD_MULTILIB_SUFFIX)
-
-
-CFLAGS += -flarge-source-files
-
-CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
-CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes
-CC_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
-CC_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
-CC_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow
-
-CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
-CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format-overflow -Wno-unused-but-set-variable
-CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
-CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
-CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes
-CXX_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
-CXX_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
-CXX_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow -Wno-nonnull -Wno-dangling-pointer
-CXX_NO_WARNINGS += -Wno-alloc-size-larger-than -Wno-missing-attributes -Wno-free-nonheap-object
-CXX_NO_WARNINGS += -Wno-variadic-macros -Wno-format-nonliteral -Wno-parentheses -Wno-sized-deallocation
-CXX_NO_WARNINGS += -Wno-overflow -Wno-builtin-declaration-mismatch -Wno-prio-ctor-dtor
-
-
-configure_switches = -DBUG_REPORT_URL='https://llvm.org'
-
-configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
-configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
-#
-# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
-# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
-# practice for GNU Assembler. GNU AS compiler doesn't understand
-# options like -D_GNU_SOURCE .
-#
-configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
-
-configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
-configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
-configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
-configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
-configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
-configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
-configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
-configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
-
-configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
-configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
- $(TOOLCHAIN_P5600_GLIBC) \
- $(TOOLCHAIN_RISCV64_GLIBC)),)
-explicit_atomic = -latomic
-else
-explicit_atomic =
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
- $(TOOLCHAIN_P5600_GLIBC)),)
-configure_switches += -DLIBOMP_LIBFLAGS='-latomic'
-endif
-
-configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
-configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
-
-configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
-configure_switches += -DCMAKE_SKIP_RPATH=YES
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
-configure_switches += -DCMAKE_C_FLAGS_RELEASE='-O2 -DNDEBUG'
-configure_switches += -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG'
-configure_switches += -DCMAKE_ASM_FLAGS_RELEASE='-O2 -DNDEBUG'
-endif
-
-configure_switches += -DLLVM_CCACHE_BUILD=ON
-configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
-configure_switches += -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)'
-configure_switches += -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
-
-configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
-configure_switches += -DCMAKE_INSTALL_BINDIR=bin
-configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(LIBSUFFIX)
-configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec
-configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
-configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
-
-configure_switches += -DLLVM_LIBDIR_SUFFIX=$(LIBSUFFIX)
-configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(LIBSUFFIX)
-configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(LIBSUFFIX)
-configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(LIBSUFFIX)
-configure_switches += -DLLDB_LUA_RELATIVE_PATH=lib$(LIBSUFFIX)/lua/5.4
-
-configure_switches += -DCMAKE_BUILD_TYPE=Release
-configure_switches += -DBUILD_SHARED_LIBS=ON
-configure_switches += -DLLVM_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DLIBCXX_ENABLE_RTTI=ON
-configure_switches += -DLLVM_ENABLE_ZLIB=ON
-configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBOMP_ENABLE_ASSERTIONS=OFF
-
-configure_switches += -DLLVM_INSTALL_UTILS=ON
-
-configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
-configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
-configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
-configure_switches += -DLLDB_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
-configure_switches += -DCLANG_INCLUDE_TESTS=OFF
-configure_switches += -DLLVM_BUILD_TESTS=OFF
-configure_switches += -DLLVM_INCLUDE_TESTS=OFF
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
-configure_switches += -DLLVM_ENABLE_PIC=ON
-endif
-
-#
-# Libc++ 15.0.0 looze std::__1::basic_string symbol during build shared library for ARM 32-bit:
-# ============================================================================================
-#
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC) \
- $(TOOLCHAIN_H3_GLIBC) $(TOOLCHAIN_RK328X_GLIBC) \
- $(TOOLCHAIN_S8XX_GLIBC) $(TOOLCHAIN_IMX6_GLIBC) \
- $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
-configure_switches += -DLIBCXXABI_ENABLE_SHARED=OFF
-configure_switches += -DLIBCXX_ENABLE_SHARED=OFF
-endif
-
-configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCLANG_RESOURCE_DIR='../lib$(LIBSUFFIX)/clang/$(version)'
-configure_switches += -DLLDB_USE_SYSTEM_SIX=1
-
-#
-# libunwind:
-#
-configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
-configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
-configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
-
-
-#
-# Settings:
-#
-__ENABLE_CLANGD__ = yes
-__ENABLE_LLDB_SERVER__ = yes
-
-__ENABLE_LIBUNWIND__ = no
-__ENABLE_OPENMP__ = yes
-
-
-__ENABLE_AMDGPU__ = yes
-__ENABLE_BPF__ = yes
-
-#
-# Configuring:
-#
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
- $(TOOLCHAIN_P5600_GLIBC) \
- $(TOOLCHAIN_RISCV64_GLIBC)),)
-__ENABLE_LLDB_SERVER__ = no
-endif
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
-configure_switches += -DLIBOMPTARGET_BUILD_AMDGPU_PLUGIN=OFF
-configure_switches += -DLIBOMPTARGET_BUILD_CUDA_PLUGIN=OFF
-endif
-
-#
-# Evaluation:
-#
-ifeq ($(__ENABLE_CLANGD__),yes)
-clangd = ON
-else
-clangd = OFF
-endif
-ifeq ($(__ENABLE_LLDB_SERVER__),yes)
-lldb-server = ON
-else
-lldb-server = OFF
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
-openmp = openmp
-else
-openmp =
-endif
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
-libunwind = libunwind
-else
-libunwind =
-endif
-
-ifeq ($(__ENABLE_AMDGPU__),yes)
-amdgpu = AMDGPU
-else
-amdgpu =
-endif
-ifeq ($(__ENABLE_BPF__),yes)
-bpf = BPF
-else
-bpf =
-endif
-
-#
-# Available progects:
-# bolt;clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;polly;pstl;flang
-#
-# Available runtimes:
-# compiler-rt;libc;libcxx;libcxxabi;libunwind;openmp
-#
-
-configure_switches += -DLLVM_TARGETS_TO_BUILD='host;$(amdgpu);$(bpf)'
-
-configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;compiler-rt;libcxx;libcxxabi;lld;lldb;mlir;polly;pstl'
-configure_switches += -DLLVM_ENABLE_RUNTIMES='$(openmp);$(libunwind)'
-
-configure_switches += -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF
-
-configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
-configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
-
-
-PYTHON_VERSION = 3.10
-
-configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
-configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
-configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libpython$(PYTHON_VERSION).so
-
-configure_switches += -DPERL_EXECUTABLE=$(PERL)
-configure_switches += -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config
-
-configure_switches += -DLLDB_ENABLE_PYTHON=On
-configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
-configure_switches += -DLLDB_PYTHON_EXE_RELATIVE_PATH=$(PYTHON3)
-configure_switches += -DLLDB_PYTHON_EXT_SUFFIX='.so'
-
-configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libz.so
-
-configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/liblzma.so
-
-configure_switches += -Dzstd_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -Dzstd_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libzstd.so
-
-configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
-configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libxml2.so
-
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libelf.so
-
-configure_switches += -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libffi.so
-
-configure_switches += -DLLVM_ENABLE_FFI=ON
-configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)
-configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libffi.so
-configure_switches += -DFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libffi.so
-
-configure_switches += -DLLDB_ENABLE_LUA=ON
-configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/liblua.so
-configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libm.so
-
-configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
-configure_switches += -DLLVM_ENABLE_TERMINFO=ON
-
-configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
-configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
-configure_switches += -DTerminfo_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
-
-configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libcursesw.so
-configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libformw.so
-configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
-configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libncursesw.so
-configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libpanelw.so
-
-configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libncursesw.so
-configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
-
-configure_switches += -DLLDB_ENABLE_CURSES=On
-
-configure_switches += -DLLVM_BUILD_DOCS=OFF
-
-configure_switches += -DCMAKE_CROSSCOMPILING=True
-
-configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET)
-configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET)
-configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET)
-
-configure_switches += -DLLVM_BUILD_LLVM_DYLIB=ON
-
-configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
-configure_switches += -DLLVM_CONFIG_PATH=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
-configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
-configure_switches += -DCLANG_PSEUDO_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-pseudo-gen
-configure_switches += -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tidy-confusable-chars-gen
-configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
-configure_switches += -DMLIR_LINALG_ODS_YAML_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-linalg-ods-yaml-gen
-configure_switches += -DMLIR_PDLL_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-pdll
-configure_switches += -DMLIR_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-tblgen
-
-
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC) \
- $(TOOLCHAIN_H3_GLIBC) $(TOOLCHAIN_RK328X_GLIBC) \
- $(TOOLCHAIN_S8XX_GLIBC) $(TOOLCHAIN_IMX6_GLIBC) \
- $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
-llvm-config-targets = ARM
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
- $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_S9XX_GLIBC) \
- $(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC)),)
-llvm-config-targets = AArch64
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
-llvm-config-targets = Mips
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
-llvm-config-targets = PowerPC
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
-llvm-config-targets = PowerPC
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-llvm-config-targets = RISCV
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
-llvm-config-targets = X86
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-llvm-config-targets = X86
-endif
-
-
-#
-# NOTE:
-# ====
-#
-# CMAKE_SYSTEM_PROCESSOR cannot be defined by command line option:
-#
-toolchain-file = $(CURDIR)/$(TARGET_BUILD_DIR)/toolchain.cmake
-
-configure_switches += -DCMAKE_TOOLCHAIN_FILE=$(toolchain-file)
-
-cpu_arch = $(word 1,$(subst -, ,$(TARGET)))
-
-
-####### Dependencies
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
- $(UNPACK_SRC_ARCHIVE)
-ifneq ($(OPT_PATCHES),)
- $(call apply-opt-patches, $(SRC_DIR))
-endif
- $(APPLY_PATCHES)
- @echo "set(CMAKE_SYSTEM_NAME Linux)" > $(toolchain-file)
- @echo "set(CMAKE_SYSTEM_PROCESSOR $(cpu_arch))" >> $(toolchain-file)
- @echo "set(CMAKE_SYSROOT $(TARGET_DEST_DIR))" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $(toolchain-file)
- @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $(toolchain-file)
- @touch $@
-
-$(build_target): $(src_done)
- @mkdir -p $(TARGET_BUILD_DIR)/build-machine
- @( cd $(TARGET_BUILD_DIR)/build-machine ; \
- cmake -Wno-dev \
- -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb;clang-tools-extra;mlir' \
- -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_LIBDIR_SUFFIX=$(LIBSUFFIX) \
- -DLLVM_TARGETS_TO_BUILD='$(llvm-config-targets);$(amdgpu);$(bpf)' \
- -DLLVM_BUILD_LLVM_DYLIB=ON \
- -DLLVM_ENABLE_RTTI=ON \
- -DLLVM_INCLUDE_TESTS=OFF \
- -DLLVM_CCACHE_BUILD=ON \
- -DCCACHE_PROGRAM=$(CCACHE) \
- -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)' \
- -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
- -DCMAKE_SKIP_INSTALL_RPATH=YES \
- -DCMAKE_SKIP_RPATH=YES \
- -DCMAKE_EXE_LINKER_FLAGS='-Wl,-rpath,$(BUILD_BIN_RPATH) -L/lib$(BUILD_MULTILIB_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_SUFFIX)' \
- -DCMAKE_C_FLAGS='-I/usr/include -flarge-source-files $(CC_NO_WARNINGS)' \
- -DCMAKE_CXX_FLAGS='-I/usr/include -flarge-source-files $(CXX_NO_WARNINGS)' \
- ../llvm-$(version)/llvm ; \
- ninja llvm-tblgen ; \
- ninja clang-tblgen ; \
- ninja clang-pseudo-gen ; \
- ninja clang-tidy-confusable-chars-gen ; \
- ninja lldb-tblgen ; \
- ninja llvm-config ; \
- ninja mlir-linalg-ods-yaml-gen ; \
- ninja mlir-pdll ; \
- ninja mlir-tblgen ; \
- )
- @mkdir -p $(build_dir)
- @( cd $(build_dir) ; \
- $(BUILD_ENVIRONMENT) \
- cmake -Wno-dev --trace-expand \
- -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
- )
- @( cd $(build_dir) ; \
- ninja $(LLVM_JOBS) all ; \
- )
- @touch $@
-
-$(install_target): $(build_target)
- @mkdir -p $(LLVM_PKG)
- @cd $(build_dir) && $(env_sysroot) ninja install
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC) \
- $(TOOLCHAIN_POWER8_GLIBC) \
- $(TOOLCHAIN_POWER9_GLIBC)),)
- @for header in config ; do \
- mv $(LLVM_PKG)/usr/include/clang/Config/$$header{,-64}.h ; \
- cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/clang/Config/$$header.h ; \
- done
- @for header in Config ; do \
- mv $(LLVM_PKG)/usr/include/lldb/Host/$$header{,-64}.h ; \
- cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/lldb/Host/$$header.h ; \
- done
- @for header in llvm-config ; do \
- mv $(LLVM_PKG)/usr/include/llvm/Config/$$header{,-64}.h ; \
- cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/llvm/Config/$$header.h ; \
- done
-endif
- @( cd $(LLVM_PKG)/usr/bin ; \
- ln -sf clang $(TARGET)-clang ; \
- ln -sf clang++ $(TARGET)-clang++ ; \
- )
- @( cd $(TARGET_BUILD_DIR)/build/bin ; \
- cp -a clang-tblgen $(LLVM_PKG)/usr/bin ; \
- )
- # ======= Install $(TARGET)-llvm-config =======
- @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
- cp -a clang-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-clang-tblgen ; \
- cp -a llvm-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-tblgen ; \
- cp -a lldb-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-lldb-tblgen ; \
- cp -a llvm-config $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-config ; \
- )
- # ======= Install clang-static-analyzer =======
- @( cd $(LLVM_PKG)/usr/bin ; \
- for i in ccc c++ ; do \
- ln -sf ../libexec/$$i-analyzer $$i-analyzer ; \
- done ; \
- )
- # ======= Remove bundled python-six =======
- @rm -f $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
- # ======= Install Python bindings =======
- @mkdir -p $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages
- @$(PYTHON2) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages/clang
- @$(PYTHON2) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages/clang
- # ======= Install Python3 bindings =======
- @mkdir -p $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
- @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
- # ======= Compile bindings by Python3 =======
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/clang
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/clang
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/opt-viewer
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/opt-viewer
- @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/scan-view
- @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/scan-view
- # ======= Install Documentation =======
- @( cd $(LLVM_PKG)/usr/share/man/man1 ; \
- chmod 644 *.1 ; \
- )
- @if [ -d $(LLVM_PKG)/usr/share/man ] ; then \
- ( cd $(LLVM_PKG)/usr/share/man ; \
- for manpagedir in `find . -type d -name "man*"` ; do \
- ( cd $$manpagedir ; \
- for eachpage in `find . -type l -maxdepth 1` ; do \
- ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
- rm $$eachpage ; \
- done ; \
- gzip -9 *.? ; \
- ) \
- done \
- ) \
- fi
- # ======= Install Licenses only into /usr/doc =======
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/{clang,clang-tools-extra,compiler-rt}
- @( cd $(SRC_DIR) ; \
- cp -a clang/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/clang ; \
- cp -a clang-tools-extra/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/clang-tools-extra ; \
- cp -a compiler-rt/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/compiler-rt ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lld
- @( cd $(SRC_DIR) ; cp -a lld/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lld ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lldb
- @( cd $(SRC_DIR) ; cp -a lldb/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lldb ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/llvm
- @( cd $(SRC_DIR) ; cp -a llvm/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/llvm ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/mlir
- @( cd $(SRC_DIR) ; cp -a mlir/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/mlir ; \
- )
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/libunwind
- @( cd $(SRC_DIR) ; cp -a libunwind/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/libunwind ; \
- )
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/openmp
- @( cd $(SRC_DIR) ; cp -a openmp/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/openmp ; \
- )
-endif
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/polly
- @( cd $(SRC_DIR) ; cp -a polly/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/polly ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/pstl
- @( cd $(SRC_DIR) ; cp -a pstl/LICENSE* \
- $(LLVM_PKG)/usr/doc/$(doc_dir_name)/pstl ; \
- )
- # ======= Install README files into /usr/share/doc =======
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/{clang,clang-tools-extra,compiler-rt}
- @( cd $(SRC_DIR) ; \
- cp -a {CONTRIBUTING,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name) ; \
- cp -a clang/{CODE_OWNERS,INSTALL,LICENSE,NOTES,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/clang ; \
- cp -a clang-tools-extra/{CODE_OWNERS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/clang-tools-extra ; \
- cp -a compiler-rt/{CODE_OWNERS,CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/compiler-rt ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lld
- @( cd $(SRC_DIR) ; cp -a lld/{CODE_OWNERS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lld ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lldb
- @( cd $(SRC_DIR) ; cp -a lldb/{CODE_OWNERS,LICENSE}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lldb ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/llvm
- @( cd $(SRC_DIR) ; cp -a llvm/{CODE_OWNERS,CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/llvm ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/mlir
- @( cd $(SRC_DIR) ; cp -a mlir/{LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/mlir ; \
- )
-ifeq ($(__ENABLE_LIBUNWIND__),yes)
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/libunwind
- @( cd $(SRC_DIR) ; cp -a libunwind/{LICENSE}* \
- libunwind/docs/{BuildingLibunwind,README,index}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/libunwind ; \
- )
-endif
-ifeq ($(__ENABLE_OPENMP__),yes)
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/openmp
- @( cd $(SRC_DIR) ; cp -a openmp/{CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/openmp ; \
- )
-endif
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/polly
- @( cd $(SRC_DIR) ; cp -a polly/{CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/polly ; \
- )
- @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/pstl
- @( cd $(SRC_DIR) ; cp -a pstl/{CREDITS,LICENSE,README}* \
- $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/pstl ; \
- )
- # ======= Install ChangeLog if exists =======
- @( cd $(SRC_DIR) ; \
- if [ -r ChangeLog ]; then \
- DOCSDIR=`echo $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)` ; \
- cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
- touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
- fi \
- )
- # ======= Remove build-dir from cmake files =======
- @( cd $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(build_dir)/tools/mlir/include,/usr/include,g' mlir/MLIRConfig.cmake ; \
- sed -i 's,$(CURDIR)/$(TARGET_BUILD_DIR),/usr/src,g' mlir/MLIRConfig.cmake ; \
- )
- # ======= Install the same to $(TARGET_DEST_DIR) =======
- $(call install-into-devenv, $(LLVM_PKG))
- # ======= Remove $(TARGET)-llvm-config from target package =======
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-clang-tblgen
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-tblgen
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-lldb-tblgen
- @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-config
- # ======= Strip Binaries =======
- @( cd $(LLVM_PKG) ; \
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
- )
- @touch $@
-
-$(LLVM_PKG_DESCRIPTION_FILE): $(LLVM_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): $(install_target) $(LLVM_PKG_DESCRIPTION_FILE) $(LLVM_PKG_INSTALL_SCRIPT)
- @cp $(LLVM_PKG_DESCRIPTION_FILE) $(LLVM_PKG)/.DESCRIPTION
- @cp $(LLVM_PKG_INSTALL_SCRIPT) $(LLVM_PKG)/.INSTALL
- @$(BUILD_PKG_REQUIRES) $(LLVM_PKG)/.REQUIRES
- @echo "pkgname=$(LLVM_PKG_NAME)" > $(LLVM_PKG)/.PKGINFO ; \
- echo "pkgver=$(LLVM_PKG_VERSION)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "arch=$(LLVM_PKG_ARCH)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "distroname=$(LLVM_PKG_DISTRO_NAME)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "distrover=$(LLVM_PKG_DISTRO_VERSION)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "group=$(LLVM_PKG_GROUP)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "short_description=\"$(LLVM_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "url=$(LLVM_PKG_URL)" >> $(LLVM_PKG)/.PKGINFO ; \
- echo "license=$(LLVM_PKG_LICENSE)" >> $(LLVM_PKG)/.PKGINFO
- @$(PSEUDO) sh -c "cd $(LLVM_PKG) && \
- chown -R root:root . && \
- $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/15.0.4/llvm-pkg-description.in
===================================================================
--- llvm/15.0.4/llvm-pkg-description.in (revision 384)
+++ llvm/15.0.4/llvm-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------------------------------------------------------|
-llvm: llvm @VERSION@ (LLVM compiler toolkit)
-llvm:
-llvm: Low Level Virtual Machine is a toolkit for the construction of
-llvm: highly optimized compilers, optimizers, and runtime environments.
-llvm:
-llvm: This package also includes the clang frontend for the C family of
-llvm: languages: C, C++, Objective-C, and Objective-C++
-llvm:
-llvm: Homepage: http://llvm.org
-llvm:
-llvm:
Index: llvm/15.0.4
===================================================================
--- llvm/15.0.4 (revision 384)
+++ llvm/15.0.4 (nonexistent)
Property changes on: llvm/15.0.4
___________________________________________________________________
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: llvm/16.0.2/Makefile
===================================================================
--- llvm/16.0.2/Makefile (nonexistent)
+++ llvm/16.0.2/Makefile (revision 385)
@@ -0,0 +1,796 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/llvm
+
+REQUIRES = dev/gcc/12.2.0
+REQUIRES += libs/libffi/3.4.4
+REQUIRES += libs/elfutils/0.187
+REQUIRES += libs/libxml2/2.11.4
+REQUIRES += libs/libedit/20191231-3.1
+REQUIRES += libs/ncurses/6.3
+REQUIRES += dev/python2/2.7.18
+REQUIRES += dev/python3/3.10.8
+REQUIRES += dev/lua/5.4.2
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 16.0.2
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
+src_dir_name = llvm-$(version)
+doc_dir_name = llvm-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+config_dir = $(CURDIR)/config
+
+PATCHES = PATCHES
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+OPT_PATCHES = PATCHES.jz47xx
+endif
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC))
+OPT_PATCHES = PATCHES.p5600
+endif
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+LLVM_PKG_NAME = llvm
+LLVM_PKG_VERSION = 16.0.2
+LLVM_PKG_ARCH = $(PKGARCH)
+LLVM_PKG_DISTRO_NAME = $(DISTRO_NAME)
+LLVM_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+LLVM_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+LLVM_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
+LLVM_PKG_URL = $(BUG_URL)
+LLVM_PKG_LICENSE = custom
+LLVM_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_PKG_NAME)-pkg-description
+LLVM_PKG_DESCRIPTION_FILE_IN = $(LLVM_PKG_NAME)-pkg-description.in
+LLVM_PKG_INSTALL_SCRIPT = $(LLVM_PKG_NAME)-pkg-install.sh
+
+LLVM_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_PKG_NAME)-package
+
+pkg_basename = $(LLVM_PKG_NAME)-$(LLVM_PKG_VERSION)-$(LLVM_PKG_ARCH)-$(LLVM_PKG_DISTRO_NAME)-$(LLVM_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(LLVM_PKG)
+
+
+JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
+LLVM_JOBS := -j$(JOBS) -l$(JOBS)
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+BUILD_BIN_RPATH = /lib$(BUILD_MULTILIB_SUFFIX):/usr/lib$(BUILD_MULTILIB_SUFFIX)
+
+
+CFLAGS += -flarge-source-files
+
+CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
+CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format -Wno-format-overflow -Wno-unused-but-set-variable
+CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
+CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
+CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-format-nonliteral
+CC_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
+CC_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
+CC_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow
+
+CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
+CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format -Wno-format-overflow -Wno-unused-but-set-variable
+CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
+CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
+CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-format-nonliteral
+CXX_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
+CXX_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
+CXX_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow -Wno-nonnull -Wno-dangling-pointer -Wno-extra
+CXX_NO_WARNINGS += -Wno-alloc-size-larger-than -Wno-missing-attributes -Wno-free-nonheap-object
+CXX_NO_WARNINGS += -Wno-variadic-macros -Wno-format-nonliteral -Wno-parentheses -Wno-sized-deallocation
+CXX_NO_WARNINGS += -Wno-overflow -Wno-builtin-declaration-mismatch -Wno-prio-ctor-dtor -Wno-narrowing
+
+
+configure_switches = -DBUG_REPORT_URL='https://llvm.org'
+
+configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
+configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
+#
+# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
+# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
+# practice for GNU Assembler. GNU AS compiler doesn't understand
+# options like -D_GNU_SOURCE .
+#
+configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
+
+configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
+configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
+configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
+configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
+configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
+configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
+configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
+configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
+
+configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
+configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
+ $(TOOLCHAIN_P5600_GLIBC) \
+ $(TOOLCHAIN_RISCV64_GLIBC)),)
+explicit_atomic = -latomic
+else
+explicit_atomic =
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
+ $(TOOLCHAIN_P5600_GLIBC) \
+ $(TOOLCHAIN_RISCV64_GLIBC)),)
+configure_switches += -DLIBOMP_LIBFLAGS='-latomic'
+endif
+
+configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
+configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
+configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) $(explicit_atomic)'
+
+configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
+configure_switches += -DCMAKE_SKIP_RPATH=YES
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+configure_switches += -DCMAKE_C_FLAGS_RELEASE='-O2 -DNDEBUG'
+configure_switches += -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG'
+configure_switches += -DCMAKE_ASM_FLAGS_RELEASE='-O2 -DNDEBUG'
+endif
+
+configure_switches += -DLLVM_CCACHE_BUILD=ON
+configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
+configure_switches += -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)'
+configure_switches += -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
+
+configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
+configure_switches += -DCMAKE_INSTALL_BINDIR=bin
+configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(LIBSUFFIX)
+configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec
+configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
+configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
+
+configure_switches += -DCLANG_LIBDIR_SUFFIX=$(LIBSUFFIX)
+configure_switches += -DLLVM_LIBDIR_SUFFIX=$(LIBSUFFIX)
+configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(LIBSUFFIX)
+configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(LIBSUFFIX)
+configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(LIBSUFFIX)
+configure_switches += -DLLDB_LUA_RELATIVE_PATH=lib$(LIBSUFFIX)/lua/5.4
+
+configure_switches += -DCMAKE_BUILD_TYPE=Release
+configure_switches += -DBUILD_SHARED_LIBS=ON
+configure_switches += -DLLVM_ENABLE_RTTI=ON
+configure_switches += -DLLVM_ENABLE_FFI=ON
+configure_switches += -DLIBCXX_ENABLE_RTTI=ON
+configure_switches += -DLLVM_ENABLE_ZLIB=ON
+configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBOMP_ENABLE_ASSERTIONS=OFF
+
+configure_switches += -DLLVM_INSTALL_UTILS=ON
+
+configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
+configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
+configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
+configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
+configure_switches += -DLLDB_INCLUDE_TESTS=OFF
+configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
+configure_switches += -DCLANG_INCLUDE_TESTS=OFF
+configure_switches += -DLLVM_BUILD_TESTS=OFF
+configure_switches += -DLLVM_INCLUDE_TESTS=OFF
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
+configure_switches += -DLLVM_ENABLE_PIC=ON
+endif
+
+#
+# Libc++ 15.0.0 looze std::__1::basic_string symbol during build shared library for ARM 32-bit:
+# ============================================================================================
+#
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC) \
+ $(TOOLCHAIN_H3_GLIBC) $(TOOLCHAIN_RK328X_GLIBC) \
+ $(TOOLCHAIN_S8XX_GLIBC) $(TOOLCHAIN_IMX6_GLIBC) \
+ $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
+configure_switches += -DLIBCXXABI_ENABLE_SHARED=OFF
+configure_switches += -DLIBCXX_ENABLE_SHARED=OFF
+endif
+
+configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DCLANG_RESOURCE_DIR='../lib$(LIBSUFFIX)/clang/$(version)'
+configure_switches += -DLLDB_USE_SYSTEM_SIX=1
+
+#
+# libunwind:
+#
+configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
+configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
+
+
+#
+# Settings:
+#
+__ENABLE_CLANGD__ = yes
+__ENABLE_LLDB_SERVER__ = yes
+
+__ENABLE_LIBUNWIND__ = no
+__ENABLE_OPENMP__ = no
+
+__ENABLE_AMDGPU__ = yes
+__ENABLE_BPF__ = yes
+
+#
+# Configuring:
+#
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) \
+ $(TOOLCHAIN_P5600_GLIBC)),)
+__ENABLE_LLDB_SERVER__ = no
+endif
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
+configure_switches += -DLIBOMPTARGET_BUILD_AMDGPU_PLUGIN=OFF
+configure_switches += -DLIBOMPTARGET_BUILD_CUDA_PLUGIN=OFF
+endif
+
+#
+# Evaluation:
+#
+ifeq ($(__ENABLE_CLANGD__),yes)
+clangd = ON
+else
+clangd = OFF
+endif
+ifeq ($(__ENABLE_LLDB_SERVER__),yes)
+lldb-server = ON
+else
+lldb-server = OFF
+endif
+ifeq ($(__ENABLE_OPENMP__),yes)
+openmp = ;openmp
+else
+openmp =
+endif
+ifeq ($(__ENABLE_LIBUNWIND__),yes)
+libunwind = ;libunwind
+else
+libunwind =
+endif
+
+ifeq ($(__ENABLE_AMDGPU__),yes)
+amdgpu = ;AMDGPU
+else
+amdgpu =
+endif
+ifeq ($(__ENABLE_BPF__),yes)
+bpf = ;BPF
+else
+bpf =
+endif
+
+#
+# Available progects:
+# bolt;clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;polly;pstl;flang
+#
+# Available runtimes:
+# compiler-rt;libc;libcxx;libcxxabi;libunwind;openmp
+#
+
+configure_switches += -DLLVM_TARGETS_TO_BUILD='host$(amdgpu)$(bpf)'
+
+configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;compiler-rt;lld;lldb;mlir;polly;pstl'
+configure_switches += -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi$(openmp)$(libunwind)'
+
+configure_switches += -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF
+
+configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
+configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
+
+
+PYTHON_VERSION = 3.10
+
+configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
+configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
+configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libpython$(PYTHON_VERSION).so
+
+configure_switches += -DPERL_EXECUTABLE=$(PERL)
+configure_switches += -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config
+
+configure_switches += -DLLDB_ENABLE_PYTHON=On
+configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
+configure_switches += -DLLDB_PYTHON_EXE_RELATIVE_PATH=$(PYTHON3)
+configure_switches += -DLLDB_PYTHON_EXT_SUFFIX='.so'
+
+configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libz.so
+
+configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/liblzma.so
+
+configure_switches += -Dzstd_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -Dzstd_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libzstd.so
+
+configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
+configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libxml2.so
+
+configure_switches += -DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLIBOMPTARGET_DEP_LIBELF_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libelf.so
+
+configure_switches += -DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libffi.so
+
+configure_switches += -DLLVM_ENABLE_FFI=ON
+configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)
+configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libffi.so
+configure_switches += -DFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libffi.so
+
+configure_switches += -DLLDB_ENABLE_LUA=ON
+configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/liblua.so
+configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libm.so
+
+configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
+configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
+configure_switches += -DLLVM_ENABLE_TERMINFO=ON
+
+configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
+configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
+configure_switches += -DTerminfo_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
+
+configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libcursesw.so
+configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libformw.so
+configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libncursesw.so
+configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libpanelw.so
+
+configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libncursesw.so
+configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libtinfo.so
+
+configure_switches += -DLLDB_ENABLE_CURSES=On
+
+configure_switches += -DLLVM_BUILD_DOCS=OFF
+
+configure_switches += -DCMAKE_CROSSCOMPILING=True
+
+configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET)
+configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET)
+configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET)
+
+configure_switches += -DLLVM_BUILD_LLVM_DYLIB=ON
+
+configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
+configure_switches += -DLLVM_CONFIG_PATH=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
+configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
+configure_switches += -DCLANG_PSEUDO_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-pseudo-gen
+configure_switches += -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tidy-confusable-chars-gen
+configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
+configure_switches += -DMLIR_LINALG_ODS_YAML_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-linalg-ods-yaml-gen
+configure_switches += -DMLIR_PDLL_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-pdll
+configure_switches += -DMLIR_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-tblgen
+
+configure_switches += -DOPENMP_LLVM_LIT_EXECUTABLE=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-lit
+
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC) \
+ $(TOOLCHAIN_H3_GLIBC) $(TOOLCHAIN_RK328X_GLIBC) \
+ $(TOOLCHAIN_S8XX_GLIBC) $(TOOLCHAIN_IMX6_GLIBC) \
+ $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
+llvm-config-targets = ARM
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
+ $(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC)),)
+llvm-config-targets = AArch64
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
+llvm-config-targets = Mips
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+llvm-config-targets = PowerPC
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
+llvm-config-targets = PowerPC
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+llvm-config-targets = RISCV
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
+llvm-config-targets = X86
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+llvm-config-targets = X86
+endif
+
+
+#
+# NOTE:
+# ====
+#
+# CMAKE_SYSTEM_PROCESSOR cannot be defined by command line option:
+#
+toolchain-file = $(CURDIR)/$(TARGET_BUILD_DIR)/toolchain.cmake
+
+configure_switches += -DCMAKE_TOOLCHAIN_FILE=$(toolchain-file)
+
+cpu_arch = $(word 1,$(subst -, ,$(TARGET)))
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ifneq ($(OPT_PATCHES),)
+ $(call apply-opt-patches, $(SRC_DIR))
+endif
+ $(APPLY_PATCHES)
+ @echo "set(CMAKE_SYSTEM_NAME Linux)" > $(toolchain-file)
+ @echo "set(CMAKE_SYSTEM_PROCESSOR $(cpu_arch))" >> $(toolchain-file)
+ @echo "set(CMAKE_SYSROOT $(TARGET_DEST_DIR))" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $(toolchain-file)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(TARGET_BUILD_DIR)/build-machine
+ @( cd $(TARGET_BUILD_DIR)/build-machine ; \
+ cmake -Wno-dev \
+ -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb;clang-tools-extra;mlir' \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_LIBDIR_SUFFIX=$(LIBSUFFIX) \
+ -DLLVM_TARGETS_TO_BUILD='$(llvm-config-targets);$(amdgpu);$(bpf)' \
+ -DLLVM_BUILD_LLVM_DYLIB=ON \
+ -DLLVM_ENABLE_RTTI=ON \
+ -DLLVM_INCLUDE_TESTS=OFF \
+ -DLLVM_CCACHE_BUILD=ON \
+ -DCCACHE_PROGRAM=$(CCACHE) \
+ -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)' \
+ -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
+ -DCMAKE_SKIP_INSTALL_RPATH=YES \
+ -DCMAKE_SKIP_RPATH=YES \
+ -DCMAKE_EXE_LINKER_FLAGS='-Wl,-rpath,$(BUILD_BIN_RPATH) -L/lib$(BUILD_MULTILIB_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_SUFFIX)' \
+ -DCMAKE_C_FLAGS='-I/usr/include -flarge-source-files $(CC_NO_WARNINGS)' \
+ -DCMAKE_CXX_FLAGS='-I/usr/include -flarge-source-files $(CXX_NO_WARNINGS)' \
+ ../llvm-$(version)/llvm ; \
+ ninja llvm-tblgen ; \
+ ninja clang-tblgen ; \
+ ninja clang-pseudo-gen ; \
+ ninja clang-tidy-confusable-chars-gen ; \
+ ninja lldb-tblgen ; \
+ ninja llvm-config ; \
+ ninja mlir-linalg-ods-yaml-gen ; \
+ ninja mlir-pdll ; \
+ ninja mlir-tblgen ; \
+ )
+ @mkdir -p $(build_dir)
+ @( cd $(build_dir) ; \
+ $(BUILD_ENVIRONMENT) \
+ cmake -Wno-dev --trace-expand \
+ -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
+ )
+ @( cd $(build_dir) ; \
+ ninja $(LLVM_JOBS) all ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(LLVM_PKG)
+ @cd $(build_dir) && $(env_sysroot) ninja install
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC) \
+ $(TOOLCHAIN_POWER8_GLIBC) \
+ $(TOOLCHAIN_POWER9_GLIBC)),)
+ @for header in config ; do \
+ mv $(LLVM_PKG)/usr/include/clang/Config/$$header{,-64}.h ; \
+ cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/clang/Config/$$header.h ; \
+ done
+ @for header in Config ; do \
+ mv $(LLVM_PKG)/usr/include/lldb/Host/$$header{,-64}.h ; \
+ cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/lldb/Host/$$header.h ; \
+ done
+ @for header in llvm-config ; do \
+ mv $(LLVM_PKG)/usr/include/llvm/Config/$$header{,-64}.h ; \
+ cp -a $(config_dir)/$$header.h $(LLVM_PKG)/usr/include/llvm/Config/$$header.h ; \
+ done
+endif
+ @( cd $(LLVM_PKG)/usr/bin ; \
+ ln -sf clang $(TARGET)-clang ; \
+ ln -sf clang++ $(TARGET)-clang++ ; \
+ )
+ @( cd $(TARGET_BUILD_DIR)/build/bin ; \
+ cp -a clang-tblgen $(LLVM_PKG)/usr/bin ; \
+ )
+ # ======= Install $(TARGET)-llvm-config =======
+ @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
+ cp -a clang-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-clang-tblgen ; \
+ cp -a llvm-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-tblgen ; \
+ cp -a lldb-tblgen $(LLVM_PKG)/usr/bin/$(TARGET)-lldb-tblgen ; \
+ cp -a llvm-config $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-config ; \
+ )
+ # ======= Install clang-static-analyzer =======
+ @( cd $(LLVM_PKG)/usr/bin ; \
+ for i in ccc c++ ; do \
+ ln -sf ../libexec/$$i-analyzer $$i-analyzer ; \
+ done ; \
+ )
+ # ======= Remove bundled python-six =======
+ @rm -f $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
+ # ======= Install Python bindings =======
+ @mkdir -p $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages
+ @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages
+ @$(PYTHON2) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages/clang
+ @$(PYTHON2) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python2.7/site-packages/clang
+ # ======= Install Python3 bindings =======
+ @mkdir -p $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
+ @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages
+ @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
+ @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
+ @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
+ @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
+ # ======= Compile bindings by Python3 =======
+ @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/clang
+ @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/clang
+ @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/opt-viewer
+ @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/opt-viewer
+ @$(PYTHON3) -m compileall $(LLVM_PKG)/usr/share/scan-view
+ @$(PYTHON3) -O -m compileall $(LLVM_PKG)/usr/share/scan-view
+ # ======= Install Documentation =======
+ @( cd $(LLVM_PKG)/usr/share/man/man1 ; \
+ chmod 644 *.1 ; \
+ )
+ @if [ -d $(LLVM_PKG)/usr/share/man ] ; then \
+ ( cd $(LLVM_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ # ======= Install Licenses only into /usr/doc =======
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/{clang,clang-tools-extra,compiler-rt}
+ @( cd $(SRC_DIR) ; \
+ cp -a clang/{CodeOwners,LICENSE}* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/clang ; \
+ cp -a clang-tools-extra/{CODE_OWNERS,LICENSE}* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/clang-tools-extra ; \
+ cp -a compiler-rt/{CODE_OWNERS,LICENSE}* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/compiler-rt ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lld
+ @( cd $(SRC_DIR) ; cp -a lld/{CODE_OWNERS,LICENSE}* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lld ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lldb
+ @( cd $(SRC_DIR) ; cp -a lldb/{CODE_OWNERS,LICENSE}* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/lldb ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/llvm
+ @( cd $(SRC_DIR) ; cp -a llvm/{CODE_OWNERS,LICENSE}* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/llvm ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/mlir
+ @( cd $(SRC_DIR) ; cp -a mlir/LICENSE* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/mlir ; \
+ )
+ifeq ($(__ENABLE_LIBUNWIND__),yes)
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/libunwind
+ @( cd $(SRC_DIR) ; cp -a libunwind/LICENSE* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/libunwind ; \
+ )
+endif
+ifeq ($(__ENABLE_OPENMP__),yes)
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/openmp
+ @( cd $(SRC_DIR) ; cp -a openmp/LICENSE* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/openmp ; \
+ )
+endif
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/polly
+ @( cd $(SRC_DIR) ; cp -a polly/LICENSE* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/polly ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/doc/$(doc_dir_name)/pstl
+ @( cd $(SRC_DIR) ; cp -a pstl/LICENSE* \
+ $(LLVM_PKG)/usr/doc/$(doc_dir_name)/pstl ; \
+ )
+ # ======= Install README files into /usr/share/doc =======
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/{clang,clang-tools-extra,compiler-rt}
+ @( cd $(SRC_DIR) ; \
+ cp -a {CONTRIBUTING,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name) ; \
+ cp -a clang/{CodeOwners,INSTALL,LICENSE,NOTES,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/clang ; \
+ cp -a clang-tools-extra/{CODE_OWNERS,LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/clang-tools-extra ; \
+ cp -a compiler-rt/{CODE_OWNERS,CREDITS,LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/compiler-rt ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lld
+ @( cd $(SRC_DIR) ; cp -a lld/{CODE_OWNERS,LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lld ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lldb
+ @( cd $(SRC_DIR) ; cp -a lldb/{CODE_OWNERS,LICENSE}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/lldb ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/llvm
+ @( cd $(SRC_DIR) ; cp -a llvm/{CODE_OWNERS,CREDITS,LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/llvm ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/mlir
+ @( cd $(SRC_DIR) ; cp -a mlir/{LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/mlir ; \
+ )
+ifeq ($(__ENABLE_LIBUNWIND__),yes)
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/libunwind
+ @( cd $(SRC_DIR) ; cp -a libunwind/{LICENSE}* \
+ libunwind/docs/{BuildingLibunwind,README,index}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/libunwind ; \
+ )
+endif
+ifeq ($(__ENABLE_OPENMP__),yes)
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/openmp
+ @( cd $(SRC_DIR) ; cp -a openmp/{CREDITS,LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/openmp ; \
+ )
+endif
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/polly
+ @( cd $(SRC_DIR) ; cp -a polly/{CREDITS,LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/polly ; \
+ )
+ @mkdir -p $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/pstl
+ @( cd $(SRC_DIR) ; cp -a pstl/{CREDITS,LICENSE,README}* \
+ $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)/pstl ; \
+ )
+ # ======= Install ChangeLog if exists =======
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(LLVM_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= Remove build-dir from cmake files =======
+ @( cd $(LLVM_PKG)/usr/lib$(LIBSUFFIX)/cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir)/tools/mlir/include,/usr/include,g' mlir/MLIRConfig.cmake ; \
+ sed -i 's,$(CURDIR)/$(TARGET_BUILD_DIR),/usr/src,g' mlir/MLIRConfig.cmake ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(LLVM_PKG))
+ # ======= Remove $(TARGET)-llvm-config from target package =======
+ @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-clang-tblgen
+ @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-tblgen
+ @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-lldb-tblgen
+ @rm -f $(LLVM_PKG)/usr/bin/$(TARGET)-llvm-config
+ # ======= Chmod shared objects =======
+ @( cd $(LLVM_PKG) ; \
+ find . -type f -name '*.so' | xargs chmod +w 2> /dev/null ; \
+ )
+ # ======= Strip Binaries =======
+ @( cd $(LLVM_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(LLVM_PKG_DESCRIPTION_FILE): $(LLVM_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): $(install_target) $(LLVM_PKG_DESCRIPTION_FILE) $(LLVM_PKG_INSTALL_SCRIPT)
+ @cp $(LLVM_PKG_DESCRIPTION_FILE) $(LLVM_PKG)/.DESCRIPTION
+ @cp $(LLVM_PKG_INSTALL_SCRIPT) $(LLVM_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(LLVM_PKG)/.REQUIRES
+ @echo "pkgname=$(LLVM_PKG_NAME)" > $(LLVM_PKG)/.PKGINFO ; \
+ echo "pkgver=$(LLVM_PKG_VERSION)" >> $(LLVM_PKG)/.PKGINFO ; \
+ echo "arch=$(LLVM_PKG_ARCH)" >> $(LLVM_PKG)/.PKGINFO ; \
+ echo "distroname=$(LLVM_PKG_DISTRO_NAME)" >> $(LLVM_PKG)/.PKGINFO ; \
+ echo "distrover=$(LLVM_PKG_DISTRO_VERSION)" >> $(LLVM_PKG)/.PKGINFO ; \
+ echo "group=$(LLVM_PKG_GROUP)" >> $(LLVM_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(LLVM_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_PKG)/.PKGINFO ; \
+ echo "url=$(LLVM_PKG_URL)" >> $(LLVM_PKG)/.PKGINFO ; \
+ echo "license=$(LLVM_PKG_LICENSE)" >> $(LLVM_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(LLVM_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/16.0.2/PATCHES
===================================================================
--- llvm/16.0.2/PATCHES (nonexistent)
+++ llvm/16.0.2/PATCHES (revision 385)
@@ -0,0 +1,20 @@
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-clang-gnu-triple.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-clang-set-revision.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-clangd-riscv64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-ppc64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-synonyms.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-mips.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-riscv64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-set-revision.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-instr-link.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-pass-variables.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-64bit-atomic.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-ppc64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-versioning.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-install-symlink.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-lua-version.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-openmp-perl.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-polly-hack.patch -p0
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-x64-interpreter.patch -p0
Index: llvm/16.0.2/PATCHES.jz47xx
===================================================================
--- llvm/16.0.2/PATCHES.jz47xx (nonexistent)
+++ llvm/16.0.2/PATCHES.jz47xx (revision 385)
@@ -0,0 +1,3 @@
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-jz47xx.patch -p0
+
Index: llvm/16.0.2/PATCHES.p5600
===================================================================
--- llvm/16.0.2/PATCHES.p5600 (nonexistent)
+++ llvm/16.0.2/PATCHES.p5600 (revision 385)
@@ -0,0 +1,3 @@
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-p5600.patch -p0
+
Index: llvm/16.0.2/config/Config.h
===================================================================
--- llvm/16.0.2/config/Config.h (nonexistent)
+++ llvm/16.0.2/config/Config.h (revision 385)
@@ -0,0 +1,10 @@
+
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "Config-32.h"
+#elif __WORDSIZE == 64
+#include "Config-64.h"
+#else
+#error "Unknown word size"
+#endif
Index: llvm/16.0.2/config/config.h
===================================================================
--- llvm/16.0.2/config/config.h (nonexistent)
+++ llvm/16.0.2/config/config.h (revision 385)
@@ -0,0 +1,10 @@
+
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "config-32.h"
+#elif __WORDSIZE == 64
+#include "config-64.h"
+#else
+#error "Unknown word size"
+#endif
Index: llvm/16.0.2/config/llvm-config.h
===================================================================
--- llvm/16.0.2/config/llvm-config.h (nonexistent)
+++ llvm/16.0.2/config/llvm-config.h (revision 385)
@@ -0,0 +1,10 @@
+
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "llvm-config-32.h"
+#elif __WORDSIZE == 64
+#include "llvm-config-64.h"
+#else
+#error "Unknown word size"
+#endif
Index: llvm/16.0.2/llvm-pkg-description.in
===================================================================
--- llvm/16.0.2/llvm-pkg-description.in (nonexistent)
+++ llvm/16.0.2/llvm-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+llvm: llvm @VERSION@ (LLVM compiler toolkit)
+llvm:
+llvm: Low Level Virtual Machine is a toolkit for the construction of
+llvm: highly optimized compilers, optimizers, and runtime environments.
+llvm:
+llvm: This package also includes the clang frontend for the C family of
+llvm: languages: C, C++, Objective-C, and Objective-C++
+llvm:
+llvm: Homepage: http://llvm.org
+llvm:
+llvm:
Index: llvm/16.0.2/llvm-pkg-install.sh
===================================================================
--- llvm/16.0.2/llvm-pkg-install.sh (nonexistent)
+++ llvm/16.0.2/llvm-pkg-install.sh (revision 385)
@@ -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: llvm/16.0.2/llvm-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: llvm/16.0.2
===================================================================
--- llvm/16.0.2 (nonexistent)
+++ llvm/16.0.2 (revision 385)
Property changes on: llvm/16.0.2
___________________________________________________________________
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: llvm/16.0.2-ppc32/Makefile
===================================================================
--- llvm/16.0.2-ppc32/Makefile (nonexistent)
+++ llvm/16.0.2-ppc32/Makefile (revision 385)
@@ -0,0 +1,548 @@
+
+COMPONENT_TARGETS = $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_PPC32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/llvm
+
+REQUIRES = dev/llvm/16.0.2
+REQUIRES += libs/libffi/3.4.4-ppc32
+REQUIRES += libs/elfutils/0.187-ppc32
+REQUIRES += libs/libxml2/2.11.4-ppc32
+REQUIRES += libs/libedit/20191231-3.1-ppc32
+REQUIRES += libs/ncurses/6.3-ppc32
+REQUIRES += dev/python2/2.7.18-ppc32
+REQUIRES += dev/python3/3.10.8-ppc32
+REQUIRES += dev/lua/5.4.2-ppc32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 16.0.2
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
+src_dir_name = llvm-$(version)
+doc_dir_name = llvm-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+LLVM_32_PKG_NAME = llvm-x32
+LLVM_32_PKG_VERSION = 16.0.2
+LLVM_32_PKG_ARCH = $(PKGARCH)
+LLVM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+LLVM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+LLVM_32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+LLVM_32_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
+LLVM_32_PKG_URL = $(BUG_URL)
+LLVM_32_PKG_LICENSE = custom
+LLVM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-pkg-description
+LLVM_32_PKG_DESCRIPTION_FILE_IN = $(LLVM_32_PKG_NAME)-pkg-description.in
+LLVM_32_PKG_INSTALL_SCRIPT = $(LLVM_32_PKG_NAME)-pkg-install.sh
+
+LLVM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-package
+
+pkg_basename = $(LLVM_32_PKG_NAME)-$(LLVM_32_PKG_VERSION)-$(LLVM_32_PKG_ARCH)-$(LLVM_32_PKG_DISTRO_NAME)-$(LLVM_32_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(LLVM_32_PKG)
+
+
+JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
+LLVM_JOBS := -j$(JOBS) -l$(JOBS)
+
+
+TARGET_BIN_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX)
+TARGET_LIB_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib/../lib$(MULTILIB_PPC32_SUFFIX)
+
+BUILD_BIN_RPATH = /lib$(BUILD_MULTILIB_SUFFIX):/usr/lib$(BUILD_MULTILIB_SUFFIX)
+
+
+CFLAGS += -flarge-source-files
+
+CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
+CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format -Wno-format-overflow -Wno-unused-but-set-variable
+CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
+CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
+CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-format-nonliteral
+CC_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
+CC_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
+CC_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow
+
+CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
+CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format -Wno-format-overflow -Wno-unused-but-set-variable
+CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
+CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
+CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-format-nonliteral
+CXX_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
+CXX_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
+CXX_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow -Wno-nonnull -Wno-dangling-pointer -Wno-extra
+CXX_NO_WARNINGS += -Wno-alloc-size-larger-than -Wno-missing-attributes -Wno-free-nonheap-object
+CXX_NO_WARNINGS += -Wno-variadic-macros -Wno-format-nonliteral -Wno-parentheses -Wno-sized-deallocation
+CXX_NO_WARNINGS += -Wno-overflow -Wno-builtin-declaration-mismatch -Wno-prio-ctor-dtor -Wno-narrowing
+
+
+configure_switches = -DBUG_REPORT_URL='https://llvm.org'
+
+configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
+configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
+#
+# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
+# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
+# practice for GNU Assembler. GNU AS compiler doesn't understand
+# options like -D_GNU_SOURCE .
+#
+configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
+
+configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
+configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
+configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
+configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
+configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
+configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
+configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
+configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
+
+configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
+configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
+
+explicit_atomic = -latomic
+
+configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
+configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
+configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_PPC32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) $(explicit_atomic)'
+
+configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
+configure_switches += -DCMAKE_SKIP_RPATH=YES
+
+configure_switches += -DLLVM_CCACHE_BUILD=ON
+configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
+configure_switches += -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)'
+configure_switches += -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
+
+configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
+configure_switches += -DCMAKE_INSTALL_BINDIR=bin/32
+configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(MULTILIB_PPC32_SUFFIX)
+configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec/32
+configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
+configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
+
+configure_switches += -DCLANG_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
+configure_switches += -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
+configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
+configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
+configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX)
+configure_switches += -DLLDB_LUA_RELATIVE_PATH=lib$(MULTILIB_PPC32_SUFFIX)/lua/5.4
+
+configure_switches += -DCMAKE_BUILD_TYPE=Release
+configure_switches += -DBUILD_SHARED_LIBS=ON
+configure_switches += -DLLVM_ENABLE_RTTI=ON
+configure_switches += -DLLVM_ENABLE_FFI=ON
+configure_switches += -DLIBCXX_ENABLE_RTTI=ON
+configure_switches += -DLLVM_ENABLE_ZLIB=ON
+configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBOMP_ENABLE_ASSERTIONS=OFF
+
+configure_switches += -DLLVM_INSTALL_UTILS=ON
+
+configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
+configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
+configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
+configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
+configure_switches += -DLLDB_INCLUDE_TESTS=OFF
+configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
+configure_switches += -DCLANG_INCLUDE_TESTS=OFF
+configure_switches += -DLLVM_BUILD_TESTS=OFF
+configure_switches += -DLLVM_INCLUDE_TESTS=OFF
+
+configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
+configure_switches += -DLLVM_ENABLE_PIC=ON
+
+configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DCLANG_RESOURCE_DIR='../../lib$(MULTILIB_PPC32_SUFFIX)/clang/$(version)'
+configure_switches += -DLLDB_USE_SYSTEM_SIX=1
+
+#
+# libunwind:
+#
+configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
+configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
+
+
+#
+# Settings:
+#
+__ENABLE_CLANGD__ = no
+__ENABLE_LLDB_SERVER__ = no
+
+__ENABLE_LIBUNWIND__ = no
+__ENABLE_OPENMP__ = no
+
+
+__ENABLE_AMDGPU__ = yes
+__ENABLE_BPF__ = yes
+
+#
+# Evaluation:
+#
+ifeq ($(__ENABLE_CLANGD__),yes)
+clangd = ON
+else
+clangd = OFF
+endif
+ifeq ($(__ENABLE_LLDB_SERVER__),yes)
+lldb-server = ON
+else
+lldb-server = OFF
+endif
+ifeq ($(__ENABLE_OPENMP__),yes)
+openmp = ;openmp
+else
+openmp =
+endif
+ifeq ($(__ENABLE_LIBUNWIND__),yes)
+libunwind = ;libunwind
+else
+libunwind =
+endif
+
+ifeq ($(__ENABLE_AMDGPU__),yes)
+amdgpu = ;AMDGPU
+else
+amdgpu =
+endif
+ifeq ($(__ENABLE_BPF__),yes)
+bpf = ;BPF
+else
+bpf =
+endif
+
+
+configure_switches += -DLLVM_TARGETS_TO_BUILD='host$(amdgpu)$(bpf)'
+
+configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;compiler-rt;lld;lldb;mlir;polly;pstl'
+configure_switches += -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi$(openmp)$(libunwind)'
+
+configure_switches += -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF
+
+configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
+configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
+
+
+PYTHON_VERSION = 3.10
+
+configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
+configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
+configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libpython$(PYTHON_VERSION).so
+
+configure_switches += -DLLDB_ENABLE_PYTHON=On
+configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
+configure_switches += -DLLDB_PYTHON_EXE_RELATIVE_PATH=$(PYTHON3)
+configure_switches += -DLLDB_PYTHON_EXT_SUFFIX='.so'
+
+configure_switches += -DPERL_EXECUTABLE=$(PERL)
+configure_switches += -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config
+
+configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libz.so
+
+configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/liblzma.so
+
+configure_switches += -Dzstd_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -Dzstd_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libzstd.so
+
+configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
+configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libxml2.so
+
+configure_switches += -DOPENMP_STANDALONE_BUILD=ON
+configure_switches += -DOPENMP_ENABLE_LIBOMPTARGET=OFF
+configure_switches += -DOPENMP_LIBDIR_SUFFIX='$(MULTILIB_PPC32_SUFFIX)'
+
+configure_switches += -DLLVM_ENABLE_FFI=ON
+configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)
+configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libffi.so
+configure_switches += -DFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libffi.so
+
+configure_switches += -DLLDB_ENABLE_LUA=ON
+configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/liblua.so
+configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libm.so
+
+configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
+configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
+configure_switches += -DLLVM_ENABLE_TERMINFO=ON
+
+configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
+configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
+configure_switches += -DTerminfo_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
+
+configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libcursesw.so
+configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libformw.so
+configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libncursesw.so
+configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libpanelw.so
+
+configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libncursesw.so
+configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/libtinfo.so
+
+configure_switches += -DLLDB_ENABLE_CURSES=On
+
+configure_switches += -DLLVM_BUILD_DOCS=OFF
+
+configure_switches += -DCMAKE_CROSSCOMPILING=True
+
+configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET32)
+configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET32)
+configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET32)
+
+configure_switches += -DLLVM_BUILD_LLVM_DYLIB=ON
+
+configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
+configure_switches += -DLLVM_CONFIG_PATH=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
+configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
+configure_switches += -DCLANG_PSEUDO_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-pseudo-gen
+configure_switches += -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tidy-confusable-chars-gen
+configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
+configure_switches += -DMLIR_LINALG_ODS_YAML_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-linalg-ods-yaml-gen
+configure_switches += -DMLIR_PDLL_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-pdll
+configure_switches += -DMLIR_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-tblgen
+
+configure_switches += -DOPENMP_LLVM_LIT_EXECUTABLE=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-lit
+
+llvm-config-targets = PowerPC
+
+
+#
+# NOTE:
+# ====
+#
+# CMAKE_SYSTEM_PROCESSOR cannot be defined by command line option:
+#
+toolchain-file = $(CURDIR)/$(TARGET_BUILD_DIR)/toolchain.cmake
+
+configure_switches += -DCMAKE_TOOLCHAIN_FILE=$(toolchain-file)
+
+cpu_arch = $(word 1,$(subst -, ,$(TARGET32)))
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @echo "set(CMAKE_SYSTEM_NAME Linux)" > $(toolchain-file)
+ @echo "set(CMAKE_SYSTEM_PROCESSOR $(cpu_arch))" >> $(toolchain-file)
+ @echo "set(CMAKE_SYSROOT $(TARGET_DEST_DIR))" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $(toolchain-file)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(TARGET_BUILD_DIR)/build-machine
+ @( cd $(TARGET_BUILD_DIR)/build-machine ; \
+ cmake -Wno-dev \
+ -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb;clang-tools-extra;mlir' \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_PPC32_SUFFIX) \
+ -DLLVM_TARGETS_TO_BUILD='$(llvm-config-targets);$(amdgpu);$(bpf)' \
+ -DLLVM_BUILD_LLVM_DYLIB=ON \
+ -DLLVM_ENABLE_RTTI=ON \
+ -DLLVM_INCLUDE_TESTS=OFF \
+ -DLLVM_CCACHE_BUILD=ON \
+ -DCCACHE_PROGRAM=$(CCACHE) \
+ -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)' \
+ -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
+ -DCMAKE_SKIP_INSTALL_RPATH=YES \
+ -DCMAKE_SKIP_RPATH=YES \
+ -DCMAKE_EXE_LINKER_FLAGS='-Wl,-rpath,$(BUILD_BIN_RPATH) -L/lib$(BUILD_MULTILIB_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_SUFFIX)' \
+ -DCMAKE_C_FLAGS='-I/usr/include -flarge-source-files $(CC_NO_WARNINGS)' \
+ -DCMAKE_CXX_FLAGS='-I/usr/include -flarge-source-files $(CXX_NO_WARNINGS)' \
+ ../llvm-$(version)/llvm ; \
+ ninja llvm-tblgen ; \
+ ninja clang-tblgen ; \
+ ninja clang-pseudo-gen ; \
+ ninja clang-tidy-confusable-chars-gen ; \
+ ninja lldb-tblgen ; \
+ ninja llvm-config ; \
+ ninja mlir-linalg-ods-yaml-gen ; \
+ ninja mlir-pdll ; \
+ ninja mlir-tblgen ; \
+ )
+ @mkdir -p $(build_dir)
+ @( cd $(build_dir) ; \
+ $(BUILD_ENVIRONMENT) \
+ cmake -Wno-dev --trace-expand \
+ -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
+ )
+ @( cd $(build_dir) ; \
+ ninja $(LLVM_JOBS) all ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(LLVM_32_PKG)
+ @cd $(build_dir) && $(env_sysroot) ninja install
+ @( cd $(LLVM_32_PKG)/usr/bin ; \
+ ln -sf clang $(TARGET32)-clang ; \
+ ln -sf clang++ $(TARGET32)-clang++ ; \
+ )
+ @( cd $(TARGET_BUILD_DIR)/build/bin ; \
+ cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin ; \
+ )
+ # ======= Move 32-Bit binaries into /usr/bin/32 directory =======
+ @mkdir -p $(LLVM_32_PKG)/usr/bin/32
+ @( cd $(LLVM_32_PKG)/usr/bin ; \
+ find . -maxdepth 1 -type f | xargs mv -t 32 ; \
+ find . -maxdepth 1 -type l | xargs mv -t 32 ; \
+ )
+ # ======= Install $(TARGET32)-llvm-config =======
+ @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
+ cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-clang-tblgen ; \
+ cp -a llvm-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-tblgen ; \
+ cp -a lldb-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-lldb-tblgen ; \
+ cp -a llvm-config $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-config ; \
+ )
+ @( cd $(LLVM_32_PKG)/usr/bin/32 ; \
+ for file in clang-tblgen llvm-tblgen lldb-tblgen llvm-config ; do \
+ ln -sf ../$(TARGET32)-$${file} . ; \
+ done ; \
+ )
+ # ======= Save config.h and llvm-config.h =======
+ @for header in config ; do \
+ cp -a $(LLVM_32_PKG)/usr/include/clang/Config/$$header.h $(TARGET_BUILD_DIR) ; \
+ done
+ @for header in Config ; do \
+ cp -a $(LLVM_32_PKG)/usr/include/lldb/Host/$$header.h $(TARGET_BUILD_DIR) ; \
+ done
+ @for header in llvm-config ; do \
+ cp -a $(LLVM_32_PKG)/usr/include/llvm/Config/$$header.h $(TARGET_BUILD_DIR) ; \
+ done
+ @rm -rf $(LLVM_32_PKG)/usr/include
+ @rm -rf $(LLVM_32_PKG)/usr/libexec
+ @rm -rf $(LLVM_32_PKG)/usr/share
+ # ======= Restore config-32.h and llvm-config-32.h =======
+ @mkdir -p $(LLVM_32_PKG)/usr/include/lldb/Host
+ @mkdir -p $(LLVM_32_PKG)/usr/include/{clang,llvm}/Config
+ @for header in config ; do \
+ cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/clang/Config/$$header-32.h ; \
+ done
+ @for header in Config ; do \
+ cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/lldb/Host/$$header-32.h ; \
+ done
+ @for header in llvm-config ; do \
+ cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/llvm/Config/$$header-32.h ; \
+ done
+ # ======= Remove bundled python-six =======
+ @rm -f $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
+ # ======= Install Python bindings =======
+ @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages
+ @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7 $(PYTHON2) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages/clang
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7 $(PYTHON2) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python2.7/site-packages/clang
+ # ======= Install Python3 bindings =======
+ @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb ; \
+ ln -sf ../../../../bin/32/lldb-argdumper ; \
+ )
+ @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
+ @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
+ # ======= Remove build-dir from cmake files =======
+ @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir),,g' llvm/LLVMExports.cmake ; \
+ sed -i 's,$(TARGET_DEST_DIR),,g' llvm/LLVMExports.cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir)/tools/mlir/include,/usr/include,g' mlir/MLIRConfig.cmake ; \
+ sed -i 's,$(CURDIR)/$(TARGET_BUILD_DIR),/usr/src,g' mlir/MLIRConfig.cmake ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(LLVM_32_PKG))
+ # ======= Remove $(TARGET32)-llvm-config from target package =======
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-clang-tblgen
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-tblgen
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-lldb-tblgen
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-config
+ # ======= Chmod shared objects =======
+ @( cd $(LLVM_32_PKG) ; \
+ find . -type f -name '*.so' | xargs chmod +w 2> /dev/null ; \
+ )
+ # ======= Strip Binaries =======
+ @( cd $(LLVM_32_PKG); \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(LLVM_32_PKG_DESCRIPTION_FILE): $(LLVM_32_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): $(install_target) $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG_INSTALL_SCRIPT)
+ @cp $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG)/.DESCRIPTION
+ @cp $(LLVM_32_PKG_INSTALL_SCRIPT) $(LLVM_32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(LLVM_32_PKG)/.REQUIRES
+ @echo "pkgname=$(LLVM_32_PKG_NAME)" > $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(LLVM_32_PKG_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "arch=$(LLVM_32_PKG_ARCH)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "distroname=$(LLVM_32_PKG_DISTRO_NAME)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "distrover=$(LLVM_32_PKG_DISTRO_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "group=$(LLVM_32_PKG_GROUP)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(LLVM_32_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "url=$(LLVM_32_PKG_URL)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "license=$(LLVM_32_PKG_LICENSE)" >> $(LLVM_32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(LLVM_32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/16.0.2-ppc32/PATCHES
===================================================================
--- llvm/16.0.2-ppc32/PATCHES (nonexistent)
+++ llvm/16.0.2-ppc32/PATCHES (revision 385)
@@ -0,0 +1,20 @@
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-clang-gnu-triple.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-clang-set-revision.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-ppc64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-synonyms.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-mips.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-riscv64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-set-revision.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-instr-link.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-pass-variables.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-64bit-atomic.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-ppc64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-versioning.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-install-symlink.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-lua-version.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-openmp-perl.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-polly-hack.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-pstl-x32.patch -p0
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-x32-interpreter.patch -p0
Index: llvm/16.0.2-ppc32/llvm-x32-pkg-description.in
===================================================================
--- llvm/16.0.2-ppc32/llvm-x32-pkg-description.in (nonexistent)
+++ llvm/16.0.2-ppc32/llvm-x32-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+llvm-x32: llvm-x32 @VERSION@ (LLVM compiler toolkit)
+llvm-x32:
+llvm-x32: Low Level Virtual Machine is a toolkit for the construction of
+llvm-x32: highly optimized compilers, optimizers, and runtime environments.
+llvm-x32:
+llvm-x32: This package also includes the clang frontend for the C family of
+llvm-x32: languages: C, C++, Objective-C, and Objective-C++
+llvm-x32:
+llvm-x32: Homepage: http://llvm.org
+llvm-x32:
+llvm-x32:
Index: llvm/16.0.2-ppc32/llvm-x32-pkg-install.sh
===================================================================
--- llvm/16.0.2-ppc32/llvm-x32-pkg-install.sh (nonexistent)
+++ llvm/16.0.2-ppc32/llvm-x32-pkg-install.sh (revision 385)
@@ -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: llvm/16.0.2-ppc32/llvm-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: llvm/16.0.2-ppc32
===================================================================
--- llvm/16.0.2-ppc32 (nonexistent)
+++ llvm/16.0.2-ppc32 (revision 385)
Property changes on: llvm/16.0.2-ppc32
___________________________________________________________________
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: llvm/16.0.2-x86_32/Makefile
===================================================================
--- llvm/16.0.2-x86_32/Makefile (nonexistent)
+++ llvm/16.0.2-x86_32/Makefile (revision 385)
@@ -0,0 +1,542 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_X86_32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/llvm
+
+REQUIRES = dev/llvm/16.0.2
+REQUIRES += libs/libffi/3.4.4-x86_32
+REQUIRES += libs/elfutils/0.187-x86_32
+REQUIRES += libs/libxml2/2.11.4-x86_32
+REQUIRES += libs/libedit/20191231-3.1-x86_32
+REQUIRES += libs/ncurses/6.3-x86_32
+REQUIRES += dev/python2/2.7.18-x86_32
+REQUIRES += dev/python3/3.10.8-x86_32
+REQUIRES += dev/lua/5.4.2-x86_32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 16.0.2
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/llvm/llvm-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/llvm-$(version)
+src_dir_name = llvm-$(version)
+doc_dir_name = llvm-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+LLVM_32_PKG_NAME = llvm-x32
+LLVM_32_PKG_VERSION = 16.0.2
+LLVM_32_PKG_ARCH = $(PKGARCH)
+LLVM_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+LLVM_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+LLVM_32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+LLVM_32_PKG_SHORT_DESCRIPTION = LLVM compiler toolkit
+LLVM_32_PKG_URL = $(BUG_URL)
+LLVM_32_PKG_LICENSE = custom
+LLVM_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-pkg-description
+LLVM_32_PKG_DESCRIPTION_FILE_IN = $(LLVM_32_PKG_NAME)-pkg-description.in
+LLVM_32_PKG_INSTALL_SCRIPT = $(LLVM_32_PKG_NAME)-pkg-install.sh
+
+LLVM_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(LLVM_32_PKG_NAME)-package
+
+pkg_basename = $(LLVM_32_PKG_NAME)-$(LLVM_32_PKG_VERSION)-$(LLVM_32_PKG_ARCH)-$(LLVM_32_PKG_DISTRO_NAME)-$(LLVM_32_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(LLVM_32_PKG)
+
+
+JOBS := $(shell echo 'if( $(NUMPROCS) > 2) { $(NUMPROCS) / 2 } else { 1 }' | bc)
+LLVM_JOBS := -j$(JOBS) -l$(JOBS)
+
+
+TARGET_BIN_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
+TARGET_LIB_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib/../lib$(MULTILIB_X86_32_SUFFIX)
+
+BUILD_BIN_RPATH = /lib$(BUILD_MULTILIB_SUFFIX):/usr/lib$(BUILD_MULTILIB_SUFFIX)
+
+
+CFLAGS += -flarge-source-files
+
+CC_NO_WARNINGS = -Wno-old-style-declaration -Wno-array-bounds -Wno-deprecated-declarations
+CC_NO_WARNINGS += -Wno-cast-function-type -Wno-format -Wno-format-overflow -Wno-unused-but-set-variable
+CC_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
+CC_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
+CC_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-format-nonliteral
+CC_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
+CC_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
+CC_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow
+
+CXX_NO_WARNINGS = -Wno-pessimizing-move -Wno-array-bounds -Wno-deprecated-declarations
+CXX_NO_WARNINGS += -Wno-cast-function-type -Wno-format -Wno-format-overflow -Wno-unused-but-set-variable
+CXX_NO_WARNINGS += -Wno-unused-function -Wimplicit-fallthrough=0 -Wno-misleading-indentation
+CXX_NO_WARNINGS += -Wno-strict-aliasing -Wno-empty-body -Wno-pedantic -Wno-sign-conversion
+CXX_NO_WARNINGS += -Wno-unused-parameter -Wno-shadow -Wno-address -Wno-attributes -Wno-format-nonliteral
+CXX_NO_WARNINGS += -Wno-uninitialized -Wno-maybe-uninitialized -Wno-unused-value -Wno-type-limits
+CXX_NO_WARNINGS += -Wno-enum-compare -Wno-sign-compare -Wno-unused-variable -Wno-return-type
+CXX_NO_WARNINGS += -Wno-psabi -Wno-stringop-overflow -Wno-nonnull -Wno-dangling-pointer -Wno-extra
+CXX_NO_WARNINGS += -Wno-alloc-size-larger-than -Wno-missing-attributes -Wno-free-nonheap-object
+CXX_NO_WARNINGS += -Wno-variadic-macros -Wno-format-nonliteral -Wno-parentheses -Wno-sized-deallocation
+CXX_NO_WARNINGS += -Wno-overflow -Wno-builtin-declaration-mismatch -Wno-prio-ctor-dtor -Wno-narrowing
+
+
+configure_switches = -DBUG_REPORT_URL='https://llvm.org'
+
+configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
+configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
+#
+# CMAKE passes the same {ASM|C}_DEFINES to the C and ASM compilers
+# by the SET(CMAKE_TARGET_DEFINITIONS ..) function. This is a bad
+# practice for GNU Assembler. GNU AS compiler doesn't understand
+# options like -D_GNU_SOURCE .
+#
+configure_switches += -DCMAKE_ASM_COMPILER='$(CROSS_PREFIX)gcc'
+
+configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
+configure_switches += -DGOLD_EXECUTABLE='$(CROSS_PREFIX)ld.gold'
+configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
+configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
+configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
+configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
+configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
+configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
+
+configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CC_NO_WARNINGS)'
+configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(CXX_NO_WARNINGS)'
+
+configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
+configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
+configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -m32 -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(MULTILIB_X86_32_SUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)'
+
+configure_switches += -DCMAKE_SKIP_INSTALL_RPATH=NO
+configure_switches += -DCMAKE_SKIP_RPATH=YES
+
+configure_switches += -DLLVM_CCACHE_BUILD=ON
+configure_switches += -DCCACHE_PROGRAM=$(CCACHE)
+configure_switches += -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)'
+configure_switches += -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)'
+
+configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
+configure_switches += -DCMAKE_INSTALL_BINDIR=bin/32
+configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(MULTILIB_X86_32_SUFFIX)
+configure_switches += -DCMAKE_INSTALL_LIBEXECDIR=libexec/32
+configure_switches += -DCMAKE_INSTALL_MANDIR='share/man'
+configure_switches += -DCMAKE_INSTALL_DOCDIR='share/doc/$(doc_dir_name)'
+
+configure_switches += -DCLANG_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
+configure_switches += -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
+configure_switches += -DLIBCXXABI_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
+configure_switches += -DLIBCXX_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
+configure_switches += -DLIBUNWIND_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX)
+configure_switches += -DLLDB_LUA_RELATIVE_PATH=lib$(MULTILIB_X86_32_SUFFIX)/lua/5.4
+
+configure_switches += -DCMAKE_BUILD_TYPE=Release
+configure_switches += -DBUILD_SHARED_LIBS=ON
+configure_switches += -DLLVM_ENABLE_RTTI=ON
+configure_switches += -DLLVM_ENABLE_FFI=ON
+configure_switches += -DLIBCXX_ENABLE_RTTI=ON
+configure_switches += -DLLVM_ENABLE_ZLIB=ON
+configure_switches += -DLLVM_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBCXXABI_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBCXX_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBOMP_ENABLE_ASSERTIONS=OFF
+
+configure_switches += -DLLVM_INSTALL_UTILS=ON
+
+configure_switches += -DCOMPILER_RT_CAN_EXECUTE_TESTS=OFF
+configure_switches += -DCOMPILER_RT_INCLUDE_TESTS=OFF
+configure_switches += -DLIBCXXABI_INCLUDE_TESTS=OFF
+configure_switches += -DLIBCXX_INCLUDE_TESTS=OFF
+configure_switches += -DLLDB_INCLUDE_TESTS=OFF
+configure_switches += -DLLVM_INCLUDE_GO_TESTS=OFF
+configure_switches += -DCLANG_INCLUDE_TESTS=OFF
+configure_switches += -DLLVM_BUILD_TESTS=OFF
+configure_switches += -DLLVM_INCLUDE_TESTS=OFF
+
+configure_switches += -DLIBCXXABI_ENABLE_PIC=ON
+configure_switches += -DLLVM_ENABLE_PIC=ON
+
+configure_switches += -DLLVM_BINUTILS_INCDIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DCLANG_RESOURCE_DIR='../../lib$(MULTILIB_X86_32_SUFFIX)/clang/$(version)'
+configure_switches += -DLLDB_USE_SYSTEM_SIX=1
+
+#
+# libunwind:
+#
+configure_switches += -DLIBUNWIND_ENABLE_ASSERTIONS=OFF
+configure_switches += -DLIBUNWIND_ENABLE_SHARED=ON
+configure_switches += -DLIBUNWIND_ENABLE_STATIC=OFF
+
+
+#
+# Settings:
+#
+__ENABLE_CLANGD__ = yes
+__ENABLE_LLDB_SERVER__ = yes
+
+__ENABLE_LIBUNWIND__ = no
+__ENABLE_OPENMP__ = no
+
+__ENABLE_AMDGPU__ = yes
+__ENABLE_BPF__ = yes
+
+#
+# Evaluation:
+#
+ifeq ($(__ENABLE_CLANGD__),yes)
+clangd = ON
+else
+clangd = OFF
+endif
+ifeq ($(__ENABLE_LLDB_SERVER__),yes)
+lldb-server = ON
+else
+lldb-server = OFF
+endif
+ifeq ($(__ENABLE_OPENMP__),yes)
+openmp = ;openmp
+else
+openmp =
+endif
+ifeq ($(__ENABLE_LIBUNWIND__),yes)
+libunwind = ;libunwind
+else
+libunwind =
+endif
+
+ifeq ($(__ENABLE_AMDGPU__),yes)
+amdgpu = ;AMDGPU
+else
+amdgpu =
+endif
+ifeq ($(__ENABLE_BPF__),yes)
+bpf = ;BPF
+else
+bpf =
+endif
+
+
+configure_switches += -DLLVM_TARGETS_TO_BUILD='host$(amdgpu)$(bpf)'
+
+configure_switches += -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;compiler-rt;lld;lldb;mlir;polly;pstl'
+configure_switches += -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi$(openmp)$(libunwind)'
+
+configure_switches += -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF
+
+configure_switches += -DCLANG_ENABLE_CLANGD=$(clangd)
+configure_switches += -DLLDB_TOOL_LLDB_SERVER_BUILD=$(lldb-server)
+
+
+PYTHON_VERSION = 3.10
+
+configure_switches += -DPython3_EXECUTABLE=$(PYTHON3)
+configure_switches += -DPython3_INCLUDE_DIRS=$(TARGET_DEST_DIR)/usr/include/python$(PYTHON_VERSION)
+configure_switches += -DPython3_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libpython$(PYTHON_VERSION).so
+
+configure_switches += -DLLDB_ENABLE_PYTHON=On
+configure_switches += -DLLDB_PYTHON_RELATIVE_PATH=lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
+configure_switches += -DLLDB_PYTHON_EXE_RELATIVE_PATH=$(PYTHON3)
+configure_switches += -DLLDB_PYTHON_EXT_SUFFIX='.so'
+
+configure_switches += -DPERL_EXECUTABLE=$(PERL)
+configure_switches += -DPKG_CONFIG_EXECUTABLE=/usr/bin/pkg-config
+
+configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libz.so
+
+configure_switches += -DLIBLZMA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLIBLZMA_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/liblzma.so
+
+configure_switches += -Dzstd_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -Dzstd_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libzstd.so
+
+configure_switches += -DLIBXML2_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include/libxml2
+configure_switches += -DLIBXML2_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libxml2.so
+
+configure_switches += -DOPENMP_STANDALONE_BUILD=ON
+configure_switches += -DOPENMP_ENABLE_LIBOMPTARGET=OFF
+configure_switches += -DOPENMP_LIBDIR_SUFFIX='$(MULTILIB_X86_32_SUFFIX)'
+
+configure_switches += -DLLVM_ENABLE_FFI=ON
+configure_switches += -DFFI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DFFI_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DFFI_LIBRARY_DIR=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)
+configure_switches += -DFFI_LIBRARY_PATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libffi.so
+configure_switches += -DFFI_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libffi.so
+
+configure_switches += -DLLDB_ENABLE_LUA=ON
+configure_switches += -DLUA_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DLUA_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/liblua.so
+configure_switches += -DLUA_MATH_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libm.so
+
+configure_switches += -DLLDB_ENABLE_LIBEDIT=ON
+configure_switches += -DLLVM_ENABLE_LIBEDIT=ON
+configure_switches += -DLLVM_ENABLE_TERMINFO=ON
+
+configure_switches += -DTERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
+configure_switches += -DCOMPILER_RT_TERMINFO_LIB=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
+configure_switches += -DTerminfo_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
+
+configure_switches += -DCURSES_CURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libcursesw.so
+configure_switches += -DCURSES_FORM_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libformw.so
+configure_switches += -DCURSES_INCLUDE_PATH=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DCURSES_NCURSES_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libncursesw.so
+configure_switches += -DPANEL_LIBRARIES=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libpanelw.so
+
+configure_switches += -Dpkgcfg_lib_NCURSES_ncurses=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libncursesw.so
+configure_switches += -Dpkgcfg_lib_NCURSES_tinfo=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/libtinfo.so
+
+configure_switches += -DLLDB_ENABLE_CURSES=On
+
+configure_switches += -DLLVM_BUILD_DOCS=OFF
+
+configure_switches += -DCMAKE_CROSSCOMPILING=True
+
+configure_switches += -DLLVM_DEFAULT_TARGET_TRIPLE=$(TARGET32)
+configure_switches += -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=$(TARGET32)
+configure_switches += -DLLVM_HOST_TRIPLE=$(TARGET32)
+
+configure_switches += -DLLVM_BUILD_LLVM_DYLIB=ON
+
+configure_switches += -DLLVM_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-tblgen
+configure_switches += -DLLVM_CONFIG_PATH=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-config
+configure_switches += -DCLANG_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tblgen
+configure_switches += -DCLANG_PSEUDO_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-pseudo-gen
+configure_switches += -DCLANG_TIDY_CONFUSABLE_CHARS_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/clang-tidy-confusable-chars-gen
+configure_switches += -DLLDB_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/lldb-tblgen
+configure_switches += -DMLIR_LINALG_ODS_YAML_GEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-linalg-ods-yaml-gen
+configure_switches += -DMLIR_PDLL_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-pdll
+configure_switches += -DMLIR_TABLEGEN=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/mlir-tblgen
+
+configure_switches += -DOPENMP_LLVM_LIT_EXECUTABLE=$(CURDIR)/$(TARGET_BUILD_DIR)/build-machine/bin/llvm-lit
+
+llvm-config-targets = X86
+
+
+#
+# NOTE:
+# ====
+#
+# CMAKE_SYSTEM_PROCESSOR cannot be defined by command line option:
+#
+toolchain-file = $(CURDIR)/$(TARGET_BUILD_DIR)/toolchain.cmake
+
+configure_switches += -DCMAKE_TOOLCHAIN_FILE=$(toolchain-file)
+
+cpu_arch = $(word 1,$(subst -, ,$(TARGET32)))
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @echo "set(CMAKE_SYSTEM_NAME Linux)" > $(toolchain-file)
+ @echo "set(CMAKE_SYSTEM_PROCESSOR $(cpu_arch))" >> $(toolchain-file)
+ @echo "set(CMAKE_SYSROOT $(TARGET_DEST_DIR))" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> $(toolchain-file)
+ @echo "set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" >> $(toolchain-file)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(TARGET_BUILD_DIR)/build-machine
+ @( cd $(TARGET_BUILD_DIR)/build-machine ; \
+ cmake -Wno-dev \
+ -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb;clang-tools-extra;mlir' \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_LIBDIR_SUFFIX=$(MULTILIB_X86_32_SUFFIX) \
+ -DLLVM_TARGETS_TO_BUILD='$(llvm-config-targets);$(amdgpu);$(bpf)' \
+ -DLLVM_BUILD_LLVM_DYLIB=ON \
+ -DLLVM_ENABLE_RTTI=ON \
+ -DLLVM_INCLUDE_TESTS=OFF \
+ -DLLVM_CCACHE_BUILD=ON \
+ -DCCACHE_PROGRAM=$(CCACHE) \
+ -DLLVM_CCACHE_DIR='$(CACHED_CC_OUTPUT)' \
+ -DLLVM_CCACHE_PARAMS='CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_BASEDIR=$(CCACHE_BASEDIR)' \
+ -DCMAKE_SKIP_INSTALL_RPATH=YES \
+ -DCMAKE_SKIP_RPATH=YES \
+ -DCMAKE_EXE_LINKER_FLAGS='-Wl,-rpath,$(BUILD_BIN_RPATH) -L/lib$(BUILD_MULTILIB_SUFFIX) -L/usr/lib$(BUILD_MULTILIB_SUFFIX)' \
+ -DCMAKE_C_FLAGS='-I/usr/include -flarge-source-files $(CC_NO_WARNINGS)' \
+ -DCMAKE_CXX_FLAGS='-I/usr/include -flarge-source-files $(CXX_NO_WARNINGS)' \
+ ../llvm-$(version)/llvm ; \
+ ninja llvm-tblgen ; \
+ ninja clang-tblgen ; \
+ ninja clang-pseudo-gen ; \
+ ninja clang-tidy-confusable-chars-gen ; \
+ ninja lldb-tblgen ; \
+ ninja llvm-config ; \
+ ninja mlir-linalg-ods-yaml-gen ; \
+ ninja mlir-pdll ; \
+ ninja mlir-tblgen ; \
+ )
+ @mkdir -p $(build_dir)
+ @( cd $(build_dir) ; \
+ $(BUILD_ENVIRONMENT) \
+ cmake -Wno-dev --trace-expand \
+ -G Ninja $(configure_switches) ../llvm-$(version)/llvm 2> CMakeTrace.txt ; \
+ )
+ @( cd $(build_dir) ; \
+ ninja $(LLVM_JOBS) all ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(LLVM_32_PKG)
+ @cd $(build_dir) && $(env_sysroot) ninja install
+ @( cd $(LLVM_32_PKG)/usr/bin ; \
+ ln -sf clang $(TARGET32)-clang ; \
+ ln -sf clang++ $(TARGET32)-clang++ ; \
+ )
+ @( cd $(TARGET_BUILD_DIR)/build/bin ; \
+ cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin ; \
+ )
+ # ======= Move 32-Bit binaries into /usr/bin/32 directory =======
+ @mkdir -p $(LLVM_32_PKG)/usr/bin/32
+ @( cd $(LLVM_32_PKG)/usr/bin ; \
+ find . -maxdepth 1 -type f | xargs mv -t 32 ; \
+ find . -maxdepth 1 -type l | xargs mv -t 32 ; \
+ )
+ # ======= Install $(TARGET32)-llvm-config =======
+ @( cd $(TARGET_BUILD_DIR)/build-machine/bin ; \
+ cp -a clang-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-clang-tblgen ; \
+ cp -a llvm-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-tblgen ; \
+ cp -a lldb-tblgen $(LLVM_32_PKG)/usr/bin/$(TARGET32)-lldb-tblgen ; \
+ cp -a llvm-config $(LLVM_32_PKG)/usr/bin/$(TARGET32)-llvm-config ; \
+ )
+ @( cd $(LLVM_32_PKG)/usr/bin/32 ; \
+ for file in clang-tblgen llvm-tblgen lldb-tblgen llvm-config ; do \
+ ln -sf ../$(TARGET32)-$${file} . ; \
+ done ; \
+ )
+ # ======= Save config.h and llvm-config.h =======
+ @for header in config ; do \
+ cp -a $(LLVM_32_PKG)/usr/include/clang/Config/$$header.h $(TARGET_BUILD_DIR) ; \
+ done
+ @for header in Config ; do \
+ cp -a $(LLVM_32_PKG)/usr/include/lldb/Host/$$header.h $(TARGET_BUILD_DIR) ; \
+ done
+ @for header in llvm-config ; do \
+ cp -a $(LLVM_32_PKG)/usr/include/llvm/Config/$$header.h $(TARGET_BUILD_DIR) ; \
+ done
+ @rm -rf $(LLVM_32_PKG)/usr/include
+ @rm -rf $(LLVM_32_PKG)/usr/libexec
+ @rm -rf $(LLVM_32_PKG)/usr/share
+ # ======= Restore config-32.h and llvm-config-32.h =======
+ @mkdir -p $(LLVM_32_PKG)/usr/include/lldb/Host
+ @mkdir -p $(LLVM_32_PKG)/usr/include/{clang,llvm}/Config
+ @for header in config ; do \
+ cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/clang/Config/$$header-32.h ; \
+ done
+ @for header in Config ; do \
+ cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/lldb/Host/$$header-32.h ; \
+ done
+ @for header in llvm-config ; do \
+ cp -a $(TARGET_BUILD_DIR)/$$header.h $(LLVM_32_PKG)/usr/include/llvm/Config/$$header-32.h ; \
+ done
+ # ======= Remove bundled python-six =======
+ @rm -f $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/six.py
+ # ======= Install Python bindings =======
+ @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages
+ @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7 $(PYTHON2) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages/clang
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7 $(PYTHON2) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python2.7/site-packages/clang
+ # ======= Install Python3 bindings =======
+ @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb ; \
+ ln -sf ../../../../bin/32/lldb-argdumper ; \
+ )
+ @mkdir -p $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
+ @cp -a $(SRC_DIR)/clang/bindings/python/clang $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/clang
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
+ @PYTHONPATH=$(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION) $(PYTHON3) -O -m compileall $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/python$(PYTHON_VERSION)/site-packages/lldb
+ # ======= Remove build-dir from cmake files =======
+ @( cd $(LLVM_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir),/usr,g' polly/PollyConfig.cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir),,g' llvm/LLVMExports.cmake ; \
+ sed -i 's,$(TARGET_DEST_DIR),,g' llvm/LLVMExports.cmake ; \
+ sed -i 's,$(CURDIR)/$(build_dir)/tools/mlir/include,/usr/include,g' mlir/MLIRConfig.cmake ; \
+ sed -i 's,$(CURDIR)/$(TARGET_BUILD_DIR),/usr/src,g' mlir/MLIRConfig.cmake ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(LLVM_32_PKG))
+ # ======= Remove $(TARGET32)-llvm-config from target package =======
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-clang-tblgen
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-tblgen
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-lldb-tblgen
+ @rm -f $(LLVM_32_PKG)/usr/bin{,/32}/$(TARGET32)-llvm-config
+ # ======= Chmod shared objects =======
+ @( cd $(LLVM_32_PKG) ; \
+ find . -type f -name '*.so' | xargs chmod +w 2> /dev/null ; \
+ )
+ # ======= Strip Binaries =======
+ @( cd $(LLVM_32_PKG); \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(LLVM_32_PKG_DESCRIPTION_FILE): $(LLVM_32_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): $(install_target) $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG_INSTALL_SCRIPT)
+ @cp $(LLVM_32_PKG_DESCRIPTION_FILE) $(LLVM_32_PKG)/.DESCRIPTION
+ @cp $(LLVM_32_PKG_INSTALL_SCRIPT) $(LLVM_32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(LLVM_32_PKG)/.REQUIRES
+ @echo "pkgname=$(LLVM_32_PKG_NAME)" > $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(LLVM_32_PKG_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "arch=$(LLVM_32_PKG_ARCH)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "distroname=$(LLVM_32_PKG_DISTRO_NAME)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "distrover=$(LLVM_32_PKG_DISTRO_VERSION)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "group=$(LLVM_32_PKG_GROUP)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(LLVM_32_PKG_SHORT_DESCRIPTION)\"" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "url=$(LLVM_32_PKG_URL)" >> $(LLVM_32_PKG)/.PKGINFO ; \
+ echo "license=$(LLVM_32_PKG_LICENSE)" >> $(LLVM_32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(LLVM_32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: llvm/16.0.2-x86_32/PATCHES
===================================================================
--- llvm/16.0.2-x86_32/PATCHES (nonexistent)
+++ llvm/16.0.2-x86_32/PATCHES (revision 385)
@@ -0,0 +1,20 @@
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-clang-gnu-triple.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-clang-set-revision.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-ppc64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-synonyms.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-compiler-rt-mips.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-riscv64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-set-revision.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-instr-link.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-pass-variables.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-64bit-atomic.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-ppc64.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-versioning.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-llvm-install-symlink.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-lldb-lua-version.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-openmp-perl.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-polly-hack.patch -p0
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-pstl-x32.patch -p0
+
+../../../sources/packages/d/llvm/patches/llvm-16.0.2-x32-interpreter.patch -p0
Index: llvm/16.0.2-x86_32/llvm-x32-pkg-description.in
===================================================================
--- llvm/16.0.2-x86_32/llvm-x32-pkg-description.in (nonexistent)
+++ llvm/16.0.2-x86_32/llvm-x32-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+llvm-x32: llvm-x32 @VERSION@ (LLVM compiler toolkit)
+llvm-x32:
+llvm-x32: Low Level Virtual Machine is a toolkit for the construction of
+llvm-x32: highly optimized compilers, optimizers, and runtime environments.
+llvm-x32:
+llvm-x32: This package also includes the clang frontend for the C family of
+llvm-x32: languages: C, C++, Objective-C, and Objective-C++
+llvm-x32:
+llvm-x32: Homepage: http://llvm.org
+llvm-x32:
+llvm-x32:
Index: llvm/16.0.2-x86_32/llvm-x32-pkg-install.sh
===================================================================
--- llvm/16.0.2-x86_32/llvm-x32-pkg-install.sh (nonexistent)
+++ llvm/16.0.2-x86_32/llvm-x32-pkg-install.sh (revision 385)
@@ -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: llvm/16.0.2-x86_32/llvm-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: llvm/16.0.2-x86_32
===================================================================
--- llvm/16.0.2-x86_32 (nonexistent)
+++ llvm/16.0.2-x86_32 (revision 385)
Property changes on: llvm/16.0.2-x86_32
___________________________________________________________________
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: lua/5.4.2/Makefile
===================================================================
--- lua/5.4.2/Makefile (revision 384)
+++ lua/5.4.2/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: lua/5.4.2
===================================================================
--- lua/5.4.2 (revision 384)
+++ lua/5.4.2 (revision 385)
Property changes on: lua/5.4.2
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: lua/5.4.2-ppc32
===================================================================
--- lua/5.4.2-ppc32 (revision 384)
+++ lua/5.4.2-ppc32 (revision 385)
Property changes on: lua/5.4.2-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: lua/5.4.2-x86_32
===================================================================
--- lua/5.4.2-x86_32 (revision 384)
+++ lua/5.4.2-x86_32 (revision 385)
Property changes on: lua/5.4.2-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: m4/1.4.19/Makefile
===================================================================
--- m4/1.4.19/Makefile (revision 384)
+++ m4/1.4.19/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -54,7 +60,11 @@
SOURCE_REQUIRES = sources/GNU/m4
-REQUIRES = libs/glibc/2.36
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/12.2.0
+else
+REQUIRES = libs/glibc/2.37
+endif
# ======= __END_OF_REQUIRES__ =======
Index: m4/1.4.19
===================================================================
--- m4/1.4.19 (revision 384)
+++ m4/1.4.19 (revision 385)
Property changes on: m4/1.4.19
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: make/4.3.1/Makefile
===================================================================
--- make/4.3.1/Makefile (revision 384)
+++ make/4.3.1/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: make/4.3.1
===================================================================
--- make/4.3.1 (revision 384)
+++ make/4.3.1 (revision 385)
Property changes on: make/4.3.1
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: mercurial/6.0.1/Makefile
===================================================================
--- mercurial/6.0.1/Makefile (revision 384)
+++ mercurial/6.0.1/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: mercurial/6.0.1
===================================================================
--- mercurial/6.0.1 (revision 384)
+++ mercurial/6.0.1 (revision 385)
Property changes on: mercurial/6.0.1
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: meson/0.61.0/Makefile
===================================================================
--- meson/0.61.0/Makefile (revision 384)
+++ meson/0.61.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: meson/0.61.0
===================================================================
--- meson/0.61.0 (revision 384)
+++ meson/0.61.0 (revision 385)
Property changes on: meson/0.61.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: ninja/1.10.2/Makefile
===================================================================
--- ninja/1.10.2/Makefile (revision 384)
+++ ninja/1.10.2/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -54,7 +60,11 @@
SOURCE_REQUIRES = sources/packages/d/ninja
-REQUIRES = libs/glibc/2.36
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/12.2.0
+else
+REQUIRES = libs/glibc/2.37
+endif
# ======= __END_OF_REQUIRES__ =======
Index: ninja/1.10.2
===================================================================
--- ninja/1.10.2 (revision 384)
+++ ninja/1.10.2 (revision 385)
Property changes on: ninja/1.10.2
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: orc/0.4.33.1/Makefile
===================================================================
--- orc/0.4.33.1/Makefile (revision 384)
+++ orc/0.4.33.1/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -57,7 +63,7 @@
ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
REQUIRES = dev/gcc/12.2.0
else
-REQUIRES = libs/glibc/2.36
+REQUIRES = libs/glibc/2.37
endif
# ======= __END_OF_REQUIRES__ =======
@@ -140,7 +146,8 @@
endian = little
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
- $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
+ $(TOOLCHAIN_S9XX_GLIBC) \
$(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC)),)
cpu_name = aarch64
endian = little
Index: orc/0.4.33.1
===================================================================
--- orc/0.4.33.1 (revision 384)
+++ orc/0.4.33.1 (revision 385)
Property changes on: orc/0.4.33.1
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: orc/0.4.33.1-ppc32/Makefile
===================================================================
--- orc/0.4.33.1-ppc32/Makefile (revision 384)
+++ orc/0.4.33.1-ppc32/Makefile (revision 385)
@@ -16,7 +16,7 @@
SOURCE_REQUIRES = sources/packages/d/orc
REQUIRES = dev/orc/0.4.33.1
-REQUIRES += libs/glibc/2.36-ppc32
+REQUIRES += libs/glibc/2.37-ppc32
# ======= __END_OF_REQUIRES__ =======
Index: orc/0.4.33.1-ppc32
===================================================================
--- orc/0.4.33.1-ppc32 (revision 384)
+++ orc/0.4.33.1-ppc32 (revision 385)
Property changes on: orc/0.4.33.1-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: orc/0.4.33.1-x86_32/Makefile
===================================================================
--- orc/0.4.33.1-x86_32/Makefile (revision 384)
+++ orc/0.4.33.1-x86_32/Makefile (revision 385)
@@ -13,7 +13,7 @@
SOURCE_REQUIRES = sources/packages/d/orc
REQUIRES = dev/orc/0.4.33.1
-REQUIRES += libs/glibc/2.36-x86_32
+REQUIRES += libs/glibc/2.37-x86_32
# ======= __END_OF_REQUIRES__ =======
Index: orc/0.4.33.1-x86_32
===================================================================
--- orc/0.4.33.1-x86_32 (revision 384)
+++ orc/0.4.33.1-x86_32 (revision 385)
Property changes on: orc/0.4.33.1-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl/5.36.0/Makefile
===================================================================
--- perl/5.36.0/Makefile (revision 384)
+++ perl/5.36.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -130,7 +136,8 @@
ARCH = arm
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
- $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
+ $(TOOLCHAIN_S9XX_GLIBC) \
$(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC)),)
ARCH = aarch64
endif
Index: perl/5.36.0
===================================================================
--- perl/5.36.0 (revision 384)
+++ perl/5.36.0 (revision 385)
Property changes on: perl/5.36.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl/5.36.0-ppc32
===================================================================
--- perl/5.36.0-ppc32 (revision 384)
+++ perl/5.36.0-ppc32 (revision 385)
Property changes on: perl/5.36.0-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl/5.36.0-x86_32
===================================================================
--- perl/5.36.0-x86_32 (revision 384)
+++ perl/5.36.0-x86_32 (revision 385)
Property changes on: perl/5.36.0-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-alien-build/2.80/Makefile
===================================================================
--- perl-modules/perl-alien-build/2.80/Makefile (nonexistent)
+++ perl-modules/perl-alien-build/2.80/Makefile (revision 385)
@@ -0,0 +1,290 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/Alien-Build
+
+REQUIRES = dev/perl/5.36.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.80
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/Alien-Build/Alien-Build-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/Alien-Build-$(version)
+src_dir_name = Alien-Build-$(version)
+doc_dir_name = perl-alien-build-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-alien-build
+PERL_PKG_VERSION = 2.80
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = Alien Build
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter -Wno-attributes
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-alien-build module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a INSTALL LICENSE README SUPPORT \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-alien-build/2.80/PATCHES
===================================================================
Index: perl-modules/perl-alien-build/2.80/perl-alien-build-pkg-description.in
===================================================================
--- perl-modules/perl-alien-build/2.80/perl-alien-build-pkg-description.in (nonexistent)
+++ perl-modules/perl-alien-build/2.80/perl-alien-build-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-alien-build: perl-alien-build @VERSION@ (Alien Build)
+perl-alien-build:
+perl-alien-build: Alien::Build - Build external dependencies for use in CPAN.
+perl-alien-build:
+perl-alien-build:
+perl-alien-build:
+perl-alien-build:
+perl-alien-build:
+perl-alien-build:
+perl-alien-build:
+perl-alien-build:
Index: perl-modules/perl-alien-build/2.80/perl-alien-build-pkg-install.sh.in
===================================================================
--- perl-modules/perl-alien-build/2.80/perl-alien-build-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-alien-build/2.80/perl-alien-build-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "Alien::Build|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 20:08:05 2024: C<Module> L<Alien::Build|Alien::Build>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 2.80>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-alien-build/2.80/perl-alien-build-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-alien-build/2.80
===================================================================
--- perl-modules/perl-alien-build/2.80 (nonexistent)
+++ perl-modules/perl-alien-build/2.80 (revision 385)
Property changes on: perl-modules/perl-alien-build/2.80
___________________________________________________________________
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: perl-modules/perl-alien-libxml2/0.19/Makefile
===================================================================
--- perl-modules/perl-alien-libxml2/0.19/Makefile (nonexistent)
+++ perl-modules/perl-alien-libxml2/0.19/Makefile (revision 385)
@@ -0,0 +1,291 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/Alien-Libxml2
+
+REQUIRES = dev/perl-modules/perl-alien-build/2.80
+REQUIRES += libs/libxml2/2.11.4
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 0.19
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/Alien-Libxml2/Alien-Libxml2-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/Alien-Libxml2-$(version)
+src_dir_name = Alien-Libxml2-$(version)
+doc_dir_name = perl-alien-libxml2-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-alien-libxml2
+PERL_PKG_VERSION = 0.19
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = Alien Libxml2
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter -Wno-attributes
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-alien-libxml2 module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a INSTALL LICENSE README \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-alien-libxml2/0.19/PATCHES
===================================================================
Index: perl-modules/perl-alien-libxml2/0.19/perl-alien-libxml2-pkg-description.in
===================================================================
--- perl-modules/perl-alien-libxml2/0.19/perl-alien-libxml2-pkg-description.in (nonexistent)
+++ perl-modules/perl-alien-libxml2/0.19/perl-alien-libxml2-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-alien-libxml2: perl-alien-libxml2 @VERSION@ (Alien Libxml2)
+perl-alien-libxml2:
+perl-alien-libxml2: Alien::Libxml2 - Install the C libxml2 library on your system.
+perl-alien-libxml2:
+perl-alien-libxml2:
+perl-alien-libxml2:
+perl-alien-libxml2:
+perl-alien-libxml2:
+perl-alien-libxml2:
+perl-alien-libxml2:
+perl-alien-libxml2:
Index: perl-modules/perl-alien-libxml2/0.19/perl-alien-libxml2-pkg-install.sh.in
===================================================================
--- perl-modules/perl-alien-libxml2/0.19/perl-alien-libxml2-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-alien-libxml2/0.19/perl-alien-libxml2-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "Alien::Libxml2|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 20:22:18 2024: C<Module> L<Alien::Libxml2|Alien::Libxml2>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 0.19>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-alien-libxml2/0.19/perl-alien-libxml2-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-alien-libxml2/0.19
===================================================================
--- perl-modules/perl-alien-libxml2/0.19 (nonexistent)
+++ perl-modules/perl-alien-libxml2/0.19 (revision 385)
Property changes on: perl-modules/perl-alien-libxml2/0.19
___________________________________________________________________
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: perl-modules/perl-b-c/1.57/Makefile
===================================================================
--- perl-modules/perl-b-c/1.57/Makefile (revision 384)
+++ perl-modules/perl-b-c/1.57/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -84,7 +90,7 @@
#
PERL_PKG_NAME = perl-b-c
PERL_PKG_VERSION = 1.57
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-b-c/1.57
===================================================================
--- perl-modules/perl-b-c/1.57 (revision 384)
+++ perl-modules/perl-b-c/1.57 (revision 385)
Property changes on: perl-modules/perl-b-c/1.57
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-dbd-mysql/4.050/Makefile
===================================================================
--- perl-modules/perl-dbd-mysql/4.050/Makefile (revision 384)
+++ perl-modules/perl-dbd-mysql/4.050/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -84,7 +90,7 @@
#
PERL_PKG_NAME = perl-dbd-mysql
PERL_PKG_VERSION = 4.050
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-dbd-mysql/4.050
===================================================================
--- perl-modules/perl-dbd-mysql/4.050 (revision 384)
+++ perl-modules/perl-dbd-mysql/4.050 (revision 385)
Property changes on: perl-modules/perl-dbd-mysql/4.050
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-dbd-pg/3.16.0/Makefile
===================================================================
--- perl-modules/perl-dbd-pg/3.16.0/Makefile (revision 384)
+++ perl-modules/perl-dbd-pg/3.16.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -83,7 +89,7 @@
#
PERL_PKG_NAME = perl-dbd-pg
PERL_PKG_VERSION = 3.16.0
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-dbd-pg/3.16.0
===================================================================
--- perl-modules/perl-dbd-pg/3.16.0 (revision 384)
+++ perl-modules/perl-dbd-pg/3.16.0 (revision 385)
Property changes on: perl-modules/perl-dbd-pg/3.16.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-dbi/1.643/Makefile
===================================================================
--- perl-modules/perl-dbi/1.643/Makefile (revision 384)
+++ perl-modules/perl-dbi/1.643/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-dbi
PERL_PKG_VERSION = 1.643
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-dbi/1.643
===================================================================
--- perl-modules/perl-dbi/1.643 (revision 384)
+++ perl-modules/perl-dbi/1.643 (revision 385)
Property changes on: perl-modules/perl-dbi/1.643
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-devel-checklib/1.16/Makefile
===================================================================
--- perl-modules/perl-devel-checklib/1.16/Makefile (revision 384)
+++ perl-modules/perl-devel-checklib/1.16/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-devel-checklib
PERL_PKG_VERSION = 1.16
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-devel-checklib/1.16
===================================================================
--- perl-modules/perl-devel-checklib/1.16 (revision 384)
+++ perl-modules/perl-devel-checklib/1.16 (revision 385)
Property changes on: perl-modules/perl-devel-checklib/1.16
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-error/0.17029/Makefile
===================================================================
--- perl-modules/perl-error/0.17029/Makefile (revision 384)
+++ perl-modules/perl-error/0.17029/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-error
PERL_PKG_VERSION = 0.17029
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-error/0.17029
===================================================================
--- perl-modules/perl-error/0.17029 (revision 384)
+++ perl-modules/perl-error/0.17029 (revision 385)
Property changes on: perl-modules/perl-error/0.17029
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-io-handle/1.50/Makefile
===================================================================
--- perl-modules/perl-io-handle/1.50/Makefile (revision 384)
+++ perl-modules/perl-io-handle/1.50/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-io-handle
PERL_PKG_VERSION = 1.50
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-io-handle/1.50
===================================================================
--- perl-modules/perl-io-handle/1.50 (revision 384)
+++ perl-modules/perl-io-handle/1.50 (revision 385)
Property changes on: perl-modules/perl-io-handle/1.50
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-io-socket-ssl/2.075/Makefile
===================================================================
--- perl-modules/perl-io-socket-ssl/2.075/Makefile (revision 384)
+++ perl-modules/perl-io-socket-ssl/2.075/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -82,7 +88,7 @@
#
PERL_PKG_NAME = perl-io-socket-ssl
PERL_PKG_VERSION = 2.075
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-io-socket-ssl/2.075
===================================================================
--- perl-modules/perl-io-socket-ssl/2.075 (revision 384)
+++ perl-modules/perl-io-socket-ssl/2.075 (revision 385)
Property changes on: perl-modules/perl-io-socket-ssl/2.075
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-locale-gettext/1.07/Makefile
===================================================================
--- perl-modules/perl-locale-gettext/1.07/Makefile (revision 384)
+++ perl-modules/perl-locale-gettext/1.07/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-locale-gettext
PERL_PKG_VERSION = 1.07
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-locale-gettext/1.07
===================================================================
--- perl-modules/perl-locale-gettext/1.07 (revision 384)
+++ perl-modules/perl-locale-gettext/1.07 (revision 385)
Property changes on: perl-modules/perl-locale-gettext/1.07
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-mailtools/2.21/Makefile
===================================================================
--- perl-modules/perl-mailtools/2.21/Makefile (revision 384)
+++ perl-modules/perl-mailtools/2.21/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -83,7 +89,7 @@
#
PERL_PKG_NAME = perl-mailtools
PERL_PKG_VERSION = 2.21
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-mailtools/2.21
===================================================================
--- perl-modules/perl-mailtools/2.21 (revision 384)
+++ perl-modules/perl-mailtools/2.21 (revision 385)
Property changes on: perl-modules/perl-mailtools/2.21
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-net-domain/3.14/Makefile
===================================================================
--- perl-modules/perl-net-domain/3.14/Makefile (revision 384)
+++ perl-modules/perl-net-domain/3.14/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-net-domain
PERL_PKG_VERSION = 3.14
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-net-domain/3.14
===================================================================
--- perl-modules/perl-net-domain/3.14 (revision 384)
+++ perl-modules/perl-net-domain/3.14 (revision 385)
Property changes on: perl-modules/perl-net-domain/3.14
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-time-date/0.05/Makefile
===================================================================
--- perl-modules/perl-time-date/0.05/Makefile (revision 384)
+++ perl-modules/perl-time-date/0.05/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-time-date
PERL_PKG_VERSION = 0.05
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-time-date/0.05
===================================================================
--- perl-modules/perl-time-date/0.05 (revision 384)
+++ perl-modules/perl-time-date/0.05 (revision 385)
Property changes on: perl-modules/perl-time-date/0.05
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-uri/5.16/Makefile
===================================================================
--- perl-modules/perl-uri/5.16/Makefile (revision 384)
+++ perl-modules/perl-uri/5.16/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -81,7 +87,7 @@
#
PERL_PKG_NAME = perl-uri
PERL_PKG_VERSION = 5.16
-PERL_PKG_ARCH = $(TOOLCHAIN)
+PERL_PKG_ARCH = $(PKGARCH)
PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PERL_PKG_GROUP = $(PKG_GROUP)
Index: perl-modules/perl-uri/5.16
===================================================================
--- perl-modules/perl-uri/5.16 (revision 384)
+++ perl-modules/perl-uri/5.16 (revision 385)
Property changes on: perl-modules/perl-uri/5.16
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: perl-modules/perl-xml-libxml/2.0208/Makefile
===================================================================
--- perl-modules/perl-xml-libxml/2.0208/Makefile (nonexistent)
+++ perl-modules/perl-xml-libxml/2.0208/Makefile (revision 385)
@@ -0,0 +1,298 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/XML-LibXML
+
+REQUIRES = dev/perl-modules/perl-xml-sax/1.02
+REQUIRES += dev/perl-modules/perl-alien-libxml2/0.19
+REQUIRES += libs/libxml2/2.11.4
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.0208
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/XML-LibXML/XML-LibXML-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/XML-LibXML-$(version)
+src_dir_name = XML-LibXML-$(version)
+doc_dir_name = perl-xml-libxml-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-xml-libxml
+PERL_PKG_VERSION = 2.0208
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = XML LibXML
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter -Wno-attributes -Wno-incompatible-pointer-types
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-xml-libxml module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ @chmod 755 $(PERL_PKG)/usr/lib$(LIBSUFFIX)/perl5/vendor_perl/auto/XML/LibXML/LibXML.so
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @cat $(SRC_DIR)/HACKING.txt > $(PERL_PKG)/usr/share/doc/$(doc_dir_name)/HACKING
+ @( cd $(SRC_DIR) ; \
+ cp -a LICENSE README TODO \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ # ======= Strip binaries =======
+ @( cd $(PERL_PKG) ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-xml-libxml/2.0208/PATCHES
===================================================================
Index: perl-modules/perl-xml-libxml/2.0208/perl-xml-libxml-pkg-description.in
===================================================================
--- perl-modules/perl-xml-libxml/2.0208/perl-xml-libxml-pkg-description.in (nonexistent)
+++ perl-modules/perl-xml-libxml/2.0208/perl-xml-libxml-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-xml-libxml: perl-xml-libxml @VERSION@ (XML LibXML)
+perl-xml-libxml:
+perl-xml-libxml: This module implements a Perl interface to the Gnome libxml2 library
+perl-xml-libxml: which provides interfaces for parsing and manipulating XML files.
+perl-xml-libxml: This module allows Perl programmers to make use of the highly
+perl-xml-libxml: capable validating XML parser and the high performance
+perl-xml-libxml: DOM implementation.
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml:
+perl-xml-libxml:
Index: perl-modules/perl-xml-libxml/2.0208/perl-xml-libxml-pkg-install.sh.in
===================================================================
--- perl-modules/perl-xml-libxml/2.0208/perl-xml-libxml-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-xml-libxml/2.0208/perl-xml-libxml-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "XML::LibXML|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 20:35:55 2024: C<Module> L<XML::LibXML|XML::LibXML>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 2.0208>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-xml-libxml/2.0208/perl-xml-libxml-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-xml-libxml/2.0208
===================================================================
--- perl-modules/perl-xml-libxml/2.0208 (nonexistent)
+++ perl-modules/perl-xml-libxml/2.0208 (revision 385)
Property changes on: perl-modules/perl-xml-libxml/2.0208
___________________________________________________________________
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: perl-modules/perl-xml-namespace/1.12/Makefile
===================================================================
--- perl-modules/perl-xml-namespace/1.12/Makefile (nonexistent)
+++ perl-modules/perl-xml-namespace/1.12/Makefile (revision 385)
@@ -0,0 +1,290 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/XML-NamespaceSupport
+
+REQUIRES = dev/perl/5.36.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.12
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/XML-NamespaceSupport/XML-NamespaceSupport-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/XML-NamespaceSupport-$(version)
+src_dir_name = XML-NamespaceSupport-$(version)
+doc_dir_name = perl-xml-namespace-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-xml-namespace
+PERL_PKG_VERSION = 1.12
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = XML NamespaceSupport
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-xml-namespace module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a LICENSE README \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-xml-namespace/1.12/PATCHES
===================================================================
Index: perl-modules/perl-xml-namespace/1.12/perl-xml-namespace-pkg-description.in
===================================================================
--- perl-modules/perl-xml-namespace/1.12/perl-xml-namespace-pkg-description.in (nonexistent)
+++ perl-modules/perl-xml-namespace/1.12/perl-xml-namespace-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-xml-namespace: perl-xml-namespace @VERSION@ (XML NamespaceSupport)
+perl-xml-namespace:
+perl-xml-namespace: This module offers a simple way to process namespaced XML names
+perl-xml-namespace: (unames) from within any application that may need them. It also
+perl-xml-namespace: helps maintain a prefix to namespace URI map, and provides
+perl-xml-namespace: a number of basic checks.
+perl-xml-namespace:
+perl-xml-namespace:
+perl-xml-namespace:
+perl-xml-namespace:
+perl-xml-namespace:
Index: perl-modules/perl-xml-namespace/1.12/perl-xml-namespace-pkg-install.sh.in
===================================================================
--- perl-modules/perl-xml-namespace/1.12/perl-xml-namespace-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-xml-namespace/1.12/perl-xml-namespace-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "XML::NamespaceSupport|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 13:13:10 2024: C<Module> L<XML::NamespaceSupport|XML::NamespaceSupport>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 1.12>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-xml-namespace/1.12/perl-xml-namespace-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-xml-namespace/1.12
===================================================================
--- perl-modules/perl-xml-namespace/1.12 (nonexistent)
+++ perl-modules/perl-xml-namespace/1.12 (revision 385)
Property changes on: perl-modules/perl-xml-namespace/1.12
___________________________________________________________________
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: perl-modules/perl-xml-parser/2.46/Makefile
===================================================================
--- perl-modules/perl-xml-parser/2.46/Makefile (nonexistent)
+++ perl-modules/perl-xml-parser/2.46/Makefile (revision 385)
@@ -0,0 +1,297 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/XML-Parser
+
+REQUIRES = dev/perl/5.36.0
+REQUIRES += libs/expat/2.5.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.46
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/XML-Parser/XML-Parser-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/XML-Parser-$(version)
+src_dir_name = XML-Parser-$(version)
+doc_dir_name = perl-xml-parser-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-xml-parser
+PERL_PKG_VERSION = 2.46
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = XML Parser
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter -Wno-attributes
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-xml-parser module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ @chmod 755 $(PERL_PKG)/usr/lib$(LIBSUFFIX)/perl5/vendor_perl/auto/XML/Parser/Expat/Expat.so
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(CURDIR)/copying/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @cp -a $(CURDIR)/copying/LICENSE $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a README \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ # ======= Strip binaries =======
+ @( cd $(PERL_PKG) ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-xml-parser/2.46/PATCHES
===================================================================
Index: perl-modules/perl-xml-parser/2.46/copying/LICENSE
===================================================================
--- perl-modules/perl-xml-parser/2.46/copying/LICENSE (nonexistent)
+++ perl-modules/perl-xml-parser/2.46/copying/LICENSE (revision 385)
@@ -0,0 +1,362 @@
+
+ The GNU General Public License, Version 1, February 1989
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 1998 by Gisle Aas.
+
+This is free software, licensed under:
+
+ The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+ - "Package" refers to the collection of files distributed by the Copyright
+ Holder, and derivatives of that collection of files created through
+ textual modification.
+ - "Standard Version" refers to such a Package if it has not been modified,
+ or has been modified in accordance with the wishes of the Copyright
+ Holder.
+ - "Copyright Holder" is whoever is named in the copyright or copyrights for
+ the package.
+ - "You" is you, if you're thinking about copying or distributing this Package.
+ - "Reasonable copying fee" is whatever you can justify on the basis of media
+ cost, duplication charges, time of people involved, and so on. (You will
+ not be required to justify it to the Copyright Holder, but only to the
+ computing community at large as a market that must bear the fee.)
+ - "Freely Available" means that no fee is charged for the item itself, though
+ there may be fees involved in handling the item. It also means that
+ recipients of the item may redistribute it under the same conditions they
+ received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major archive site
+ such as ftp.uu.net, or by allowing the Copyright Holder to include your
+ modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict with
+ standard executables, which must also be provided, and provide a separate
+ manual page for each non-standard executable that clearly documents how it
+ differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where to
+ get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of the Package
+ with your modifications.
+
+ c) accompany any non-standard executables with their corresponding Standard
+ Version executables, giving the non-standard executables non-standard
+ names, and clearly documenting the differences in manual pages (or
+ equivalent), together with instructions on where to get the Standard
+ Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+
Index: perl-modules/perl-xml-parser/2.46/perl-xml-parser-pkg-description.in
===================================================================
--- perl-modules/perl-xml-parser/2.46/perl-xml-parser-pkg-description.in (nonexistent)
+++ perl-modules/perl-xml-parser/2.46/perl-xml-parser-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-xml-parser: perl-xml-parser @VERSION@ (XML Parser)
+perl-xml-parser:
+perl-xml-parser: This module provides ways to parse XML documents. It is built
+perl-xml-parser: on top of XML::Parser::Expat, which is a lower level interface
+perl-xml-parser: to James Clark's expat library.
+perl-xml-parser:
+perl-xml-parser:
+perl-xml-parser:
+perl-xml-parser:
+perl-xml-parser:
+perl-xml-parser:
Index: perl-modules/perl-xml-parser/2.46/perl-xml-parser-pkg-install.sh.in
===================================================================
--- perl-modules/perl-xml-parser/2.46/perl-xml-parser-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-xml-parser/2.46/perl-xml-parser-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "XML::Parser|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 17:51:42 2024: C<Module> L<XML::Parser|XML::Parser>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 2.46>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-xml-parser/2.46/perl-xml-parser-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-xml-parser/2.46
===================================================================
--- perl-modules/perl-xml-parser/2.46 (nonexistent)
+++ perl-modules/perl-xml-parser/2.46 (revision 385)
Property changes on: perl-modules/perl-xml-parser/2.46
___________________________________________________________________
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: perl-modules/perl-xml-sax/1.02/Makefile
===================================================================
--- perl-modules/perl-xml-sax/1.02/Makefile (nonexistent)
+++ perl-modules/perl-xml-sax/1.02/Makefile (revision 385)
@@ -0,0 +1,291 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/XML-SAX
+
+REQUIRES = dev/perl-modules/perl-xml-namespace/1.12
+REQUIRES += dev/perl-modules/perl-xml-sax-base/1.09
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.02
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/XML-SAX/XML-SAX-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/XML-SAX-$(version)
+src_dir_name = XML-SAX-$(version)
+doc_dir_name = perl-xml-sax-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-xml-sax
+PERL_PKG_VERSION = 1.02
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = XML SAX
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-xml-sax module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a LICENSE README \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-xml-sax/1.02/PATCHES
===================================================================
--- perl-modules/perl-xml-sax/1.02/PATCHES (nonexistent)
+++ perl-modules/perl-xml-sax/1.02/PATCHES (revision 385)
@@ -0,0 +1,2 @@
+
+../../../../sources/packages/d/perl-modules/CPAN/XML-SAX/patches/XML-SAX-1.02-no-prompt.patch -p0
Index: perl-modules/perl-xml-sax/1.02/perl-xml-sax-pkg-description.in
===================================================================
--- perl-modules/perl-xml-sax/1.02/perl-xml-sax-pkg-description.in (nonexistent)
+++ perl-modules/perl-xml-sax/1.02/perl-xml-sax-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-xml-sax: perl-xml-sax @VERSION@ (XML SAX)
+perl-xml-sax:
+perl-xml-sax: XML::SAX consists of several framework classes for using and
+perl-xml-sax: building Perl SAX2 XML parsers, filters, and drivers. It is
+perl-xml-sax: designed around the need to be able to "plug in" different SAX
+perl-xml-sax: parsers to an application without requiring programmer
+perl-xml-sax: intervention.
+perl-xml-sax:
+perl-xml-sax:
+perl-xml-sax:
+perl-xml-sax:
Index: perl-modules/perl-xml-sax/1.02/perl-xml-sax-pkg-install.sh.in
===================================================================
--- perl-modules/perl-xml-sax/1.02/perl-xml-sax-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-xml-sax/1.02/perl-xml-sax-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "XML::SAX|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 16:30:46 2024: C<Module> L<XML::SAX|XML::SAX>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 1.02>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-xml-sax/1.02/perl-xml-sax-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-xml-sax/1.02
===================================================================
--- perl-modules/perl-xml-sax/1.02 (nonexistent)
+++ perl-modules/perl-xml-sax/1.02 (revision 385)
Property changes on: perl-modules/perl-xml-sax/1.02
___________________________________________________________________
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: perl-modules/perl-xml-sax-base/1.09/Makefile
===================================================================
--- perl-modules/perl-xml-sax-base/1.09/Makefile (nonexistent)
+++ perl-modules/perl-xml-sax-base/1.09/Makefile (revision 385)
@@ -0,0 +1,291 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/XML-SAX-Base
+
+REQUIRES = dev/perl/5.36.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.09
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/XML-SAX-Base/XML-SAX-Base-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/XML-SAX-Base-$(version)
+src_dir_name = XML-SAX-Base-$(version)
+doc_dir_name = perl-xml-sax-base-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-xml-sax-base
+PERL_PKG_VERSION = 1.09
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = XML SAX Base
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-xml-sax-base module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(CURDIR)/copying/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @cp -a $(CURDIR)/copying/LICENSE $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a README \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-xml-sax-base/1.09/PATCHES
===================================================================
Index: perl-modules/perl-xml-sax-base/1.09/copying/LICENSE
===================================================================
--- perl-modules/perl-xml-sax-base/1.09/copying/LICENSE (nonexistent)
+++ perl-modules/perl-xml-sax-base/1.09/copying/LICENSE (revision 385)
@@ -0,0 +1,362 @@
+
+ The GNU General Public License, Version 1, February 1989
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 1998 by Gisle Aas.
+
+This is free software, licensed under:
+
+ The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+ - "Package" refers to the collection of files distributed by the Copyright
+ Holder, and derivatives of that collection of files created through
+ textual modification.
+ - "Standard Version" refers to such a Package if it has not been modified,
+ or has been modified in accordance with the wishes of the Copyright
+ Holder.
+ - "Copyright Holder" is whoever is named in the copyright or copyrights for
+ the package.
+ - "You" is you, if you're thinking about copying or distributing this Package.
+ - "Reasonable copying fee" is whatever you can justify on the basis of media
+ cost, duplication charges, time of people involved, and so on. (You will
+ not be required to justify it to the Copyright Holder, but only to the
+ computing community at large as a market that must bear the fee.)
+ - "Freely Available" means that no fee is charged for the item itself, though
+ there may be fees involved in handling the item. It also means that
+ recipients of the item may redistribute it under the same conditions they
+ received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major archive site
+ such as ftp.uu.net, or by allowing the Copyright Holder to include your
+ modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict with
+ standard executables, which must also be provided, and provide a separate
+ manual page for each non-standard executable that clearly documents how it
+ differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where to
+ get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of the Package
+ with your modifications.
+
+ c) accompany any non-standard executables with their corresponding Standard
+ Version executables, giving the non-standard executables non-standard
+ names, and clearly documenting the differences in manual pages (or
+ equivalent), together with instructions on where to get the Standard
+ Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+
Index: perl-modules/perl-xml-sax-base/1.09/perl-xml-sax-base-pkg-description.in
===================================================================
--- perl-modules/perl-xml-sax-base/1.09/perl-xml-sax-base-pkg-description.in (nonexistent)
+++ perl-modules/perl-xml-sax-base/1.09/perl-xml-sax-base-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-xml-sax-base: perl-xml-sax-base @VERSION@ (XML SAX Base)
+perl-xml-sax-base:
+perl-xml-sax-base: XML::SAX::Base is intended for use as a base class for SAX filter
+perl-xml-sax-base: modules and XML parsers generating SAX events.
+perl-xml-sax-base:
+perl-xml-sax-base:
+perl-xml-sax-base:
+perl-xml-sax-base:
+perl-xml-sax-base:
+perl-xml-sax-base:
+perl-xml-sax-base:
Index: perl-modules/perl-xml-sax-base/1.09/perl-xml-sax-base-pkg-install.sh.in
===================================================================
--- perl-modules/perl-xml-sax-base/1.09/perl-xml-sax-base-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-xml-sax-base/1.09/perl-xml-sax-base-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "XML::SAX::Base|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 14:39:00 2024: C<Module> L<XML::SAX::Base|XML::SAX::Base>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 1.09>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-xml-sax-base/1.09/perl-xml-sax-base-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-xml-sax-base/1.09
===================================================================
--- perl-modules/perl-xml-sax-base/1.09 (nonexistent)
+++ perl-modules/perl-xml-sax-base/1.09 (revision 385)
Property changes on: perl-modules/perl-xml-sax-base/1.09
___________________________________________________________________
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: perl-modules/perl-xml-sax-expat/0.51/Makefile
===================================================================
--- perl-modules/perl-xml-sax-expat/0.51/Makefile (nonexistent)
+++ perl-modules/perl-xml-sax-expat/0.51/Makefile (revision 385)
@@ -0,0 +1,298 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/XML-SAX-Expat
+
+REQUIRES = dev/perl-modules/perl-xml-parser/2.46
+REQUIRES += dev/perl-modules/perl-xml-sax/1.02
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 0.51
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/XML-SAX-Expat/XML-SAX-Expat-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/XML-SAX-Expat-$(version)
+src_dir_name = XML-SAX-Expat-$(version)
+doc_dir_name = perl-xml-sax-expat-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-xml-sax-expat
+PERL_PKG_VERSION = 0.51
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = XML SAX Expat
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @( cd $(SRC_DIR) ; \
+ for file in eg/counter.pl t/*.t Changes Expat.pm MANIFEST META.* Makefile.PL README ; do \
+ sed -i 's/\r//g' $${file} ; \
+ chmod a-x $${file} ; \
+ done ; \
+ )
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-xml-sax-expat module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(CURDIR)/copying/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @cp -a $(CURDIR)/copying/LICENSE $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a README \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-xml-sax-expat/0.51/PATCHES
===================================================================
Index: perl-modules/perl-xml-sax-expat/0.51/copying/LICENSE
===================================================================
--- perl-modules/perl-xml-sax-expat/0.51/copying/LICENSE (nonexistent)
+++ perl-modules/perl-xml-sax-expat/0.51/copying/LICENSE (revision 385)
@@ -0,0 +1,362 @@
+
+ The GNU General Public License, Version 1, February 1989
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 1998 by Gisle Aas.
+
+This is free software, licensed under:
+
+ The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+ - "Package" refers to the collection of files distributed by the Copyright
+ Holder, and derivatives of that collection of files created through
+ textual modification.
+ - "Standard Version" refers to such a Package if it has not been modified,
+ or has been modified in accordance with the wishes of the Copyright
+ Holder.
+ - "Copyright Holder" is whoever is named in the copyright or copyrights for
+ the package.
+ - "You" is you, if you're thinking about copying or distributing this Package.
+ - "Reasonable copying fee" is whatever you can justify on the basis of media
+ cost, duplication charges, time of people involved, and so on. (You will
+ not be required to justify it to the Copyright Holder, but only to the
+ computing community at large as a market that must bear the fee.)
+ - "Freely Available" means that no fee is charged for the item itself, though
+ there may be fees involved in handling the item. It also means that
+ recipients of the item may redistribute it under the same conditions they
+ received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major archive site
+ such as ftp.uu.net, or by allowing the Copyright Holder to include your
+ modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict with
+ standard executables, which must also be provided, and provide a separate
+ manual page for each non-standard executable that clearly documents how it
+ differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where to
+ get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of the Package
+ with your modifications.
+
+ c) accompany any non-standard executables with their corresponding Standard
+ Version executables, giving the non-standard executables non-standard
+ names, and clearly documenting the differences in manual pages (or
+ equivalent), together with instructions on where to get the Standard
+ Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+
Index: perl-modules/perl-xml-sax-expat/0.51/perl-xml-sax-expat-pkg-description.in
===================================================================
--- perl-modules/perl-xml-sax-expat/0.51/perl-xml-sax-expat-pkg-description.in (nonexistent)
+++ perl-modules/perl-xml-sax-expat/0.51/perl-xml-sax-expat-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-xml-sax-expat: perl-xml-sax-expat @VERSION@ (XML SAX Expat)
+perl-xml-sax-expat:
+perl-xml-sax-expat: This is an implementation of a SAX2 driver sitting on top of Expat
+perl-xml-sax-expat: (XML::Parser) which Ken MacLeod posted to perl-xml.
+perl-xml-sax-expat:
+perl-xml-sax-expat:
+perl-xml-sax-expat:
+perl-xml-sax-expat:
+perl-xml-sax-expat:
+perl-xml-sax-expat:
+perl-xml-sax-expat:
Index: perl-modules/perl-xml-sax-expat/0.51/perl-xml-sax-expat-pkg-install.sh.in
===================================================================
--- perl-modules/perl-xml-sax-expat/0.51/perl-xml-sax-expat-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-xml-sax-expat/0.51/perl-xml-sax-expat-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "XML::SAX::Expat|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 18:51:14 2024: C<Module> L<XML::SAX::Expat|XML::SAX::Expat>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 0.51>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-xml-sax-expat/0.51/perl-xml-sax-expat-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-xml-sax-expat/0.51
===================================================================
--- perl-modules/perl-xml-sax-expat/0.51 (nonexistent)
+++ perl-modules/perl-xml-sax-expat/0.51 (revision 385)
Property changes on: perl-modules/perl-xml-sax-expat/0.51
___________________________________________________________________
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: perl-modules/perl-xml-simple/2.25/Makefile
===================================================================
--- perl-modules/perl-xml-simple/2.25/Makefile (nonexistent)
+++ perl-modules/perl-xml-simple/2.25/Makefile (revision 385)
@@ -0,0 +1,290 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/perl-modules/CPAN/XML-Simple
+
+REQUIRES = dev/perl-modules/perl-xml-sax-expat/0.51
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.25
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/d/perl-modules/CPAN/XML-Simple/XML-Simple-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/XML-Simple-$(version)
+src_dir_name = XML-Simple-$(version)
+doc_dir_name = perl-xml-simple-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+PERL_PKG_NAME = perl-xml-simple
+PERL_PKG_VERSION = 2.25
+PERL_PKG_ARCH = $(PKGARCH)
+PERL_PKG_DISTRO_NAME = $(DISTRO_NAME)
+PERL_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+PERL_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+PERL_PKG_SHORT_DESCRIPTION = XML Simple
+PERL_PKG_URL = $(BUG_URL)
+PERL_PKG_LICENSE = GPLv1
+PERL_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-description
+PERL_PKG_DESCRIPTION_FILE_IN = $(PERL_PKG_NAME)-pkg-description.in
+PERL_PKG_INSTALL_SCRIPT = $(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-pkg-install.sh
+PERL_PKG_INSTALL_SCRIPT_IN = $(PERL_PKG_NAME)-pkg-install.sh.in
+
+PERL_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(PERL_PKG_NAME)-package
+
+pkg_basename = $(PERL_PKG_NAME)-$(PERL_PKG_VERSION)-$(PERL_PKG_ARCH)-$(PERL_PKG_DISTRO_NAME)-$(PERL_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(PERL_PKG)
+
+
+#
+# Common Perl5 Environment:
+# ========================
+#
+perl_environment = INSTALLDIRS=vendor
+
+perl_environment += PERL_LIB='$(TARGET_DEST_DIR)/usr/share/perl5'
+perl_environment += PERL_ARCHLIB='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5'
+perl_environment += PERL_INC='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += PERL_INCDEP='$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+
+perl_environment += SITELIBEXP='/usr/share/perl5/site_perl'
+perl_environment += SITEARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+perl_environment += VENDORLIBEXP='/usr/share/perl5/vendor_perl'
+perl_environment += VENDORARCHEXP='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += PERLPREFIX='/usr'
+perl_environment += INSTALLPRIVLIB='/usr/share/perl5'
+perl_environment += INSTALLARCHLIB='/usr/lib$(LIBSUFFIX)/perl5'
+
+perl_environment += SITEPREFIX='/usr'
+perl_environment += INSTALLSITELIB='/usr/share/perl5/site_perl'
+perl_environment += INSTALLSITEARCH='/usr/lib$(LIBSUFFIX)/perl5/site_perl'
+
+perl_environment += VENDORPREFIX='/usr'
+perl_environment += INSTALLVENDORLIB='/usr/share/perl5/vendor_perl'
+perl_environment += INSTALLVENDORARCH='/usr/lib$(LIBSUFFIX)/perl5/vendor_perl'
+
+perl_environment += INSTALLBIN='/usr/bin'
+perl_environment += INSTALLSITEBIN='/usr/bin'
+perl_environment += INSTALLVENDORBIN='/usr/bin'
+
+perl_environment += INSTALLSCRIPT='/usr/bin'
+perl_environment += INSTALLSITESCRIPT='/usr/bin'
+perl_environment += INSTALLVENDORSCRIPT='/usr/bin'
+
+perl_environment += INSTALLMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLSITEMAN1DIR='/usr/share/man/man1'
+perl_environment += INSTALLVENDORMAN1DIR='/usr/share/man/man1'
+
+perl_environment += INSTALLMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLSITEMAN3DIR='/usr/share/man/man3'
+perl_environment += INSTALLVENDORMAN3DIR='/usr/share/man/man3'
+
+#
+# HW Specific Perl5 Environment:
+# =============================
+#
+suppress-warnings = -Wno-unused-function -Wno-unused-parameter
+
+perl_environment += AR=$(AR)
+perl_environment += RANLIB=$(RANLIB)
+perl_environment += CC='$(CC) --sysroot=$(TARGET_DEST_DIR) $(ARCH_OPTIMIZATION) $(ARCH_FLAGS) $(ARCH_DEFS)'
+perl_environment += LD='$(CC) --sysroot=$(TARGET_DEST_DIR) -shared'
+perl_environment += LDFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCFLAGS='$(CFLAGS) -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE $(suppress-warnings)'
+perl_environment += LDDLFLAGS='$(LDFLAGS) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += CCCDLFLAGS='-fPIC'
+perl_environment += CCDLFLAGS='-Wl,-E -Wl,-rpath,/usr/lib$(LIBSUFFIX)/perl5/CORE'
+perl_environment += FULL_AR=$(AR)
+perl_environment += OSNAME=linux
+perl_environment += OSVERS=
+perl_environment += LIBC=
+
+#
+# Give the path of target machine PERL headers to the ExtUtils::MakeMaker for creating
+# the PERL_HDRS list in the resulting Makefile created by `perl Makefile.PL` command.
+#
+# see: _perl_header_files() fuction in the MM_Any.pm script to understand PERL_SRC env.
+#
+perl_src_hdrs = PERL_SRC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/perl5/CORE
+perl_src_hdrs += LANG=
+
+#
+# Module Specific Perl5 Environment:
+# =================================
+#
+
+perl_local_pod = usr/lib$(LIBSUFFIX)/perl5/perllocal.pod
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(perl_src_hdrs) $(PERL) Makefile.PL $(perl_environment) ; \
+ )
+ # ======= build the perl-xml-simple module =======
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) $(perl_environment) ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(PERL_PKG)
+ @( cd $(SRC_DIR) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(perl_environment) $(env_sysroot) ; \
+ )
+ @find $(PERL_PKG) -name '.packlist' -delete
+ @rm -f $(PERL_PKG)/$(perl_local_pod)
+ # ======= Install Documentation =======
+ @if [ -d $(PERL_PKG)/usr/share/man ]; then \
+ ( cd $(PERL_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/LICENSE $(PERL_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(PERL_PKG)/usr/share/doc/$(doc_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a LICENSE README \
+ $(PERL_PKG)/usr/share/doc/$(doc_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changes ]; then \
+ DOCSDIR=`echo $(PERL_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat Changes | head -n 1000 > $$DOCSDIR/Changes ; \
+ touch -r Changes $$DOCSDIR/Changes ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(PERL_PKG))
+ @touch $@
+
+$(PERL_PKG_DESCRIPTION_FILE): $(PERL_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(PERL_PKG_INSTALL_SCRIPT): $(PERL_PKG_INSTALL_SCRIPT_IN)
+ @cat $< | $(SED) -e "s,@PERL_LOCAL_POD@,$(perl_local_pod),g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG_INSTALL_SCRIPT)
+ @cp $(PERL_PKG_DESCRIPTION_FILE) $(PERL_PKG)/.DESCRIPTION
+ @cp $(PERL_PKG_INSTALL_SCRIPT) $(PERL_PKG)/.INSTALL
+ @chmod a+x $(PERL_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(PERL_PKG)/.REQUIRES
+ @echo "pkgname=$(PERL_PKG_NAME)" > $(PERL_PKG)/.PKGINFO ; \
+ echo "pkgver=$(PERL_PKG_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "arch=$(PERL_PKG_ARCH)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distroname=$(PERL_PKG_DISTRO_NAME)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "distrover=$(PERL_PKG_DISTRO_VERSION)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "group=$(PERL_PKG_GROUP)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(PERL_PKG_SHORT_DESCRIPTION)\"" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "url=$(PERL_PKG_URL)" >> $(PERL_PKG)/.PKGINFO ; \
+ echo "license=$(PERL_PKG_LICENSE)" >> $(PERL_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(PERL_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: perl-modules/perl-xml-simple/2.25/PATCHES
===================================================================
Index: perl-modules/perl-xml-simple/2.25/perl-xml-simple-pkg-description.in
===================================================================
--- perl-modules/perl-xml-simple/2.25/perl-xml-simple-pkg-description.in (nonexistent)
+++ perl-modules/perl-xml-simple/2.25/perl-xml-simple-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+perl-xml-simple: perl-xml-simple @VERSION@ (XML Simple)
+perl-xml-simple:
+perl-xml-simple: XML::Simple - An API for simple XML files.
+perl-xml-simple:
+perl-xml-simple:
+perl-xml-simple:
+perl-xml-simple:
+perl-xml-simple:
+perl-xml-simple:
+perl-xml-simple:
+perl-xml-simple:
Index: perl-modules/perl-xml-simple/2.25/perl-xml-simple-pkg-install.sh.in
===================================================================
--- perl-modules/perl-xml-simple/2.25/perl-xml-simple-pkg-install.sh.in (nonexistent)
+++ perl-modules/perl-xml-simple/2.25/perl-xml-simple-pkg-install.sh.in (revision 385)
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ if ! grep "XML::Simple|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
+ cat << EOF >> @PERL_LOCAL_POD@
+=head2 Wed Jan 10 19:08:18 2024: C<Module> L<XML::Simple|XML::Simple>
+
+=over 4
+
+=item *
+
+C<installed into: /usr/share/perl5/vendor_perl>
+
+=item *
+
+C<LINKTYPE: dynamic>
+
+=item *
+
+C<VERSION: 2.25>
+
+=item *
+
+C<EXE_FILES: >
+
+=back
+
+EOF
+ fi
+}
+
+# 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: perl-modules/perl-xml-simple/2.25/perl-xml-simple-pkg-install.sh.in
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: perl-modules/perl-xml-simple/2.25
===================================================================
--- perl-modules/perl-xml-simple/2.25 (nonexistent)
+++ perl-modules/perl-xml-simple/2.25 (revision 385)
Property changes on: perl-modules/perl-xml-simple/2.25
___________________________________________________________________
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: pkg-config/0.29.2/Makefile
===================================================================
--- pkg-config/0.29.2/Makefile (revision 384)
+++ pkg-config/0.29.2/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -84,7 +90,7 @@
#
PCONFIG_PKG_NAME = pkg-config
PCONFIG_PKG_VERSION = 0.29.2
-PCONFIG_PKG_ARCH = $(TOOLCHAIN)
+PCONFIG_PKG_ARCH = $(PKGARCH)
PCONFIG_PKG_DISTRO_NAME = $(DISTRO_NAME)
PCONFIG_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
PCONFIG_PKG_GROUP = $(PKG_GROUP)
Index: pkg-config/0.29.2
===================================================================
--- pkg-config/0.29.2 (revision 384)
+++ pkg-config/0.29.2 (revision 385)
Property changes on: pkg-config/0.29.2
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python2/2.7.18/Makefile
===================================================================
--- python2/2.7.18/Makefile (revision 384)
+++ python2/2.7.18/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: python2/2.7.18
===================================================================
--- python2/2.7.18 (revision 384)
+++ python2/2.7.18 (revision 385)
Property changes on: python2/2.7.18
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python2/2.7.18-ppc32
===================================================================
--- python2/2.7.18-ppc32 (revision 384)
+++ python2/2.7.18-ppc32 (revision 385)
Property changes on: python2/2.7.18-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python2/2.7.18-x86_32
===================================================================
--- python2/2.7.18-x86_32 (revision 384)
+++ python2/2.7.18-x86_32 (revision 385)
Property changes on: python2/2.7.18-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python2-modules/pip/20.3/Makefile
===================================================================
--- python2-modules/pip/20.3/Makefile (revision 384)
+++ python2-modules/pip/20.3/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: python2-modules/pip/20.3
===================================================================
--- python2-modules/pip/20.3 (revision 384)
+++ python2-modules/pip/20.3 (revision 385)
Property changes on: python2-modules/pip/20.3
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python2-modules/setuptools/44.0.0/Makefile
===================================================================
--- python2-modules/setuptools/44.0.0/Makefile (revision 384)
+++ python2-modules/setuptools/44.0.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: python2-modules/setuptools/44.0.0
===================================================================
--- python2-modules/setuptools/44.0.0 (revision 384)
+++ python2-modules/setuptools/44.0.0 (revision 385)
Property changes on: python2-modules/setuptools/44.0.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python3/3.10.8/Makefile
===================================================================
--- python3/3.10.8/Makefile (revision 384)
+++ python3/3.10.8/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: python3/3.10.8
===================================================================
--- python3/3.10.8 (revision 384)
+++ python3/3.10.8 (revision 385)
Property changes on: python3/3.10.8
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python3/3.10.8-ppc32
===================================================================
--- python3/3.10.8-ppc32 (revision 384)
+++ python3/3.10.8-ppc32 (revision 385)
Property changes on: python3/3.10.8-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python3/3.10.8-x86_32
===================================================================
--- python3/3.10.8-x86_32 (revision 384)
+++ python3/3.10.8-x86_32 (revision 385)
Property changes on: python3/3.10.8-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python3-modules/pip/22.2.2/Makefile
===================================================================
--- python3-modules/pip/22.2.2/Makefile (revision 384)
+++ python3-modules/pip/22.2.2/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: python3-modules/pip/22.2.2
===================================================================
--- python3-modules/pip/22.2.2 (revision 384)
+++ python3-modules/pip/22.2.2 (revision 385)
Property changes on: python3-modules/pip/22.2.2
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: python3-modules/setuptools/65.5.0/Makefile
===================================================================
--- python3-modules/setuptools/65.5.0/Makefile (revision 384)
+++ python3-modules/setuptools/65.5.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: python3-modules/setuptools/65.5.0
===================================================================
--- python3-modules/setuptools/65.5.0 (revision 384)
+++ python3-modules/setuptools/65.5.0 (revision 385)
Property changes on: python3-modules/setuptools/65.5.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: re2c/2.2/Makefile
===================================================================
--- re2c/2.2/Makefile (revision 384)
+++ re2c/2.2/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -54,7 +60,11 @@
SOURCE_REQUIRES = sources/packages/d/re2c
-REQUIRES = libs/glibc/2.36
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/12.2.0
+else
+REQUIRES = libs/glibc/2.37
+endif
# ======= __END_OF_REQUIRES__ =======
Index: re2c/2.2
===================================================================
--- re2c/2.2 (revision 384)
+++ re2c/2.2 (revision 385)
Property changes on: re2c/2.2
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: ruby/3.2.0/Makefile
===================================================================
--- ruby/3.2.0/Makefile (revision 384)
+++ ruby/3.2.0/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: ruby/3.2.0
===================================================================
--- ruby/3.2.0 (revision 384)
+++ ruby/3.2.0 (revision 385)
Property changes on: ruby/3.2.0
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: ruby/3.2.0-ppc32
===================================================================
--- ruby/3.2.0-ppc32 (revision 384)
+++ ruby/3.2.0-ppc32 (revision 385)
Property changes on: ruby/3.2.0-ppc32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: ruby/3.2.0-x86_32
===================================================================
--- ruby/3.2.0-x86_32 (revision 384)
+++ ruby/3.2.0-x86_32 (revision 385)
Property changes on: ruby/3.2.0-x86_32
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: subversion/1.14.1/Makefile
===================================================================
--- subversion/1.14.1/Makefile (revision 384)
+++ subversion/1.14.1/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
@@ -318,12 +324,12 @@
@tar -C $(SVN_PKG)/usr/share/doc/$(src_dir_name)/svn-book --strip-components=1 -xjf $(svn-book)
# ======= Remove toolchain path from target libtool *.la files =======
@( cd $(SVN_PKG)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,$(TARGET_DEST_DIR),,g" libsvn_auth_gnome_keyring-1.la libsvn_client-1.la \
- libsvn_delta-1.la libsvn_diff-1.la libsvn_fs-1.la \
- libsvn_fs_base-1.la libsvn_fs_fs-1.la libsvn_fs_util-1.la \
- libsvn_fs_x-1.la libsvn_ra-1.la libsvn_ra_local-1.la \
- libsvn_ra_serf-1.la libsvn_ra_svn-1.la libsvn_repos-1.la \
- libsvn_subr-1.la libsvn_wc-1.la ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libsvn_auth_gnome_keyring-1.la libsvn_client-1.la \
+ libsvn_delta-1.la libsvn_diff-1.la libsvn_fs-1.la \
+ libsvn_fs_base-1.la libsvn_fs_fs-1.la libsvn_fs_util-1.la \
+ libsvn_fs_x-1.la libsvn_ra-1.la libsvn_ra_local-1.la \
+ libsvn_ra_serf-1.la libsvn_ra_svn-1.la libsvn_repos-1.la \
+ libsvn_subr-1.la libsvn_wc-1.la libsvn_swig_perl-1.la ; \
)
# ======= Remove toolchain path from target pkg-config *.pc files =======
@( cd $(SVN_PKG)/usr/share/pkgconfig ; \
@@ -338,18 +344,18 @@
$(call install-into-devenv, $(SVN_PKG))
# ======= Tune libtool *.la search path to the target destination for development =======
@( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
- sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libsvn_auth_gnome_keyring-1.la libsvn_client-1.la \
- libsvn_delta-1.la libsvn_diff-1.la libsvn_fs-1.la \
- libsvn_fs_base-1.la libsvn_fs_fs-1.la libsvn_fs_util-1.la \
- libsvn_fs_x-1.la libsvn_ra-1.la libsvn_ra_local-1.la \
- libsvn_ra_serf-1.la libsvn_ra_svn-1.la libsvn_repos-1.la \
- libsvn_subr-1.la libsvn_wc-1.la ; \
- sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsvn_auth_gnome_keyring-1.la libsvn_client-1.la \
- libsvn_delta-1.la libsvn_diff-1.la libsvn_fs-1.la \
- libsvn_fs_base-1.la libsvn_fs_fs-1.la libsvn_fs_util-1.la \
- libsvn_fs_x-1.la libsvn_ra-1.la libsvn_ra_local-1.la \
- libsvn_ra_serf-1.la libsvn_ra_svn-1.la libsvn_repos-1.la \
- libsvn_subr-1.la libsvn_wc-1.la ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libsvn_auth_gnome_keyring-1.la libsvn_client-1.la \
+ libsvn_delta-1.la libsvn_diff-1.la libsvn_fs-1.la \
+ libsvn_fs_base-1.la libsvn_fs_fs-1.la libsvn_fs_util-1.la \
+ libsvn_fs_x-1.la libsvn_ra-1.la libsvn_ra_local-1.la \
+ libsvn_ra_serf-1.la libsvn_ra_svn-1.la libsvn_repos-1.la \
+ libsvn_subr-1.la libsvn_wc-1.la libsvn_swig_perl-1.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libsvn_auth_gnome_keyring-1.la libsvn_client-1.la \
+ libsvn_delta-1.la libsvn_diff-1.la libsvn_fs-1.la \
+ libsvn_fs_base-1.la libsvn_fs_fs-1.la libsvn_fs_util-1.la \
+ libsvn_fs_x-1.la libsvn_ra-1.la libsvn_ra_local-1.la \
+ libsvn_ra_serf-1.la libsvn_ra_svn-1.la libsvn_repos-1.la \
+ libsvn_subr-1.la libsvn_wc-1.la libsvn_swig_perl-1.la ; \
)
# ======= Tune pkg-config *.pc files to the target destination for development =======
@( cd $(TARGET_DEST_DIR)/usr/share/pkgconfig ; \
Index: subversion/1.14.1
===================================================================
--- subversion/1.14.1 (revision 384)
+++ subversion/1.14.1 (revision 385)
Property changes on: subversion/1.14.1
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: swig/4.0.2/Makefile
===================================================================
--- swig/4.0.2/Makefile (revision 384)
+++ swig/4.0.2/Makefile (revision 385)
@@ -9,7 +9,12 @@
COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
COMPONENT_TARGETS += $(HARDWARE_POIN2)
COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
@@ -42,6 +47,7 @@
COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
Index: swig/4.0.2
===================================================================
--- swig/4.0.2 (revision 384)
+++ swig/4.0.2 (revision 385)
Property changes on: swig/4.0.2
___________________________________________________________________
Modified: svn:ignore
## -30,6 +30,7 ##
.rk328x-glibc
.rk33xx-glibc
.rk339x-glibc
+.rk358x-glibc
.s8xx-glibc
.s9xx-glibc
.x86_64-glibc
Index: unifdef/2.12/Makefile
===================================================================
--- unifdef/2.12/Makefile (nonexistent)
+++ unifdef/2.12/Makefile (revision 385)
@@ -0,0 +1,204 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/d/unifdef
+
+
+ifeq ($(__USE_BUILT_GCC_LIBS__),yes)
+REQUIRES = dev/gcc/12.2.0
+else
+REQUIRES = libs/glibc/2.37
+endif
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 2.12
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/d/unifdef/unifdef-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/unifdef-$(version)
+src_dir_name = unifdef-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source-done
+
+
+PATCHES = PATCHES
+
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+UNIFDEF_PKG_NAME = unifdef
+UNIFDEF_PKG_VERSION = 2.12
+UNIFDEF_PKG_ARCH = $(PKGARCH)
+UNIFDEF_PKG_DISTRO_NAME = $(DISTRO_NAME)
+UNIFDEF_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+UNIFDEF_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+UNIFDEF_PKG_SHORT_DESCRIPTION = selectively C conditional compilation
+UNIFDEF_PKG_URL = $(BUG_URL)
+UNIFDEF_PKG_LICENSE = custom
+UNIFDEF_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(UNIFDEF_PKG_NAME)-pkg-description
+UNIFDEF_PKG_DESCRIPTION_FILE_IN = $(UNIFDEF_PKG_NAME)-pkg-description.in
+UNIFDEF_PKG_INSTALL_SCRIPT = $(UNIFDEF_PKG_NAME)-pkg-install.sh
+
+UNIFDEF_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(UNIFDEF_PKG_NAME)-package
+
+pkg_basename = $(UNIFDEF_PKG_NAME)-$(UNIFDEF_PKG_VERSION)-$(UNIFDEF_PKG_ARCH)-$(UNIFDEF_PKG_DISTRO_NAME)-$(UNIFDEF_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_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(UNIFDEF_PKG)
+
+
+unifdef_environment = CFLAGS="-isystem $(TARGET_DEST_DIR)/usr/include $(ARCH_FLAGS) $(OPTIMIZATION_FLAGS) -Wall"
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @cd $(SRC_DIR) && $(BUILD_ENVIRONMENT) $(unifdef_environment) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(UNIFDEF_PKG)/usr/bin
+ @mkdir -p $(UNIFDEF_PKG)/usr/share/man/man1
+ # ======= Install unifdef-$(version) =======
+ @( cd $(SRC_DIR) ; \
+ install -m0755 unifdef $(UNIFDEF_PKG)/usr/bin ; \
+ install -m0755 unifdefall.sh $(UNIFDEF_PKG)/usr/bin/unifdefall ; \
+ cat unifdef.1 | gzip -9c > $(UNIFDEF_PKG)/usr/share/man/man1/unifdef.1.gz ; \
+ )
+ @( cd $(UNIFDEF_PKG)/usr/share/man/man1 ; \
+ ln -sf unifdef.1.gz unifdefall.1.gz ; \
+ )
+ # ======= Install Documentation =======
+ @mkdir -p $(UNIFDEF_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/COPYING \
+ $(UNIFDEF_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(UNIFDEF_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a COPYING INSTALL README \
+ $(UNIFDEF_PKG)/usr/share/doc/$(src_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r Changelog ]; then \
+ DOCSDIR=`echo $(UNIFDEF_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat Changelog | head -n 1000 > $$DOCSDIR/Changelog ; \
+ touch -r Changelog $$DOCSDIR/Changelog ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(UNIFDEF_PKG))
+ # ======= Strip binaries =======
+ @( cd $(UNIFDEF_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(UNIFDEF_PKG_DESCRIPTION_FILE): $(UNIFDEF_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): $(install_target) $(UNIFDEF_PKG_DESCRIPTION_FILE) $(UNIFDEF_PKG_INSTALL_SCRIPT)
+ @cp $(UNIFDEF_PKG_DESCRIPTION_FILE) $(UNIFDEF_PKG)/.DESCRIPTION
+ @cp $(UNIFDEF_PKG_INSTALL_SCRIPT) $(UNIFDEF_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(UNIFDEF_PKG)/.REQUIRES
+ @echo "pkgname=$(UNIFDEF_PKG_NAME)" > $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "pkgver=$(UNIFDEF_PKG_VERSION)" >> $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "arch=$(UNIFDEF_PKG_ARCH)" >> $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "distroname=$(UNIFDEF_PKG_DISTRO_NAME)" >> $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "distrover=$(UNIFDEF_PKG_DISTRO_VERSION)" >> $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "group=$(UNIFDEF_PKG_GROUP)" >> $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(UNIFDEF_PKG_SHORT_DESCRIPTION)\"" >> $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "url=$(UNIFDEF_PKG_URL)" >> $(UNIFDEF_PKG)/.PKGINFO ; \
+ echo "license=$(UNIFDEF_PKG_LICENSE)" >> $(UNIFDEF_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(UNIFDEF_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: unifdef/2.12/PATCHES
===================================================================
Index: unifdef/2.12/unifdef-pkg-description.in
===================================================================
--- unifdef/2.12/unifdef-pkg-description.in (nonexistent)
+++ unifdef/2.12/unifdef-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+unifdef: unifdef @VERSION@ (selectively C conditional compilation)
+unifdef:
+unifdef: The unifdef utility selectively processes conditional
+unifdef: C preprocessor #if and #ifdef directives. It removes from a file
+unifdef: both the directives and the additional text that they delimit,
+unifdef: while otherwise leaving the file alone.
+unifdef:
+unifdef:
+unifdef:
+unifdef:
+unifdef:
Index: unifdef/2.12/unifdef-pkg-install.sh
===================================================================
--- unifdef/2.12/unifdef-pkg-install.sh (nonexistent)
+++ unifdef/2.12/unifdef-pkg-install.sh (revision 385)
@@ -0,0 +1,53 @@
+#!/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...
+}
+
+
+# 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: unifdef/2.12/unifdef-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: unifdef/2.12
===================================================================
--- unifdef/2.12 (nonexistent)
+++ unifdef/2.12 (revision 385)
Property changes on: unifdef/2.12
___________________________________________________________________
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: vala/0.56.6/Makefile
===================================================================
--- vala/0.56.6/Makefile (nonexistent)
+++ vala/0.56.6/Makefile (revision 385)
@@ -0,0 +1,294 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNOME/core/vala
+
+REQUIRES = libs/glib2/2.76.0
+REQUIRES += libs/libxslt/1.1.34
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 0.56.6
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNOME/core/vala/vala-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/vala-$(version)
+src_dir_name = vala-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+short-version = $(shell echo $(version) | cut -f1,2 -d'.')
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+VALA_PKG_NAME = vala
+VALA_PKG_VERSION = 0.56.6
+VALA_PKG_ARCH = $(PKGARCH)
+VALA_PKG_DISTRO_NAME = $(DISTRO_NAME)
+VALA_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+VALA_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+VALA_PKG_SHORT_DESCRIPTION = Vala Compiler for GObject
+VALA_PKG_URL = $(BUG_URL)
+VALA_PKG_LICENSE = LGPLv2.1
+VALA_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(VALA_PKG_NAME)-pkg-description
+VALA_PKG_DESCRIPTION_FILE_IN = $(VALA_PKG_NAME)-pkg-description.in
+VALA_PKG_INSTALL_SCRIPT = $(VALA_PKG_NAME)-pkg-install.sh
+
+VALA_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(VALA_PKG_NAME)-package
+
+pkg_basename = $(VALA_PKG_NAME)-$(VALA_PKG_VERSION)-$(VALA_PKG_ARCH)-$(VALA_PKG_DISTRO_NAME)-$(VALA_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(VALA_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+
+extra_configure_switches += --disable-valadoc
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+CFLAGS += -Wno-deprecated-declarations -Wno-incompatible-pointer-types -Wno-discarded-qualifiers
+CFLAGS += -Wno-unused-result -Wno-stringop-overflow -trigraphs
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(VALA_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ # ======= Install Documentation =======
+ @if [ -d $(VALA_PKG)/usr/share/man ]; then \
+ ( cd $(VALA_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(VALA_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING \
+ $(VALA_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(VALA_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a AUTHORS COPYING INSTALL README* THANKS \
+ $(VALA_PKG)/usr/share/doc/$(src_dir_name) ; \
+ ln -sf ../../devhelp/books/vala-$(short-version)\
+ $(VALA_PKG)/usr/share/doc/$(src_dir_name)/html ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(VALA_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r NEWS ]; then \
+ DOCSDIR=`echo $(VALA_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat NEWS | head -n 1000 > $$DOCSDIR/NEWS ; \
+ touch -r NEWS $$DOCSDIR/NEWS ; \
+ fi \
+ )
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(VALA_PKG)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libvala-?.??.la ; \
+ )
+ @( cd $(VALA_PKG)/usr/lib$(LIBSUFFIX)/vala-$(short-version) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libvalaccodegen.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(VALA_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvala-?.??.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libvala-?.??.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/vala-$(short-version) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvalaccodegen.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libvalaccodegen.la ; \
+ )
+ # ======= tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvala-?.??.pc vapigen-?.??.pc ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/bin ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" vala-gen-introspect-?.?? ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(VALA_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(VALA_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(VALA_PKG)/usr ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(VALA_PKG)/usr/lib$(LIBSUFFIX) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_LIB_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(VALA_PKG_DESCRIPTION_FILE): $(VALA_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): $(install_target) $(VALA_PKG_DESCRIPTION_FILE) $(VALA_PKG_INSTALL_SCRIPT)
+ @cp $(VALA_PKG_DESCRIPTION_FILE) $(VALA_PKG)/.DESCRIPTION
+ @cp $(VALA_PKG_INSTALL_SCRIPT) $(VALA_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(VALA_PKG)/.REQUIRES
+ @echo "pkgname=$(VALA_PKG_NAME)" > $(VALA_PKG)/.PKGINFO ; \
+ echo "pkgver=$(VALA_PKG_VERSION)" >> $(VALA_PKG)/.PKGINFO ; \
+ echo "arch=$(VALA_PKG_ARCH)" >> $(VALA_PKG)/.PKGINFO ; \
+ echo "distroname=$(VALA_PKG_DISTRO_NAME)" >> $(VALA_PKG)/.PKGINFO ; \
+ echo "distrover=$(VALA_PKG_DISTRO_VERSION)" >> $(VALA_PKG)/.PKGINFO ; \
+ echo "group=$(VALA_PKG_GROUP)" >> $(VALA_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(VALA_PKG_SHORT_DESCRIPTION)\"" >> $(VALA_PKG)/.PKGINFO ; \
+ echo "url=$(VALA_PKG_URL)" >> $(VALA_PKG)/.PKGINFO ; \
+ echo "license=$(VALA_PKG_LICENSE)" >> $(VALA_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(VALA_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: vala/0.56.6/PATCHES
===================================================================
Index: vala/0.56.6/vala-pkg-description.in
===================================================================
--- vala/0.56.6/vala-pkg-description.in (nonexistent)
+++ vala/0.56.6/vala-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+vala: vala @VERSION@ (Vala Compiler for GObject)
+vala:
+vala: Vala is a new programming language that aims to bring modern
+vala: programming language features to GNOME developers without imposing
+vala: any additional runtime requirements and without using a different
+vala: ABI compared to applications and libraries written in C. valac, the
+vala: Vala compiler, is a self-hosting compiler that translates Vala
+vala: source code into C source and header files. It uses the GObject
+vala: type system to create classes and interfaces declared in the Vala
+vala: source code.
+vala:
Index: vala/0.56.6/vala-pkg-install.sh
===================================================================
--- vala/0.56.6/vala-pkg-install.sh (nonexistent)
+++ vala/0.56.6/vala-pkg-install.sh (revision 385)
@@ -0,0 +1,53 @@
+#!/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...
+}
+
+
+# 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: vala/0.56.6/vala-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: vala/0.56.6
===================================================================
--- vala/0.56.6 (nonexistent)
+++ vala/0.56.6 (revision 385)
Property changes on: vala/0.56.6
___________________________________________________________________
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: vala/0.56.6-ppc32/Makefile
===================================================================
--- vala/0.56.6-ppc32/Makefile (nonexistent)
+++ vala/0.56.6-ppc32/Makefile (revision 385)
@@ -0,0 +1,215 @@
+
+COMPONENT_TARGETS = $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_PPC32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNOME/core/vala
+
+REQUIRES = dev/vala/0.56.6
+REQUIRES += libs/glib2/2.76.0-ppc32
+REQUIRES += libs/libxslt/1.1.34-ppc32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 0.56.6
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNOME/core/vala/vala-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/vala-$(version)
+src_dir_name = vala-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+short-version = $(shell echo $(version) | cut -f1,2 -d'.')
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+VALA_32_PKG_NAME = vala-x32
+VALA_32_PKG_VERSION = 0.56.6
+VALA_32_PKG_ARCH = $(PKGARCH)
+VALA_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+VALA_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+VALA_32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+VALA_32_PKG_SHORT_DESCRIPTION = Vala Compiler for GObject
+VALA_32_PKG_URL = $(BUG_URL)
+VALA_32_PKG_LICENSE = LGPLv2.1
+VALA_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(VALA_32_PKG_NAME)-pkg-description
+VALA_32_PKG_DESCRIPTION_FILE_IN = $(VALA_32_PKG_NAME)-pkg-description.in
+VALA_32_PKG_INSTALL_SCRIPT = $(VALA_32_PKG_NAME)-pkg-install.sh
+
+VALA_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(VALA_32_PKG_NAME)-package
+
+pkg_basename = $(VALA_32_PKG_NAME)-$(VALA_32_PKG_VERSION)-$(VALA_32_PKG_ARCH)-$(VALA_32_PKG_DISTRO_NAME)-$(VALA_32_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(VALA_32_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(MULTILIB_PPC32_SUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+
+extra_configure_switches += --bindir=/usr/bin/32
+
+extra_configure_switches += --disable-valadoc
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+CFLAGS += -Wno-deprecated-declarations -Wno-incompatible-pointer-types -Wno-discarded-qualifiers
+CFLAGS += -Wno-unused-result -Wno-stringop-overflow -trigraphs
+
+
+TARGET_BIN_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX)
+TARGET_LIB_RPATH = /lib$(MULTILIB_PPC32_SUFFIX):/usr/lib$(MULTILIB_PPC32_SUFFIX):/usr/lib/../lib$(MULTILIB_PPC32_SUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(VALA_32_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @rm -rf $(VALA_32_PKG)/usr/include
+ @rm -rf $(VALA_32_PKG)/usr/share
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(VALA_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libvala-?.??.la ; \
+ )
+ @( cd $(VALA_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX)/vala-$(short-version) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libvalaccodegen.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(VALA_32_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvala-?.??.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libvala-?.??.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/vala-$(short-version) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvalaccodegen.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libvalaccodegen.la ; \
+ )
+ # ======= tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_PPC32_SUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvala-?.??.pc vapigen-?.??.pc ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/bin/32 ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" vala-gen-introspect-?.?? ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(VALA_32_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(VALA_32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(VALA_32_PKG)/usr ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(VALA_32_PKG)/usr/lib$(MULTILIB_PPC32_SUFFIX) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_LIB_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(VALA_32_PKG_DESCRIPTION_FILE): $(VALA_32_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): $(install_target) $(VALA_32_PKG_DESCRIPTION_FILE) $(VALA_32_PKG_INSTALL_SCRIPT)
+ @cp $(VALA_32_PKG_DESCRIPTION_FILE) $(VALA_32_PKG)/.DESCRIPTION
+ @cp $(VALA_32_PKG_INSTALL_SCRIPT) $(VALA_32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(VALA_32_PKG)/.REQUIRES
+ @echo "pkgname=$(VALA_32_PKG_NAME)" > $(VALA_32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(VALA_32_PKG_VERSION)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "arch=$(VALA_32_PKG_ARCH)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "distroname=$(VALA_32_PKG_DISTRO_NAME)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "distrover=$(VALA_32_PKG_DISTRO_VERSION)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "group=$(VALA_32_PKG_GROUP)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(VALA_32_PKG_SHORT_DESCRIPTION)\"" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "url=$(VALA_32_PKG_URL)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "license=$(VALA_32_PKG_LICENSE)" >> $(VALA_32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(VALA_32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: vala/0.56.6-ppc32/PATCHES
===================================================================
Index: vala/0.56.6-ppc32/vala-x32-pkg-description.in
===================================================================
--- vala/0.56.6-ppc32/vala-x32-pkg-description.in (nonexistent)
+++ vala/0.56.6-ppc32/vala-x32-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+vala-x32: vala-x32 @VERSION@ (Vala Compiler for GObject)
+vala-x32:
+vala-x32: Vala is a new programming language that aims to bring modern
+vala-x32: programming language features to GNOME developers without imposing
+vala-x32: any additional runtime requirements and without using a different
+vala-x32: ABI compared to applications and libraries written in C. valac, the
+vala-x32: Vala compiler, is a self-hosting compiler that translates Vala
+vala-x32: source code into C source and header files. It uses the GObject
+vala-x32: type system to create classes and interfaces declared in the Vala
+vala-x32: source code.
+vala-x32:
Index: vala/0.56.6-ppc32/vala-x32-pkg-install.sh
===================================================================
--- vala/0.56.6-ppc32/vala-x32-pkg-install.sh (nonexistent)
+++ vala/0.56.6-ppc32/vala-x32-pkg-install.sh (revision 385)
@@ -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: vala/0.56.6-ppc32/vala-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: vala/0.56.6-ppc32
===================================================================
--- vala/0.56.6-ppc32 (nonexistent)
+++ vala/0.56.6-ppc32 (revision 385)
Property changes on: vala/0.56.6-ppc32
___________________________________________________________________
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: vala/0.56.6-x86_32/Makefile
===================================================================
--- vala/0.56.6-x86_32/Makefile (nonexistent)
+++ vala/0.56.6-x86_32/Makefile (revision 385)
@@ -0,0 +1,212 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC64)
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+CREATE_X86_32_PACKAGE = true
+
+
+include ../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNOME/core/vala
+
+REQUIRES = dev/vala/0.56.6
+REQUIRES += libs/glib2/2.76.0-x86_32
+REQUIRES += libs/libxslt/1.1.34-x86_32
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 0.56.6
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNOME/core/vala/vala-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/vala-$(version)
+src_dir_name = vala-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+short-version = $(shell echo $(version) | cut -f1,2 -d'.')
+
+
+####### Targets
+
+PKG_GROUP = dev
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+VALA_32_PKG_NAME = vala-x32
+VALA_32_PKG_VERSION = 0.56.6
+VALA_32_PKG_ARCH = $(PKGARCH)
+VALA_32_PKG_DISTRO_NAME = $(DISTRO_NAME)
+VALA_32_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+VALA_32_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+VALA_32_PKG_SHORT_DESCRIPTION = Vala Compiler for GObject
+VALA_32_PKG_URL = $(BUG_URL)
+VALA_32_PKG_LICENSE = LGPLv2.1
+VALA_32_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(VALA_32_PKG_NAME)-pkg-description
+VALA_32_PKG_DESCRIPTION_FILE_IN = $(VALA_32_PKG_NAME)-pkg-description.in
+VALA_32_PKG_INSTALL_SCRIPT = $(VALA_32_PKG_NAME)-pkg-install.sh
+
+VALA_32_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(VALA_32_PKG_NAME)-package
+
+pkg_basename = $(VALA_32_PKG_NAME)-$(VALA_32_PKG_VERSION)-$(VALA_32_PKG_ARCH)-$(VALA_32_PKG_DISTRO_NAME)-$(VALA_32_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(VALA_32_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(MULTILIB_X86_32_SUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+
+extra_configure_switches += --bindir=/usr/bin/32
+
+extra_configure_switches += --disable-valadoc
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+else
+extra_configure_switches += --enable-static=no
+endif
+extra_configure_switches += --enable-shared=yes
+
+
+CFLAGS += -Wno-deprecated-declarations -Wno-incompatible-pointer-types -Wno-discarded-qualifiers
+CFLAGS += -Wno-unused-result -Wno-stringop-overflow -trigraphs
+
+
+TARGET_BIN_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX)
+TARGET_LIB_RPATH = /lib$(MULTILIB_X86_32_SUFFIX):/usr/lib$(MULTILIB_X86_32_SUFFIX):/usr/lib/../lib$(MULTILIB_X86_32_SUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET32) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(VALA_32_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @rm -rf $(VALA_32_PKG)/usr/include
+ @rm -rf $(VALA_32_PKG)/usr/share
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(VALA_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libvala-?.??.la ; \
+ )
+ @( cd $(VALA_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX)/vala-$(short-version) ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libvalaccodegen.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(VALA_32_PKG))
+ # ======= tune libtool *.la search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvala-?.??.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libvala-?.??.la ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/vala-$(short-version) ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvalaccodegen.la ; \
+ sed -i "s,L/lib,L$(TARGET_DEST_DIR)/lib,g" libvalaccodegen.la ; \
+ )
+ # ======= tune pkg-config *.pc search path to the target destination for development =======
+ @( cd $(TARGET_DEST_DIR)/usr/lib$(MULTILIB_X86_32_SUFFIX)/pkgconfig ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" libvala-?.??.pc vapigen-?.??.pc ; \
+ )
+ @( cd $(TARGET_DEST_DIR)/usr/bin/32 ; \
+ sed -i "s,/usr,$(TARGET_DEST_DIR)/usr,g" vala-gen-introspect-?.?? ; \
+ )
+ # ======= Strip binaries =======
+ @( cd $(VALA_32_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifeq ($(__ENABLE_STATIC__),yes)
+ @( cd $(VALA_32_PKG) ; \
+ find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
+ )
+endif
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(VALA_32_PKG)/usr ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(VALA_32_PKG)/usr/lib$(MULTILIB_X86_32_SUFFIX) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_LIB_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(VALA_32_PKG_DESCRIPTION_FILE): $(VALA_32_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): $(install_target) $(VALA_32_PKG_DESCRIPTION_FILE) $(VALA_32_PKG_INSTALL_SCRIPT)
+ @cp $(VALA_32_PKG_DESCRIPTION_FILE) $(VALA_32_PKG)/.DESCRIPTION
+ @cp $(VALA_32_PKG_INSTALL_SCRIPT) $(VALA_32_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(VALA_32_PKG)/.REQUIRES
+ @echo "pkgname=$(VALA_32_PKG_NAME)" > $(VALA_32_PKG)/.PKGINFO ; \
+ echo "pkgver=$(VALA_32_PKG_VERSION)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "arch=$(VALA_32_PKG_ARCH)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "distroname=$(VALA_32_PKG_DISTRO_NAME)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "distrover=$(VALA_32_PKG_DISTRO_VERSION)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "group=$(VALA_32_PKG_GROUP)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(VALA_32_PKG_SHORT_DESCRIPTION)\"" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "url=$(VALA_32_PKG_URL)" >> $(VALA_32_PKG)/.PKGINFO ; \
+ echo "license=$(VALA_32_PKG_LICENSE)" >> $(VALA_32_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(VALA_32_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: vala/0.56.6-x86_32/PATCHES
===================================================================
Index: vala/0.56.6-x86_32/vala-x32-pkg-description.in
===================================================================
--- vala/0.56.6-x86_32/vala-x32-pkg-description.in (nonexistent)
+++ vala/0.56.6-x86_32/vala-x32-pkg-description.in (revision 385)
@@ -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------------------------------------------------------|
+vala-x32: vala-x32 @VERSION@ (Vala Compiler for GObject)
+vala-x32:
+vala-x32: Vala is a new programming language that aims to bring modern
+vala-x32: programming language features to GNOME developers without imposing
+vala-x32: any additional runtime requirements and without using a different
+vala-x32: ABI compared to applications and libraries written in C. valac, the
+vala-x32: Vala compiler, is a self-hosting compiler that translates Vala
+vala-x32: source code into C source and header files. It uses the GObject
+vala-x32: type system to create classes and interfaces declared in the Vala
+vala-x32: source code.
+vala-x32:
Index: vala/0.56.6-x86_32/vala-x32-pkg-install.sh
===================================================================
--- vala/0.56.6-x86_32/vala-x32-pkg-install.sh (nonexistent)
+++ vala/0.56.6-x86_32/vala-x32-pkg-install.sh (revision 385)
@@ -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: vala/0.56.6-x86_32/vala-x32-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: vala/0.56.6-x86_32
===================================================================
--- vala/0.56.6-x86_32 (nonexistent)
+++ vala/0.56.6-x86_32 (revision 385)
Property changes on: vala/0.56.6-x86_32
___________________________________________________________________
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
+*~