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

452 Commits   2 Branches   1 Tag
Index: doc/examples/hello/Makefile
===================================================================
--- doc/examples/hello/Makefile	(nonexistent)
+++ doc/examples/hello/Makefile	(revision 410)
@@ -0,0 +1,53 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_BUILD)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+
+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)
+
+#
+# The user may reject the sysroot usage. For this the user have to declare
+# the USE_TARGET_DEST_DIR_SYSROOT variable with value 'no':
+#
+#   USE_TARGET_DEST_DIR_SYSROOT = no
+#
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+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 "======= Environment:        ======="
+	@echo "==================================="
+	@echo "======= CFLAGS     = '$(CFLAGS)'"
+	@echo "======= LDFLAGS    = '$(LDFLAGS)'"
+	@echo "======= ARCH_FLAGS = '$(ARCH_FLAGS)'"
+	@echo ""
+	@echo "#"
+	@echo "# Please find the `basename $(bin_target)` executable in the $(TARGET_BUILD_DIR)/ directory."
+	@echo "#"
+	@echo ""
+	@touch $@
Index: doc/examples/hello/main.c
===================================================================
--- doc/examples/hello/main.c	(nonexistent)
+++ doc/examples/hello/main.c	(revision 410)
@@ -0,0 +1,9 @@
+
+#include <stdlib.h>
+#include <stdio.h>
+
+int main()
+{
+  printf( "\nHello, World!\n\n" );
+  return( 0 );
+}
Index: doc/examples/hello
===================================================================
--- doc/examples/hello	(nonexistent)
+++ doc/examples/hello	(revision 410)

Property changes on: doc/examples/hello
___________________________________________________________________
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: doc/examples/hello-cargo/Makefile
===================================================================
--- doc/examples/hello-cargo/Makefile	(nonexistent)
+++ doc/examples/hello-cargo/Makefile	(revision 410)
@@ -0,0 +1,84 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+
+include ../../../build-system/constants.mk
+
+# ======= __END_OF_REQUIRES__ =======
+
+bin_src     = package/src/main.rs
+cargo_toml  = package/Cargo.toml
+
+build_dir   = $(TARGET_BUILD_DIR)/build
+bin_target  = $(TARGET_BUILD_DIR)/main
+info_target = $(TARGET_BUILD_DIR)/.info-done
+
+cross_file  = $(CURDIR)/$(TARGET_BUILD_DIR)/$(TARGET)-config.toml
+
+BUILD_TARGETS = $(bin_target) $(info_target)
+
+#
+# The user may reject the sysroot usage. For this the user have to declare
+# the USE_TARGET_DEST_DIR_SYSROOT variable with value 'no':
+#
+#   USE_TARGET_DEST_DIR_SYSROOT = no
+#
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+include ../../../build-system/core.mk
+
+
+ARCH = $(shell echo $(TARGET) | cut -f1 -d'-')
+
+cargo-flags      = +$(RUST_TOOLCHAIN) --config $(cross_file)
+cargo-target-dir = $(CURDIR)/$(TARGET_BUILD_DIR)/target
+rust-target      = $(TARGET)
+
+$(bin_target): $(cargo_toml) $(bin_src)
+	@mkdir -p $(build_dir)/
+	@cp -a package/* $(build_dir)/
+	@echo "======= Create cross file: ======="
+	@echo ''                                                  >  $(cross_file)
+	@echo '[target.$(rust-target)]'                           >> $(cross_file)
+	@echo 'rustflags = ['                                     >> $(cross_file)
+	@echo '  "-C", "linker=$(CROSS_PREFIX)gcc",'              >> $(cross_file)
+	@echo '  "--cap-lints", "allow",'                         >> $(cross_file)
+	@echo ']'                                                 >> $(cross_file)
+	#
+	# RUSTFLAGS='-C linker=$(CROSS_PREFIX)gcc --cap-lints allow'
+	#
+	@echo "======= Build the `basename $(bin_target)` executable: ======="
+	@cd $(build_dir) && CARGO_HOME=$(CARGO_HOME) \
+	                    RUSTUP_HOME=$(RUSTUP_HOME) \
+	                    CARGO_BUILD_RUSTC=$(RUSTC) \
+	                    CARGO_BUILD_TARGET='$(rust-target)' \
+	                    CARGO_TARGET_DIR='$(cargo-target-dir)' \
+	                    $(CARGO) $(cargo-flags) build --verbose --release --bin main
+	@cp $(TARGET_BUILD_DIR)/target/$(TARGET)/release/main $(TARGET_BUILD_DIR)/
+	@touch $@
+
+$(info_target): $(bin_target)
+	@echo "==================================="
+	@echo "======= Environment:        ======="
+	@echo "==================================="
+	@echo "======= RUST_TOOLCHAIN = '$(RUST_TOOLCHAIN)'"
+	@echo "======= CARGO_HOME     = '$(CARGO_HOME)'"
+	@echo "======= RUSTUP_HOME    = '$(RUSTUP_HOME)'"
+	@echo "======= RUSTC          = '$(RUSTC)'"
+	@echo "======= RUSTDOC        = '$(RUSTDOC)'"
+	@echo "======= RUSTFMT        = '$(RUSTFMT)'"
+	@echo "======= CBINDGEN       = '$(CBINDGEN)'"
+	@echo "======= RUST_PATH      = '$(RUST_PATH)'"
+	@echo ""
+	@echo "#"
+	@echo "# Please find the `basename $(bin_target)` executable in the $(TARGET_BUILD_DIR)/ directory."
+	@echo "#"
+	@echo "# Run the `basename $(bin_target)` executable:"
+	@echo ""
+	@$(BUILDSYSTEM)/usr/bin/qemu-$(ARCH) \
+	   $(TOOLCHAIN_PATH)/$(TARGET)/sys-root/$(shell $(PATCHELF) --print-interpreter $(bin_target) | sed 's,^\/,,') \
+	   --library-path $(TOOLCHAIN_PATH)/$(TARGET)/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/usr/lib \
+	   $(bin_target)
+	@echo ""
+	@touch $@
Index: doc/examples/hello-cargo/package/Cargo.toml
===================================================================
--- doc/examples/hello-cargo/package/Cargo.toml	(nonexistent)
+++ doc/examples/hello-cargo/package/Cargo.toml	(revision 410)
@@ -0,0 +1,5 @@
+
+[package]
+name = "main"
+version = "0.1.0"
+edition = "2021"
Index: doc/examples/hello-cargo/package/src/main.rs
===================================================================
--- doc/examples/hello-cargo/package/src/main.rs	(nonexistent)
+++ doc/examples/hello-cargo/package/src/main.rs	(revision 410)
@@ -0,0 +1,4 @@
+
+fn main() {
+  println!("Hello World!");
+}
Index: doc/examples/hello-cargo
===================================================================
--- doc/examples/hello-cargo	(nonexistent)
+++ doc/examples/hello-cargo	(revision 410)

Property changes on: doc/examples/hello-cargo
___________________________________________________________________
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: doc/examples/hello-llvm-gcc/Makefile
===================================================================
--- doc/examples/hello-llvm-gcc/Makefile	(nonexistent)
+++ doc/examples/hello-llvm-gcc/Makefile	(revision 410)
@@ -0,0 +1,64 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+
+include ../../../build-system/constants.mk
+
+# ======= __END_OF_REQUIRES__ =======
+
+bin_src = main.cpp
+
+bin_target = $(TARGET_BUILD_DIR)/main
+
+info_target = $(TARGET_BUILD_DIR)/.info-done
+
+BUILD_TARGETS = $(bin_target) $(info_target)
+
+#
+# The user may reject the sysroot usage. For this the user have to declare
+# the USE_TARGET_DEST_DIR_SYSROOT variable with value 'no':
+#
+#   USE_TARGET_DEST_DIR_SYSROOT = no
+#
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+include ../../../build-system/core.mk
+
+
+ARCH = $(shell echo $(TARGET) | cut -f1 -d'-')
+
+CXX     := $(shell $(LLVM_CONFIG) --bindir)/clang++
+SYSROOT := $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+$(bin_target): $(bin_src)
+	@echo "======= Build the `basename $(bin_target)` executable: ======="
+	@$(CXX) --target=$(TARGET) \
+	   -B $(CROSS_PREFIX)gcc \
+	   --gcc-toolchain=$(TOOLCHAIN_PATH) \
+	   --gcc-triple=$(TARGET) \
+	   --sysroot=$(SYSROOT) \
+	   -stdlib=libstdc++ \
+	   -I$(SYSROOT)/usr/include \
+	   -Wl,-rpath,/usr/lib \
+	   $(bin_src) -o $(bin_target)
+	@touch $@
+
+$(info_target): $(bin_target)
+	@echo "==================================="
+	@echo "======= Environment:        ======="
+	@echo "==================================="
+	@echo "======= LLVM_CONFIG = '$(LLVM_CONFIG)'"
+	@echo "======= LLVM_PATH   = '$(LLVM_PATH)'"
+	@echo ""
+	@echo "#"
+	@echo "# Please find the `basename $(bin_target)` executable in the $(TARGET_BUILD_DIR)/ directory."
+	@echo "#"
+	@echo "# Run the `basename $(bin_target)` executable:"
+	@echo ""
+	@$(BUILDSYSTEM)/usr/bin/qemu-$(ARCH) \
+	   $(TOOLCHAIN_PATH)/$(TARGET)/sys-root/$(shell $(PATCHELF) --print-interpreter $(bin_target) | sed 's,^\/,,') \
+	   --library-path $(TOOLCHAIN_PATH)/$(TARGET)/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/usr/lib \
+	   $(bin_target)
+	@echo ""
+	@touch $@
Index: doc/examples/hello-llvm-gcc/main.cpp
===================================================================
--- doc/examples/hello-llvm-gcc/main.cpp	(nonexistent)
+++ doc/examples/hello-llvm-gcc/main.cpp	(revision 410)
@@ -0,0 +1,9 @@
+
+// Your First C++ Program
+
+#include <iostream>
+
+int main() {
+    std::cout << "Hello World!\n";
+    return 0;
+}
Index: doc/examples/hello-llvm-gcc
===================================================================
--- doc/examples/hello-llvm-gcc	(nonexistent)
+++ doc/examples/hello-llvm-gcc	(revision 410)

Property changes on: doc/examples/hello-llvm-gcc
___________________________________________________________________
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: doc/examples/hello-llvm-lld/Makefile
===================================================================
--- doc/examples/hello-llvm-lld/Makefile	(nonexistent)
+++ doc/examples/hello-llvm-lld/Makefile	(revision 410)
@@ -0,0 +1,65 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+
+include ../../../build-system/constants.mk
+
+# ======= __END_OF_REQUIRES__ =======
+
+bin_src = main.cpp
+
+bin_target = $(TARGET_BUILD_DIR)/main
+
+info_target = $(TARGET_BUILD_DIR)/.info-done
+
+BUILD_TARGETS = $(bin_target) $(info_target)
+
+#
+# The user may reject the sysroot usage. For this the user have to declare
+# the USE_TARGET_DEST_DIR_SYSROOT variable with value 'no':
+#
+#   USE_TARGET_DEST_DIR_SYSROOT = no
+#
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+include ../../../build-system/core.mk
+
+
+ARCH = $(shell echo $(TARGET) | cut -f1 -d'-')
+
+CXX     := $(shell $(LLVM_CONFIG) --bindir)/clang++
+LLD     := $(shell $(LLVM_CONFIG) --bindir)/lld
+SYSROOT := $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
+
+$(bin_target): $(bin_src)
+	@echo "======= Build the `basename $(bin_target)` executable: ======="
+	@$(CXX) --target=$(TARGET) \
+	   -B $(LLD) \
+	   --gcc-toolchain=$(TOOLCHAIN_PATH) \
+	   --gcc-triple=$(TARGET) \
+	   --sysroot=$(SYSROOT) \
+	   -stdlib=libstdc++ \
+	   -I$(SYSROOT)/usr/include \
+	   -Wl,-rpath,/usr/lib \
+	   $(bin_src) -o $(bin_target)
+	@touch $@
+
+$(info_target): $(bin_target)
+	@echo "==================================="
+	@echo "======= Environment:        ======="
+	@echo "==================================="
+	@echo "======= LLVM_CONFIG = '$(LLVM_CONFIG)'"
+	@echo "======= LLVM_PATH   = '$(LLVM_PATH)'"
+	@echo ""
+	@echo "#"
+	@echo "# Please find the `basename $(bin_target)` executable in the $(TARGET_BUILD_DIR)/ directory."
+	@echo "#"
+	@echo "# Run the `basename $(bin_target)` executable:"
+	@echo ""
+	@$(BUILDSYSTEM)/usr/bin/qemu-$(ARCH) \
+	   $(TOOLCHAIN_PATH)/$(TARGET)/sys-root/$(shell $(PATCHELF) --print-interpreter $(bin_target) | sed 's,^\/,,') \
+	   --library-path $(TOOLCHAIN_PATH)/$(TARGET)/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/usr/lib \
+	   $(bin_target)
+	@echo ""
+	@touch $@
Index: doc/examples/hello-llvm-lld/main.cpp
===================================================================
--- doc/examples/hello-llvm-lld/main.cpp	(nonexistent)
+++ doc/examples/hello-llvm-lld/main.cpp	(revision 410)
@@ -0,0 +1,9 @@
+
+// Your First C++ Program
+
+#include <iostream>
+
+int main() {
+    std::cout << "Hello World!\n";
+    return 0;
+}
Index: doc/examples/hello-llvm-lld
===================================================================
--- doc/examples/hello-llvm-lld	(nonexistent)
+++ doc/examples/hello-llvm-lld	(revision 410)

Property changes on: doc/examples/hello-llvm-lld
___________________________________________________________________
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: doc/examples/hello-rust/Makefile
===================================================================
--- doc/examples/hello-rust/Makefile	(nonexistent)
+++ doc/examples/hello-rust/Makefile	(revision 410)
@@ -0,0 +1,59 @@
+
+COMPONENT_TARGETS  = $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+
+include ../../../build-system/constants.mk
+
+# ======= __END_OF_REQUIRES__ =======
+
+bin_src = main.rs
+
+bin_target = $(TARGET_BUILD_DIR)/main
+
+info_target = $(TARGET_BUILD_DIR)/.info-done
+
+BUILD_TARGETS = $(bin_target) $(info_target)
+
+#
+# The user may reject the sysroot usage. For this the user have to declare
+# the USE_TARGET_DEST_DIR_SYSROOT variable with value 'no':
+#
+#   USE_TARGET_DEST_DIR_SYSROOT = no
+#
+USE_TARGET_DEST_DIR_SYSROOT = no
+
+
+include ../../../build-system/core.mk
+
+
+ARCH = $(shell echo $(TARGET) | cut -f1 -d'-')
+
+$(bin_target): $(bin_src)
+	@echo "======= Build the `basename $(bin_target)` executable: ======="
+	@$(RUSTC) --target $(TARGET) -C linker=$(CROSS_PREFIX)gcc $(bin_src) -o $(bin_target)
+	@touch $@
+
+$(info_target): $(bin_target)
+	@echo "==================================="
+	@echo "======= Environment:        ======="
+	@echo "==================================="
+	@echo "======= RUST_TOOLCHAIN = '$(RUST_TOOLCHAIN)'"
+	@echo "======= CARGO_HOME     = '$(CARGO_HOME)'"
+	@echo "======= RUSTUP_HOME    = '$(RUSTUP_HOME)'"
+	@echo "======= RUSTC          = '$(RUSTC)'"
+	@echo "======= RUSTDOC        = '$(RUSTDOC)'"
+	@echo "======= RUSTFMT        = '$(RUSTFMT)'"
+	@echo "======= CBINDGEN       = '$(CBINDGEN)'"
+	@echo "======= RUST_PATH      = '$(RUST_PATH)'"
+	@echo ""
+	@echo "#"
+	@echo "# Please find the `basename $(bin_target)` executable in the $(TARGET_BUILD_DIR)/ directory."
+	@echo "#"
+	@echo "# Run the `basename $(bin_target)` executable:"
+	@echo ""
+	@$(BUILDSYSTEM)/usr/bin/qemu-$(ARCH) \
+	   $(TOOLCHAIN_PATH)/$(TARGET)/sys-root/$(shell $(PATCHELF) --print-interpreter $(bin_target) | sed 's,^\/,,') \
+	   --library-path $(TOOLCHAIN_PATH)/$(TARGET)/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/lib:$(TOOLCHAIN_PATH)/$(TARGET)/sys-root/usr/lib \
+	   $(bin_target)
+	@echo ""
+	@touch $@
Index: doc/examples/hello-rust/main.rs
===================================================================
--- doc/examples/hello-rust/main.rs	(nonexistent)
+++ doc/examples/hello-rust/main.rs	(revision 410)
@@ -0,0 +1,4 @@
+
+fn main() {
+  println!("Hello World!");
+}
Index: doc/examples/hello-rust
===================================================================
--- doc/examples/hello-rust	(nonexistent)
+++ doc/examples/hello-rust	(revision 410)

Property changes on: doc/examples/hello-rust
___________________________________________________________________
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
+*~