summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/Config.lb1
-rw-r--r--src/arch/i386/boot/Config.lb2
-rw-r--r--src/arch/i386/smp/Config.lb3
-rw-r--r--src/config/Options.lb2
-rw-r--r--src/cpu/k7/Config.lb4
-rw-r--r--src/cpu/k8/Config.lb7
-rw-r--r--src/cpu/p5/Config.lb4
-rw-r--r--src/cpu/p6/Config.lb4
8 files changed, 16 insertions, 11 deletions
diff --git a/src/arch/i386/Config.lb b/src/arch/i386/Config.lb
index 6e0b3359a9..5cf75803f9 100644
--- a/src/arch/i386/Config.lb
+++ b/src/arch/i386/Config.lb
@@ -1,4 +1,3 @@
-default ARCH=i386
dir lib
dir boot
dir smp
diff --git a/src/arch/i386/boot/Config.lb b/src/arch/i386/boot/Config.lb
index 041cecb360..ddbfa7b79e 100644
--- a/src/arch/i386/boot/Config.lb
+++ b/src/arch/i386/boot/Config.lb
@@ -1,3 +1,5 @@
+uses HAVE_PIRQ_TABLE
+
object boot.o
object linuxbios_table.o
object tables.o
diff --git a/src/arch/i386/smp/Config.lb b/src/arch/i386/smp/Config.lb
index fae7499428..fd7dba6181 100644
--- a/src/arch/i386/smp/Config.lb
+++ b/src/arch/i386/smp/Config.lb
@@ -1,3 +1,6 @@
+uses HAVE_MP_TABLE
+uses CONFIG_SMP
+
if HAVE_MP_TABLE
object mpspec.o
end
diff --git a/src/config/Options.lb b/src/config/Options.lb
index 7cff4530a7..a9753473fc 100644
--- a/src/config/Options.lb
+++ b/src/config/Options.lb
@@ -371,7 +371,7 @@ end
###############################################
define CONFIG_SMP
- default none
+ default 0
export always
comment "Define if we support SMP"
end
diff --git a/src/cpu/k7/Config.lb b/src/cpu/k7/Config.lb
index e27b42efb3..d631c6fd49 100644
--- a/src/cpu/k7/Config.lb
+++ b/src/cpu/k7/Config.lb
@@ -1,3 +1,3 @@
-option k7=1
-default CPU_FIXUP=1
+uses k7
+uses CPU_FIXUP
#object cpufixup.o
diff --git a/src/cpu/k8/Config.lb b/src/cpu/k8/Config.lb
index 28cd7a2877..7a83d3e846 100644
--- a/src/cpu/k8/Config.lb
+++ b/src/cpu/k8/Config.lb
@@ -1,3 +1,4 @@
-default k8=1
-default CPU_FIXUP=1
-object cpufixup.o
+uses CPU_FIXUP
+if CPU_FIXUP
+ object cpufixup.o
+end
diff --git a/src/cpu/p5/Config.lb b/src/cpu/p5/Config.lb
index 9d1d7f2a64..99858dbb29 100644
--- a/src/cpu/p5/Config.lb
+++ b/src/cpu/p5/Config.lb
@@ -1,5 +1,5 @@
-default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=0
-option i586=1
+uses CONFIG_UDELAY_TSC
+
object cpuid.o
if CONFIG_UDELAY_TSC object delay_tsc.o end
#object tsc.o
diff --git a/src/cpu/p6/Config.lb b/src/cpu/p6/Config.lb
index aa92fa46d8..fb6d9ab996 100644
--- a/src/cpu/p6/Config.lb
+++ b/src/cpu/p6/Config.lb
@@ -1,5 +1,5 @@
-option i686=1
-option INTEL_PPRO_MTRR=1
+uses i686
+uses INTEL_PPRO_MTRR
#object microcode.o
object mtrr.o
#object l2_cache.o