RSS Git Download  Clone
Raw View History
Blames found: 24 Mode: text Binary: false


Hang on, we reloading big blames...
################################################################################ # Master Makefile for System Sources # T.Barnaby, BEAM Ltd, 2007-02-21 ################################################################################ # # Normal build is (as root): # make rpms #
TOP = ${shell pwd}
srcDir = ${shell pwd} include Makefile.config
SVNROOT = file:///src/cern/SVN/tms-mcsys
DESTDIR = ${srcDir}/rootfs DISTDIR = /dist/tms
all: rootfsAll kernelAll admxrcAll
init: mkdir -p rootfs-build rootfs kernel
config: init rootfsConfig kernelConfig admxrcConfig
install: rootfsInstall kernelInstall kernelModulesInstall admxrcInstall nfsBootInstall
clean: admxrcClean rm -fr rootfs-build rootfs var kernel rm networkBoot/initrd.img
rpms: tms-mcsys.spec
tar -czC .. -f ${rpmDir}/SOURCES/tms-mcsys.tar.gz tms-mcsys
rpmbuild --target=${arch} -bb -D "version ${version}" -D "release ${release}" tms-mcsys.spec
rpmsInstall:
cp ${rpmDir}/RPMS/${arch}/tms-mcsys-${version}-${release}*.${arch}.rpm ${DISTDIR}/packages
createrepo ${DISTDIR}
svnRelease: svn copy -m "Release - ${version}-${release}" $(SVNROOT)/trunk $(SVNROOT)/tags/release-${version}-${release}
# Debug bits sysBootInstall: cp -a var/lib/tftpboot/tms-mcsys /var/lib/tftpboot sysRootInstall: cp -a rootfs /usr/tms
include Makefile.sys