Changeset 3418

Show
Ignore:
Timestamp:
08/06/07 17:06:40 (1 year ago)
Author:
tg
Message:

• if an “extra” directory exists, copy it in (so we don't need to

patch files into existence here either)

• fix brcm-2.6 kernel build

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/kernel-build.mk

    r3333 r3418  
    2525        ln -s $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux 
    2626        $(TRACE) target/linux/$(BOARD)-$(KERNEL)-kernel-patch 
     27        -[[ -d extra ]] && cd extra && pax -rw . ${LINUX_DIR}/ 
    2728        -[ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches $(MAKE_TRACE) 
    2829        -[ -d ../generic-${UNAME_R}/patches ] && $(PATCH) $(LINUX_DIR) ../generic-${UNAME_R}/patches $(MAKE_TRACE) 
     
    7677        $(TARGET_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) 
    7778endif 
     79else 
     80ifeq ($(BOARD),brcm) 
     81        $(TARGET_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $< $@ $(MAKE_TRACE) 
     82endif 
    7883endif 
    7984