## 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 "------------------------------------" config PROJECT_USE_BASE_PLATFORM bool choice prompt "Build Type" default PROJECT_BUILD_DEVEL config PROJECT_BUILD_DEVEL bool prompt "development" help Perform a development build, which installs everything into "${PTXDIST_WORKSPACE}/platform-". This is the default. If unsure select this. config PROJECT_BUILD_PRODUCTION bool prompt "production" help Perform a production build, which installs everything into central, system wide location. endchoice choice prompt "location" depends on PROJECT_BUILD_PRODUCTION default PROJECT_BUILD_PRODUCTION_PREFIX_DEFAULT_CHOICE config PROJECT_BUILD_PRODUCTION_PREFIX_DEFAULT_CHOICE bool prompt "default" help Build pre-built production release to the default location. It will be composed of: - project vendor, - project name and - project version. The path will look like this: "/opt/OSELAS.BSP/Pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference-trunk" This is the default. If unsure select this. config PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM_CHOICE bool prompt "custom" help Build production relase and place it in an individual location. endchoice config PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM string prompt "custom location" depends on PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM_CHOICE help Specify the location where to place your production release. config PROJECT_BUILD_PRODUCTION_PREFIX string default "/opt/OSELAS.BSP/${PTXCONF_PROJECT_VENDOR}/OSELAS.BSP-${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}" \ if PROJECT_BUILD_PRODUCTION_PREFIX_DEFAULT_CHOICE default "${PTXCONF_PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM}" \ if PROJECT_BUILD_PRODUCTION_PREFIX_CUSTOM_CHOICE comment "------------------------------------" config PROJECT_USE_PRODUCTION bool prompt "use pre-built production release" depends on PROJECT_BUILD_DEVEL select PROJECT_USE_BASE_PLATFORM help Use a pre-built production release. choice prompt "location" depends on PROJECT_USE_PRODUCTION default PROJECT_USE_PRODUCTION_PREFIX_DEFAULT_CHOICE config PROJECT_USE_PRODUCTION_PREFIX_DEFAULT_CHOICE bool prompt "default" help Use pre-built production release from default location. This is the default. If unsure select this. config PROJECT_USE_PRODUCTION_PREFIX_CUSTOM_CHOICE bool prompt "custom" help Use pre-built production release from an individual location. endchoice config PROJECT_USE_PRODUCTION_PREFIX_CUSTOM string prompt "custom location" depends on PROJECT_USE_PRODUCTION_PREFIX_CUSTOM_CHOICE config PROJECT_USE_PRODUCTION_PREFIX string default "/opt/OSELAS.BSP/${PTXCONF_PROJECT_VENDOR}/OSELAS.BSP-${PTXCONF_PROJECT_VENDOR}-${PTXCONF_PROJECT}${PTXCONF_PROJECT_VERSION}" if PROJECT_USE_PRODUCTION_PREFIX_DEFAULT_CHOICE default "${PTXCONF_PROJECT_USE_PRODUCTION_PREFIX_CUSTOM}" if PROJECT_USE_PRODUCTION_PREFIX_CUSTOM_CHOICE config PROJECT_USE_LOCAL_PLATFORM bool prompt "built on top of another platform" depends on PROJECT_BUILD_DEVEL && !PROJECT_USE_PRODUCTION select PROJECT_USE_BASE_PLATFORM help Use an existing platform as origin. This platform must be specified in the "platform name" entry. config PROJECT_USE_LOCAL_PLATFORM_NAME string prompt "platform name" depends on PROJECT_USE_LOCAL_PLATFORM help The name of the platform to use. This is the directory name of the platform in the ptxdist workspace e.g. ``platform-i586''. 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. endmenu