Changeset 21951


Ignore:
Timestamp:
2010-06-26T22:42:38+02:00 (6 years ago)
Author:
nbd
Message:

remove linux 2.4 specific build system code

Location:
trunk/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r21369 r21951  
    4545endif 
    4646 
    47 ifneq ($(CONFIG_LINUX_2_4)$(CONFIG_LINUX_2_6_25),) 
     47ifneq ($(CONFIG_LINUX_2_6_25),) 
    4848  USE_SQUASHFS3 := y 
    4949endif 
  • trunk/include/kernel-defaults.mk

    r20837 r21951  
    6464endif 
    6565 
    66 ifeq ($(KERNEL),2.6) 
    67   ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) 
     66ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) 
    6867    define Kernel/SetInitramfs 
    6968                mv $(LINUX_DIR)/.config $(LINUX_DIR)/.config.old 
     
    8584                echo 'CONFIG_INITRAMFS_SOURCE=""' >> $(LINUX_DIR)/.config 
    8685    endef 
    87   endif 
    8886endif 
    8987 
    90 define Kernel/Configure/2.4 
    91         $(SED) "s,\-mcpu=,\-mtune=,g;" $(LINUX_DIR)/arch/mips/Makefile 
    92         $(_SINGLE)$(MAKE) $(KERNEL_MAKEOPTS) oldconfig include/linux/compile.h include/linux/version.h 
    93         $(_SINGLE)$(MAKE) $(KERNEL_MAKEOPTS) dep 
    94 endef 
    95 define Kernel/Configure/2.6 
    96         -$(_SINGLE)$(MAKE) $(KERNEL_MAKEOPTS) oldconfig prepare scripts 
    97 endef 
    9888define Kernel/Configure/Default 
    9989        $(LINUX_CONFCMD) > $(LINUX_DIR)/.config.target 
     
    10898        $(SCRIPT_DIR)/kconfig.pl 'm+' '+' $(LINUX_DIR)/.config.target /dev/null $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config 
    10999        $(call Kernel/SetInitramfs) 
    110         $(call Kernel/Configure/$(KERNEL)) 
     100        -$(_SINGLE)$(MAKE) $(KERNEL_MAKEOPTS) oldconfig prepare scripts 
    111101        rm -rf $(KERNEL_BUILD_DIR)/modules 
    112102endef 
  • trunk/include/package.mk

    r19849 r21951  
    3232override MAKEFLAGS= 
    3333CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME) 
    34 ifneq ($(CONFIG_LINUX_2_4),) 
    35   CONFIG_SITE:=$(subst linux-,linux2.4-,$(CONFIG_SITE)) 
    36 endif 
    3734CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST))) 
    3835SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE)) 
  • trunk/include/target.mk

    r20425 r21951  
    1313 
    1414# Default packages - the really basic set 
    15 DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg 
     15DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg udevtrigger hotplug2 
    1616# For router targets 
    1717DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall 
    1818DEFAULT_PACKAGES.bootloader:= 
    19  
    20 # Additional packages for Linux 2.6 
    21 ifneq ($(KERNEL),2.4) 
    22   DEFAULT_PACKAGES += udevtrigger hotplug2 
    23 endif 
    2419 
    2520# Add device specific packages 
Note: See TracChangeset for help on using the changeset viewer.