Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: examples/tiny/Makefile
===================================================================
--- examples/tiny/Makefile	(nonexistent)
+++ examples/tiny/Makefile	(revision 5)
@@ -0,0 +1,84 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_BUILD)
+COMPONENT_TARGETS += $(HARDWARE_CB1N)
+
+include ../../../build-system/constants.mk
+
+# ======= __END_OF_REQUIRES__ =======
+
+bin_srcs = main.c
+
+SRCS = $(bin_srcs)
+
+bin_objs = $(addprefix $(TARGET_BUILD_DIR)/,$(bin_srcs:.c=.o))
+bin_target = $(TARGET_BUILD_DIR)/main
+
+info_target = $(TARGET_BUILD_DIR)/.info-done
+
+
+BUILD_TARGETS = $(bin_target) $(info_target)
+
+
+include ../../../build-system/core.mk
+
+
+$(bin_target): $(bin_objs)
+	$(LINK)
+########################################################
+# Also Directly using $(CC) and $(LINKER) is available:
+# ====================================================
+#	$(CC) $(CFLAGS) -c -o $(TARGET_BUILD_DIR)/main.o main.c
+#	$(LINKER) $(ARCH_FLAGS) $(LDFLAGS) -o $(TARGET_BUILD_DIR)/main $(TARGET_BUILD_DIR)/main.o
+	@touch $@
+
+$(info_target): $(bin_target)
+	@echo "==================================="
+	@echo "======= Build Info:         ======="
+	@echo "==================================="
+	@echo "======= CFLAGS = '$(CFLAGS)'"
+	@echo "======= LDFLAGS = '$(LDFLAGS)'"
+	@echo "======= ARCH_FLAGS = '$(ARCH_FLAGS)'"
+	@echo ""
+	@echo "==================================="
+	@echo "======= Distribution Info:  ======="
+	@echo "==================================="
+	@echo "HARDWARE                = '$(HARDWARE)'"
+	@echo "HARDWARE NAME           = '$(call hw_name,$(HARDWARE))'"
+	@echo "HARDWARE ID             = '$(call hw_id,$(HARDWARE))'"
+	@echo "HARDWARE SPEC           = '$(HW_SPEC)'"
+	@echo ""
+	@echo "DISTRO NAME             = '$(DISTRO_NAME)'"
+	@echo "DISTRO CAPTION          = '$(DISTRO_CAPTION)'"
+	@echo "DISTRO SPEC             = '$(DISTRO_SPEC)'"
+	@echo "DISTRO VERSION          = '$(DISTRO_VERSION)'"
+	@echo "DISTRO FULL VERSION     = '$(DISTRO_FULL_VERSION)'"
+	@echo ""
+	@echo "DISTRO REPOSITORY URL   = '$(DISTRO_REPOSITORY_URL)'"
+	@echo "DISTRO BUILD BRANCH     = '$(DISTRO_BUILD_BRANCH)'"
+	@echo "DISTRO BUILD REVISION   = '$(DISTRO_BUILD_REVISION)'"
+	@echo ""
+	@echo "BUILD SYSTEM REPO URL   = '$(BUILD_SYSTEM_REPOSITORY_URL)'"
+	@echo "BUILD SYSTEM BRANCH     = '$(BUILD_SYSTEM_BUILD_BRANCH)'"
+	@echo "BUILD SYSTEM REVISION   = '$(BUILD_SYSTEM_BUILD_REVISION)'"
+	@echo ""
+	@echo "DOWNLOAD SERVER         = '$(DOWNLOAD_SERVER)'"
+	@echo ""
+	@echo "TOOLCHAIN NAME          = '$(TOOLCHAIN)'"
+	@echo "TOOLCHAIN VERSION       = '$(TOOLCHAIN_VERSION)'"
+	@echo "TOOLCHAINS RELATIVE URL = '$(TOOLCHAINS_FTP_BASE)/$(TOOLCHAIN_VERSION)'"
+	@echo "TOOLCHAIN TARBALL       = '$(TOOLCHAIN_TARBALL)'"
+	@echo ""
+	@echo "SOURCES RELATIVE URL    = '$(SOURCES_RELATIVE_URL)'"
+	@echo ""
+	@echo "PACKAGES BASE URL       = '$(PACKAGES_BASE_URL)'"
+	@echo "PACKAGES RELATIVE URL   = '$(PACKAGES_RELATIVE_URL)'"
+	@echo ""
+	@echo "PACKAGES REPOSITORY     = '$(PACKAGES_REPOSITORY)'"
+	@echo ""
+	@echo "PKGARCH = '$(PKGARCH)'"
+	@echo ""
+	@echo "==================================="
+	@echo "=======         End         ======="
+	@echo "==================================="
+	@echo ""
+	@touch $@
Index: examples/tiny/main.c
===================================================================
--- examples/tiny/main.c	(nonexistent)
+++ examples/tiny/main.c	(revision 5)
@@ -0,0 +1,9 @@
+
+#include <stdlib.h>
+#include <stdio.h>
+
+int main()
+{
+  printf( "\nHello, World!\n\n" );
+  return( 0 );
+}
Index: examples/tiny
===================================================================
--- examples/tiny	(nonexistent)
+++ examples/tiny	(revision 5)

Property changes on: examples/tiny
___________________________________________________________________
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: examples
===================================================================
--- examples	(nonexistent)
+++ examples	(revision 5)

Property changes on: examples
___________________________________________________________________
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: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
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
+*~