Radix cross Linux Build System

Cross-platform build system is designed to build distributions of different operating systems for a set of target devices

74 Commits   2 Branches   2 Tags
Index: 22.2.2/Makefile
===================================================================
--- 22.2.2/Makefile	(nonexistent)
+++ 22.2.2/Makefile	(revision 5)
@@ -0,0 +1,59 @@
+
+COMPONENT_TARGETS = $(HARDWARE_BUILD)
+
+include ../../../../../../build-system/constants.mk
+
+SOURCE_REQUIRES = build-system/3pp/sources/packages/python-modules/pip
+
+REQUIRES  = build-system/3pp/app/python3-modules/m2crypto/0.38.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+version         = 22.2.2
+tar_gz_archive  = $(BUILDSYSTEM)/3pp/sources/packages/python-modules/pip/pip-$(version).tar.gz
+SRC_ARCHIVE     = $(tar_gz_archive)
+SRC_DIR         = $(TARGET_BUILD_DIR)/pip-$(version)
+src_done        = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES = PATCHES
+
+build_target    = $(TARGET_BUILD_DIR)/.built
+install_target  = $(TARGET_BUILD_DIR)/.installed
+
+BUILD_TARGETS   = $(build_target)
+BUILD_TARGETS  += $(install_target)
+
+
+include ../../../../../../build-system/core.mk
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@( cd $(SRC_DIR) ; \
+	   $(BUILDSYSTEM)/usr/bin/python3 setup.py egg_info ; \
+	   $(BUILDSYSTEM)/usr/bin/python3 setup.py build ; \
+	 )
+	@touch $@
+
+$(install_target): $(build_target)
+	@echo -e "\n======= Installing setuptools-$(version) =======\n"
+	@( cd $(SRC_DIR) ; \
+	   $(BUILDSYSTEM)/usr/bin/python3 setup.py install --root=/ ; \
+	 )
+	@echo -e "\n======= Install Python3 wheel, PLY, pygments, cryptography packages =======\n"
+	@( cd $(BUILDSYSTEM)/usr/bin ; \
+	   rm -f pip ; ln -sf pip2 pip ; \
+	   ./pip3.10 install --upgrade wheel        2>/dev/null ; \
+	   ./pip3.10 install --upgrade ply          2>/dev/null ; \
+	   ./pip3.10 install --upgrade pygments     2>/dev/null ; \
+	   ./pip3.10 install --upgrade cryptography 2>/dev/null ; \
+	   ./pip3.10 install --upgrade mako         2>/dev/null ; \
+	 )
+	@echo -e "\n======= Setup PIP3 build-system variable =======\n"
+	@mkdir -p $(BUILDSYSTEM)/sbin && \
+	  echo "PIP3               := $(BUILDSYSTEM)/usr/bin/pip3"    >> $(BUILDSYSTEM)/sbin/.config
+	@touch $@
Index: 22.2.2/PATCHES
===================================================================
Index: 22.2.2
===================================================================
--- 22.2.2	(nonexistent)
+++ 22.2.2	(revision 5)

Property changes on: 22.2.2
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,51 ##
+
+# local config & object files
+build-config.mk
+sbin
+usr
+var
+
+# configure targets
+autom4te.cache
+.config
+config.log
+config.status
+configure
+
+# cpan configure targets
+.installed
+CPAN-Config.pm
+CPAN-install
+
+# Target build dirs
+.build-machine
+
+# Timestamps
+.makefile
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,51 ##
+
+# local config & object files
+build-config.mk
+sbin
+usr
+var
+
+# configure targets
+autom4te.cache
+.config
+config.log
+config.status
+configure
+
+# cpan configure targets
+.installed
+CPAN-Config.pm
+CPAN-install
+
+# Target build dirs
+.build-machine
+
+# Timestamps
+.makefile
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Object Files
+*.[ao]
+
+# backup copies
+*~