Revision: 7214 http://sourceforge.net/p/ipcop/svn/7214 Author: owes Date: 2014-01-13 14:41:08 +0000 (Mon, 13 Jan 2014) Log Message: ----------- quick and dirty hack to be able to compile a single package. File under advanced++ commands.
Modified Paths: -------------- ipcop/trunk/doc/make.sh-usage ipcop/trunk/make.sh Modified: ipcop/trunk/doc/make.sh-usage =================================================================== --- ipcop/trunk/doc/make.sh-usage 2014-01-11 21:15:27 UTC (rev 7213) +++ ipcop/trunk/doc/make.sh-usage 2014-01-13 14:41:08 UTC (rev 7214) @@ -11,6 +11,8 @@ Maintainer / advanced commands prefetch all : preload all files (ignoring architecture) in cache + buildsingle stage package : compile a single package using stage, use for + testing compile only. Example: buildsingle 03 beep ccache_clean : Completely clear the ccache cache. This may take a long time. changelog : Update doc/Changelog from CVS messages log check_url : Test if packages files are still available for download Modified: ipcop/trunk/make.sh =================================================================== --- ipcop/trunk/make.sh 2014-01-11 21:15:27 UTC (rev 7213) +++ ipcop/trunk/make.sh 2014-01-13 14:41:08 UTC (rev 7214) @@ -2324,6 +2324,33 @@ BUILDSECONDS=$[${BUILDTIME} - ${BUILDMINUTES}*60] echo "... which took: ${BUILDMINUTES} minutes and ${BUILDSECONDS} seconds" ;; +buildsingle) + if [ -z ${2} ]; then + exiterror "Stage parameter missing, use 02 03 04" + elif [ -z ${3} ]; then + exiterror "Packagename parameter missing" + fi + + if [ ! -f lfs/${3} ]; then + exiterror "Packagename lfs/${3} does not exist" + fi + STAGE_ORDER=${2} + if [ ${STAGE_ORDER} == '02' ]; then + STAGE=base + elif [ ${STAGE_ORDER} == '03' ]; then + STAGE=ipcop + elif [ ${STAGE_ORDER} == '03' ]; then + STAGE=misc + else + exiterror "Incorrect stage parameter, use 02 03 04" + fi + # force rebuild + rm -f ${BASEDIR}/files_${MACHINE}/${STAGE_ORDER}_${STAGE}/${3}* + prepareenv + beautify build_stage "Building single package in stage ${STAGE}" + chroot_make ${3} + stdumount + ;; shell) # Enter a shell inside LFS chroot prepareenv This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn