RidgeRun SDK
20140701
|
RidgeRun SDK variable definitions which can be used in any Makefile that includes /local/home/tfischer/work/leo368/bsp/classes/rrsdk.class.
The following is a list of parameters for use in Makefiles. Their value should not be modified.
SHELL: Shell's executable location. Use when a make target needs to run a host shell script. Typical use would be with autotools based packages.
Value: "/bin/bash."
SCRIPT_VERBOSE: Verbose value. 0 by default.
ECHO: Variable storing the echo command for console printing with automatic indentation. Intended to provide the user with brief status on the progress of the build.
Value: "echo -e """
MAKE: Make command for the rest of the RidgeRun SDK. Enables verbose output.
Value: "$(MAKE) $(if $(VERBOSE:1=),-s)"
MAKE_CALL_PARAMS: SDK parameters for the make command. Typically only needed when a Makefile calls another Makefile lower in its directory tree.
Value: "DEVDIR=$(DEVDIR) TABINDEX="\040\040" $(EXTRA_PARAMS)"
V: Variable to control if a command in a make target is echoed to the user. Typically all target commands start with and end with .
Value: "$(if $(VERBOSE:1=),@)"
QOUT: Variable to control if the output from a command in a make target is sent to the log file.
Value: "$(if $(VERBOSE:1=), >> $(LOGFILE) )"
ERRQOUT: Variable to control if the error output from a command in a make target is sent to the log file.
Value: "$(if $(VERBOSE:1=), 2>> $(LOGFILE) )"
SCRIPT_DEBUG: "$(if $(SCRIPT_VERBOSE:1=),,-d)"
HOST_ARCH: Identifier value for the host machine's architecture. Only used when the built steps vary based on develop workstation machine architecture.
Value: "${shell uname -m}"
PATH: PATH variable to be used during the SDK building and installation process.
Value: "$(DEVDIR)/bsp/local/bin:$(DEVDIR)/bsp/local/sbin:$(DEVDIR)/bsp/tools:$(PATH))"
SUDO: Command for running a host application with super-user rights. Typical use would be to make target file system device files or mount and unmount loopback devices.
Value: "sudo"
KERNELDIR: SDK kernel directory.
Value: "$(DEVDIR)/kernel/$(KERNEL)"
BOOTLOADERDIR: SDK bootloader directory.
Value: "$(DEVDIR)/bootloader/$(BOOTLOADER)"
FSROOT: Directory location for the target's filesystem's root.
Value: "$(DEVDIR)/fs/fs"
FSDEVROOT: Directory location holding the cross compiled application and libraries output. Typically when cross compiling a package, man pages, statically linked libraries, etc get included when running the packages install make target. To keep the target file system from containing unnecessary files, packages that support their own install make target use for the location of their install. Then the RidgeRun integration Makefile copies just the needed files from to using its install make target.
Value: "$(DEVDIR)/fs/fsdev"
SIMROOT: Directory location for the simulator's filesystem's root.
Value: "$(DEVDIR)/fs/simulator"
HOSTAPPSDIR: Directory location for the host application directory. A host application is an application or library that gets built for execution on the host. Host applications are used when a specific version of an application or library is required for the SDK to build properly.
Value: "$(DEVDIR)/fs/host-apps"
LOCALDIR: Directory location where host applications get installed.
Value: "$(DEVDIR)/bsp/local"
CLASSESDIR: Directory location for the RidgeRun SDK helper classes.
Value: "$(DEVDIR)/bsp/classes"
IMAGEDIR: Directory location where the top level 'make install' created images are stored. These images are typically transferred to the target device.
Value: "$(DEVDIR)/images"
LOGDIR: Directory location for the RidgeRun SDK logs.
Value: "$(DEVDIR)/logs"
INSTALLERDIR: Directory location for the firmware installer software.
Value: "$(DEVDIR)/installer/$(INSTALLER)"
FSIMAGE: Variable that holds the location of the filesystem's image file.
Value: "$(IMAGEDIR)/fsimage".
KERNELIMAGE: Variable that holds the location of the kernel's image file.
Value: "$(IMAGEDIR)/kernel".
BOOTLOADERIMAGE : Variable that holds the location of the bootloader's image file. Value "$(IMAGEDIR)/bootloader".
BSPCONFIGFILE: Variable that holds the location of the BSP configuration file.
Value: "$(IMAGEDIR)/bspconfig".
TFTPIMGSUFFIX: This is a prefix that is appended to every image that is copied into the host's tftp directory. Is useful to prevent conflicts when several developers or several development directories are used the same build server. Value (simplified): "$USER.$DEVDIR.$MACH"
KFLAGS: Parameters passed to on the kernel make invocation command line.
Value: "$(if $(VERBOSE:2=),KBUILD_VERBOSE=1) CROSS_COMPILE=$(TOOLCHAIN_PREFIX)-"
KERNEL_INCLUDE: Path to kernel header files needed by some applications and libraries. Typical use would be "APPS_CFLAGS+=-I$(KERNEL_INCLUDE)" to allow applications and libraries to access the public kernel header files.
Value: "$(FSDEVROOT)/usr/$(KERNEL)/include"
The following is a list of read-write parameters for use in Makefiles. If you modify the value, do so before including any other files.
DOWNLOADS: Variable that has a list of directories to check for downloads separated by spaces.
Default: "/opt/ridgerun/downloads $(DEVDIR)/downloads"
DOWNLOAD_SERVER: Download server from which to download missing packages within apps. Default "https://www.ridgerun.com/packages"
APPS_CFLAGS: Flags passed to the compiler.
Default: "$(CFLAGS) -I$(FSDEVROOT)/usr/include -I$(FSDEVROOT)/include"
APPS_LDFLAGS: Flags passed to the linker.
Default: "$(LDFLAGS) -L$(FSDEVROOT)/usr/lib -L$(FSDEVROOT)/lib"
LOGFILE: Logfile location for all Makefile related output.
Default: "/dev/null"