Changeset 792


Ignore:
Timestamp:
2005-05-03T15:32:09+02:00 (13 years ago)
Author:
nbd
Message:

disable delayed branch optimization for kernel - seems to improve stability on v1 hardware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/linux/linux.mk

    r791 r792  
    7878 
    7979$(LINUX_DIR)/$(LINUX_BINLOC): $(LINUX_DIR)/.depend_done 
    80         $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) $(LINUX_FORMAT) 
     80        $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) CFLAGS_KERNEL="-fno-delayed-branch " $(LINUX_FORMAT) 
    8181 
    8282$(LINUX_KERNEL): $(LINUX_DIR)/$(LINUX_BINLOC) 
     
    8989$(LINUX_DIR)/.modules_done: $(LINUX_KERNEL) $(LINUX_IMAGE) 
    9090        rm -rf $(BUILD_DIR)/modules 
    91         $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) modules 
     91        $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_KARCH) PATH=$(TARGET_PATH) CFLAGS_KERNEL="-fno-delayed-branch " modules 
    9292        $(MAKE) -C $(LINUX_DIR) DEPMOD=true INSTALL_MOD_PATH=$(BUILD_DIR)/modules modules_install 
    9393        touch $(LINUX_DIR)/.modules_done 
Note: See TracChangeset for help on using the changeset viewer.