Changeset 203

Show
Ignore:
Timestamp:
12/27/06 23:40:45 (5 years ago)
Author:
root
Message:

Yet another idea from Apachez.

Location:
floppyfw/package/linux
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • floppyfw/package/linux/Config.in

    r155 r203  
    11config BR2_PACKAGE_LINUX 
    2         bool"linux" 
     2        bool "linux" 
    33        default y 
    44        help 
    55 
    66config EMULATE_FPU 
    7         bool"Floating point/Math emlation" 
     7        bool "Floating point/Math emlation" 
    88        depends BR2_PACKAGE_LINUX 
    99        default n 
    1010        help 
    1111          If your processor does not have a floating point unit, turn this on. 
     12          It turns on math emulation in the kernel, it will all be very slow 
     13          but at least it will work. 
    1214 
    1315config NIC_MODULES 
     
    1517        default "3c509 3c59x 8139cp 8139too pcnet32 r8169 e100 e1000 ne ne2k-pci forcedeth tulip" 
    1618        depends BR2_PACKAGE_LINUX 
     19 
     20config LINUX_KCONFIG 
     21        string "Kernel configuration file, has to reside in configs/" 
     22        depends BR2_PACKAGE_LINUX 
     23        default "config-kernel" 
     24        help 
     25          Nice to be able to roll your own kernel config. 
  • floppyfw/package/linux/linux.mk

    r184 r203  
    3737LINUX_SOURCE=linux-$(DOWNLOAD_LINUX_VERSION).tar.bz2 
    3838LINUX_SITE=ftp://ftp.kernel.org/pub/linux/kernel/v2.4 
    39 LINUX_KCONFIG=$(CONFIG_DIR)/config-kernel 
    4039LINUX_KERNEL=$(LINUX_DIR)/vmlinuz 
    4140# Used by pcmcia-cs and others 
     
    104103 
    105104$(LINUX_KCONFIG): 
    106         @if [ ! -f "$(LINUX_KCONFIG)" ] ; then \ 
     105        @if [ ! -f "$(CONFIG_DIR)/$(LINUX_KCONFIG)" ] ; then \ 
    107106                echo ""; \ 
    108107                echo "You should create a .config for your kernel"; \ 
    109                 echo "and install it as $(LINUX_KCONFIG)"; \ 
     108                echo "and install it as $(CONFIG_DIR)/$(LINUX_KCONFIG)"; \ 
    110109                echo ""; \ 
    111110                sleep 5; \ 
    112111        fi; 
    113  
    114112 
    115113$(LINUX_DIR)/.configured:  $(LINUX_DIR)/.patched  $(LINUX_KCONFIG) 
     
    178176linux-source: $(DL_DIR)/$(LINUX_SOURCE) 
    179177 
     178linux-menuconfig: $(LINUX_DIR)/.configured 
     179        ( cd $(LINUX_DIR) ; \ 
     180                make menuconfig ; \ 
     181                cp .config $(CONFIG_DIR)/$(LINUX_KCONFIG) \ 
     182        ) 
     183 
    180184# This has been renamed so we do _NOT_ by default run this on 'make clean' 
    181185linuxclean: clean