svn commit: r237536 - stable/9/release/picobsd/build
Luigi Rizzo
luigi at FreeBSD.org
Sun Jun 24 17:02:29 UTC 2012
Author: luigi
Date: Sun Jun 24 17:02:28 2012
New Revision: 237536
URL: http://svn.freebsd.org/changeset/base/237536
Log:
partial MFC. Mostly, do not build clang when initializing picobsd
Modified:
stable/9/release/picobsd/build/picobsd
Modified: stable/9/release/picobsd/build/picobsd
==============================================================================
--- stable/9/release/picobsd/build/picobsd Sun Jun 24 16:56:48 2012 (r237535)
+++ stable/9/release/picobsd/build/picobsd Sun Jun 24 17:02:28 2012 (r237536)
@@ -164,6 +164,7 @@ create_includes_and_libraries2() { # opt
log "create_includes_and_libraries2() for ${SRC} $1"
if [ ${OSVERSION} -ge 600000 ] ; then
no="-DNO_CLEAN -DNO_PROFILE -DNO_GAMES -DNO_LIBC_R" # WITHOUT_CDDL=1"
+ no="$no -DWITHOUT_CLANG"
else
no="-DNOCLEAN -DNOPROFILE -DNOGAMES -DNOLIBC_R"
fi
@@ -441,7 +442,7 @@ do_kernel() { # OK
[ "${o_do_modules}" = "yes" ] && export MODULES=""
${BINMAKE} ${o_par} KERNCONF=${l_kernconf} \
-v -f ${PICO_TREE}/build/Makefile.conf ) || \
- fail $? missing_kernel
+ fail $? missing_kernel
}
# Populate the variable part of the floppy filesystem. Must be done before
@@ -591,7 +592,7 @@ find_progs() { # programs
if [ "$old_libs" = "$i" ] ; then
log "libraries for: $my_progs ($u_progs) are ($i) $u_libs"
log "--- done find_progs ---"
- return 0
+ return 0
else
# logverbose "old--- $old_libs --- new +++ $i +++"
fi
@@ -881,11 +882,11 @@ fill_floppy_image() {
fi
log "Compress with kgzip and copy to floppy image"
- mkdir -p ${dst}/boot/kernel
+ mkdir -p ${dst}/boot/kernel
# XXX update loader.conf
- echo "hint.acpi.0.disabled=\"1\"" > ${dst}/boot/loader.conf
- echo "console=\"comconsole\"" >> ${dst}/boot/loader.conf
- cp -p /boot/loader ${dst}/boot/loader || fail $? no_space "copying bootloader"
+ echo "hint.acpi.0.disabled=\"1\"" > ${dst}/boot/loader.conf
+ echo "console=\"comconsole\"" >> ${dst}/boot/loader.conf
+ cp -p /boot/loader ${dst}/boot/loader || fail $? no_space "copying bootloader"
gzip -c kernel > ${dst}/boot/kernel/kernel.gz || fail $? no_space "copying kernel"
# now transfer the floppy tree. If it is already in mfs, dont bother.
More information about the svn-src-stable-9
mailing list