- tms-old
- tms-mcsys
- Makefile
This file ( 1kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
################################################################################
# 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 -f 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