Date: Thu, 27 Jan 2011 20:39:20 +0000 (UTC) From: Remko Lodder <remko@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r217978 - stable/7/tools/tools/tinybsd Message-ID: <201101272039.p0RKdKZ8034869@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: remko Date: Thu Jan 27 20:39:19 2011 New Revision: 217978 URL: http://svn.freebsd.org/changeset/base/217978 Log: MFC r194558 Add architecture support for TinyBSD PR: 135301 Submitted by: Olivier Cochard-Labbe <olivier at cochard dot me> Reviewed by: Jean Milanez Melo <jmelo at freebsdbrasil dot com dot br> (maintainer) Approved by: imp (mentor, implicit) MFC after: 1 week PR: 135301 Modified: stable/7/tools/tools/tinybsd/tinybsd Directory Properties: stable/7/tools/tools/tinybsd/ (props changed) Modified: stable/7/tools/tools/tinybsd/tinybsd ============================================================================== --- stable/7/tools/tools/tinybsd/tinybsd Thu Jan 27 20:12:35 2011 (r217977) +++ stable/7/tools/tools/tinybsd/tinybsd Thu Jan 27 20:39:19 2011 (r217978) @@ -19,6 +19,8 @@ BASEFILE="tinybsd.basefiles" PORTSFILE="tinybsd.ports" PORTSDIR=/usr/ports DEFINSTARGS="-o 0 -g 0 -m 555" +TINYARCH=$(uname -p) + TS="=====>" splitarg1 () { @@ -331,7 +333,7 @@ install_ports() { make_kernel() { echo "${TS} Building customized tiny beastie kernel... " - cp -p ${CURRENTDIR}/conf/${CONF}/${KERNCONF} /usr/src/sys/i386/conf + cp -p ${CURRENTDIR}/conf/${CONF}/${KERNCONF} /usr/src/sys/${TINYARCH}/conf cd /usr/src make buildkernel KERNCONF=${KERNCONF} || exit 1 gzip -9 /usr/obj/usr/src/sys/${KERNCONF}/kernel @@ -339,7 +341,7 @@ make_kernel() { install ${DEFINSTARGS} \ /usr/obj/usr/src/sys/${KERNCONF}/modules/usr/src/sys/modules/acpi/acpi/acpi.ko \ ${WORKDIR}/boot/kernel - install -o 0 -g 0 -m 444 /sys/i386/conf/GENERIC.hints ${WORKDIR}/boot/device.hints + install -o 0 -g 0 -m 444 /sys/${TINYARCH}/conf/GENERIC.hints ${WORKDIR}/boot/device.hints } copy_libraries() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101272039.p0RKdKZ8034869>