## SECTION=project_name # # rules/project-name.in # # Copyright (C) 2002-2006, 2009 by Robert Schwebel # comment "------------------------------------" menu "Project Name & Version " comment "Project Name & Version " config PROJECT_VENDOR string prompt "Vendor Name" help Type in here your favorite vendor name. It gets displayed whenever your system starts. config PROJECT string prompt "Project Name" help Name of this project; each PTXdist "Project" specifies a unique configuration for an Embedded Linux project. config PROJECT_VERSION string prompt "Project Version" default "-${PTXDIST_BSP_AUTOVERSION}" help The version of your project. The string is supposed to start with a "-". comment "------------------------------------" comment "pre-built package handling" comment "------------------------------------" config PROJECT_CREATE_DEVPKGS bool prompt "create pre-built archives" help Enable the creation of pre-built package archives. Read the "How to become a PTXdist Guru" documentation for further details. config PROJECT_USE_DEVPKGS bool select HOST_CHRPATH prompt "use pre-built archives" help Use pre-built package archives to build or re-build the project if corresponding package archives with the same configuration are found. config PROJECT_DEVPKGDIR string prompt "pre-built archive directory" depends on PROJECT_USE_DEVPKGS default "/opt/OSELAS.BSP/${PTXCONF_PROJECT_VENDOR}/OSELAS.BSP-${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}" help This entry defines the path to a directory where pre-built archives are expected. config PROJECT_DEVMIRROR string prompt "Mirror for pre-built archives" depends on PROJECT_USE_DEVPKGS help Enter a URL where *-dev.tar.gz packages can be downloaded Use: ptxdist getdev comment "------------------------------------" comment "license information handling" comment "------------------------------------" config PROJECT_CHECK_LICENSES bool prompt "check licenses during normal build" help If this is enabled .report is build during the normal build process. As a result all specified md5 sums for license files are verified. comment "------------------------------------" comment "reproducible builds" comment "------------------------------------" choice prompt "SOURCE_DATE_EPOCH timestamps source" default REPRODUCIBLE_TIMESTAMP_PTXDIST help Use the specifies source to provide a stable SOURCE_DATE_EPOCH. This helps making builds more reproducible. See https://reproducible-builds.org/specs/source-date-epoch/ for more details about SOURCE_DATE_EPOCH. For development this can be disabled in 'ptxdist setup'. config REPRODUCIBLE_TIMESTAMP_PTXDIST bool prompt "ptxdist version" help Use the year and month of the PTXdist version to generated the timestamp. config REPRODUCIBLE_TIMESTAMP_TOOLCHAIN bool prompt "toolchain version" help Use the year and month of the toolchain version to generated the timestamp. This only works for OSELAS.Toolchain. This is useful to keep the timestamp stable across PTXdist version updates. When a toolchain update happens, then the compiler will probably produce different code, so a different timestamp is ok as well. config REPRODUCIBLE_TIMESTAMP_CUSTOM bool prompt "custom timestamp" endchoice config REPRODUCIBLE_TIMESTAMP string default "toolchain" if REPRODUCIBLE_TIMESTAMP_TOOLCHAIN default "ptxdist" if REPRODUCIBLE_TIMESTAMP_PTXDIST default "custom" if REPRODUCIBLE_TIMESTAMP_CUSTOM if REPRODUCIBLE_TIMESTAMP_CUSTOM config REPRODUCIBLE_TIMESTAMP_STRING string prompt "custom timestamp" help Supply a custom fake timestamp to be injected to the build. The timestamp is passed to 'date --date', e.g. "2018-11-01 UTC". Note: the timestamp should contain include the timezone. Otherwise timezone changes may produce different results. endif endmenu