Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73806
b: refs/heads/master
c: daa93fa
h: refs/heads/master
v: v3
  • Loading branch information
Sam Ravnborg committed Nov 12, 2007
1 parent de3b3f8 commit 18e3f76
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 49 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d746d647f31bd3664f4a23985b78654129ffc1db
refs/heads/master: daa93fab824f2b8c35bd11670c7fab2f32b2de5f
4 changes: 3 additions & 1 deletion trunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,11 @@ SRCARCH := $(ARCH)
# Additional ARCH settings for x86
ifeq ($(ARCH),i386)
SRCARCH := x86
K64BIT := n
endif
ifeq ($(ARCH),x86_64)
SRCARCH := x86
K64BIT := y
endif

KCONFIG_CONFIG ?= .config
Expand Down Expand Up @@ -339,7 +341,7 @@ KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)

export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
export ARCH SRCARCH K64BIT CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
export CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE
export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS

Expand Down
18 changes: 15 additions & 3 deletions trunk/arch/x86/Kconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
# x86 configuration
mainmenu "Linux Kernel Configuration for x86"

# Select 32 or 64 bit
config 64BIT
bool "64-bit kernel"
default n
help
Say yes to build a 64-bit kernel - formerly known as x86_64
Say no to build a 32-bit kernel - formerly known as i386

config X86_32
def_bool !64BIT

config X86_64
def_bool 64BIT

### Arch settings
config X86
bool
default y

config 64BIT
def_bool X86_64

config GENERIC_TIME
bool
default y
Expand Down
18 changes: 0 additions & 18 deletions trunk/arch/x86/Kconfig.i386

This file was deleted.

20 changes: 0 additions & 20 deletions trunk/arch/x86/Kconfig.x86_64

This file was deleted.

7 changes: 1 addition & 6 deletions trunk/scripts/kconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@

PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config

# If a arch/$(SRCARCH)/Kconfig.$(ARCH) file exist use it
ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/Kconfig.$(ARCH)),)
Kconfig := arch/$(SRCARCH)/Kconfig.$(ARCH)
else
Kconfig := arch/$(SRCARCH)/Kconfig
endif
Kconfig := arch/$(SRCARCH)/Kconfig

xconfig: $(obj)/qconf
$< $(Kconfig)
Expand Down

0 comments on commit 18e3f76

Please sign in to comment.