################################################################################ # Makefile.config Configurationm options for build # T.Barnaby, BEAM Ltd, 2007-02-22 ################################################################################ # # # Project info project = tms-mcsys version = 2.1.0 release = 2.beam arch = i686 # Build Settings ifeq ("${arch}","x86_64") arch_lib = ${arch_lib} else arch_lib = lib endif #rpmDir = /usr/src/redhat rpmDir = /scratch/rpms #rpmDir = ${HOME}/rpmbuild # Base directories srcDir = ${shell pwd} #srcDir = /src/cern/tms-mcsys srcIncDir = ${srcDir}/include srcLibDir = ${srcDir}/lib sysSrcDir = ${srcDir}/src # Root file system dir ifeq ("$(DESTDIR)", "") baseDir = ${srcDir} rootDir = ${srcDir}/rootfs sysDir = ${srcDir} else baseDir = ${DESTDIR}/usr/tms rootDir = ${baseDir}/rootfs sysDir = ${DESTDIR} endif kernelVersion = 3.10.107 kernelModules = igb.ko e1000.ko e1000e.ko pps_core.ko mii.ko nfs.ko sunrpc.ko auth_rpcgss.ko nfs_acl.ko fscache.ko lockd.ko nfs.ko ptp.ko kernelModules += i2c-core.ko i2c-algo-bit.ko dca.ko nfsv3.ko nfsv4.ko kernelModules += dns_resolver.ko kernelModules += ipmi_msghandler.ko ipmi_watchdog.ko ipmi_devintf.ko ipmi_si.ko kernelSrcDir = ${sysSrcDir}/kernel/linux-${kernelVersion} kernelBuildDir = ${srcDir}/kernel admxrcVersion = 4.3.0b3 admxrcSrcDir = admxrc/admxrc_drv-${admxrcVersion} # Rootfs build options rootfsVersion = 1.27.2 rootfsSrcDir = ${sysSrcDir}/busybox/busybox-${rootfsVersion} rootfsBuildDir = ${shell pwd}/rootfs-build rootfsSharedLibs = /${arch_lib}/libcrypt.so.1 /${arch_lib}/libm.so.6 /${arch_lib}/libc.so.6 rootfsSharedLibs += /${arch_lib}/libfreebl3.so /${arch_lib}/libdl.so.2 /${arch_lib}/libpci.so.3 rootfsSharedLibs += /${arch_lib}/libgcc_s.so.1 /usr/${arch_lib}/libstdc++.so.6 /${arch_lib}/libpthread.so.0 rootfsSharedLibs += /${arch_lib}/libnss_files.so.2 /${arch_lib}/libnss_dns.so.2 /${arch_lib}/libresolv.so.2 rootfsSharedLibs += /${arch_lib}/libpci.so.3 rootfsSharedLibs += /${arch_lib}/ld-linux.so.2 #rootfsSharedLibs += /${arch_lib}/ld-linux-x86-64.so.2 #rootfsSharedLibs += /${arch_lib}/linux-vdso.so.1 rootfsBins = lspci .SUFFIXES: .spec %.spec: Makefile.config @(if ! grep "^Version:.*${version}" $@; then\ sed -e "s/^Version:.*/Version:\t${version}/" $@ > $@.tmp;\ mv $@.tmp $@; fi) 2>&1 > /dev/null