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: Makefile
===================================================================
--- Makefile	(nonexistent)
+++ 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: main.c
===================================================================
--- main.c	(nonexistent)
+++ main.c	(revision 410)
@@ -0,0 +1,9 @@
+
+#include <stdlib.h>
+#include <stdio.h>
+
+int main()
+{
+  printf( "\nHello, World!\n\n" );
+  return( 0 );
+}
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 410)

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