## 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 vendorname. 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 an "-". 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 relase 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 relase. 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 relase. 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 relase 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 relase 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 a pre-built production relase. 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-build package handling" comment "------------------------------------" config PROJECT_CREATE_DEVPKGS bool prompt "create pre-build archives" help Enable the creation of pre-build package archives. Read the "How to become a PTXdist Guru" for further details. config PROJECT_USE_DEVPKGS bool select HOST_CHRPATH prompt "use pre-build archives" help Use pre-build 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-build 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-build archives are expected. config PROJECT_DEVMIRROR string prompt "Mirror for pre-build archives" depends on PROJECT_USE_DEVPKGS help Enter a URL where *-dev.tar.gz packages can be downloaded Use: ptxdist getdev endmenu