no USE_BOOTPARAM

This commit is contained in:
Ben Gras 2012-05-05 11:48:21 +02:00
parent 3803c55856
commit ad0db93247
3 changed files with 2 additions and 12 deletions

View file

@ -163,7 +163,6 @@ __dead void arch_shutdown(int how)
reset();
}
#if USE_BOOTPARAM
if (how == RBT_DEFAULT) {
how = RBT_RESET;
}
@ -190,10 +189,6 @@ __dead void arch_shutdown(int how)
reset();
NOT_REACHABLE;
}
#else /* !USE_BOOTPARAM */
/* Poweroff without boot monitor */
arch_bios_poweroff();
#endif
NOT_REACHABLE;
}

View file

@ -41,7 +41,6 @@ void cstart(
/* Copy the boot parameters to the local buffer. */
arch_get_params(params_buffer, sizeof(params_buffer));
#if USE_BOOTPARAM
/* determine verbosity */
if ((value = env_get(VERBOSEBOOTVARNAME)))
verboseboot = atoi(value);
@ -52,9 +51,6 @@ void cstart(
system_hz = atoi(value);
if(!value || system_hz < 2 || system_hz > 50000) /* sanity check */
system_hz = DEFAULT_HZ;
#else /* !USE_BOOTPARAM */
system_hz = DEFAULT_HZ;
#endif
#ifdef DEBUG_SERIAL
/* Intitialize serial debugging */

View file

@ -774,7 +774,7 @@ _MKVARS.yes= \
#MINIX-specific vars
_MKVARS.yes+= \
MKWATCHDOG MKACPI MKAPIC MKMCONTEXT MKDEBUGREG MKSYSDEBUG \
MKLIVEUPDATE MKSTATECTL MKTRACE MKBOOTPARAM
MKLIVEUPDATE MKSTATECTL MKTRACE
.for var in ${_MKVARS.yes}
${var}?= yes
.endfor
@ -844,7 +844,6 @@ MKSYSDEBUG:= no
MKLIVEUPDATE:= no
MKSTATECTL:= no
MKTRACE:= no
MKBOOTPARAM:= no
.endif
#
@ -907,7 +906,7 @@ ${var}?= no
#
.for var in USE_HESIOD USE_INET6 USE_KERBEROS USE_LDAP USE_PAM USE_YP \
USE_WATCHDOG USE_ACPI USE_APIC USE_MCONTEXT USE_DEBUGREG USE_SYSDEBUG \
USE_LIVEUPDATE USE_STATECTL USE_TRACE USE_BOOTPARAM
USE_LIVEUPDATE USE_STATECTL USE_TRACE
.if (${${var:S/USE_/MK/}} == "no")
${var}:= no
.else