Changeset 8247


Ignore:
Timestamp:
2007-07-30T23:57:14+02:00 (9 years ago)
Author:
nbd
Message:

no need to call compile,install on the kernel-headers dir - this gets rid of another unnecessary autorebuild check

Location:
trunk/toolchain
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/Makefile

    r8242 r8247  
    1111# subdirectories to descend into 
    1212$(curdir)/builddirs := kernel-headers $(if $(CONFIG_GDB),gdb) $(if $(CONFIG_NATIVE_TOOLCHAIN),,binutils gcc uClibc) 
     13$(curdir)/builddirs-compile:=. $(filter-out kernel-headers,$($(curdir)/builddirs)) 
     14$(curdir)/builddirs-install:=$($(curdir)/builddirs-compile) 
    1315 
    1416# builddir dependencies 
  • trunk/toolchain/kernel-headers/Makefile

    r7749 r8247  
    3535endef 
    3636 
    37 ifdef Build/Prepare/$(ARCH) 
    38 define Build/Prepare 
    39         $(call Build/Prepare/$(ARCH)) 
    40 endef 
    41 else 
    42 define Build/Prepare 
    43         $(call Kernel/Prepare/Default) 
    44         $(SED) 's/@expr length/@-expr length/' $(PKG_BUILD_DIR)/Makefile 
    45         ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR) 
    46 endef 
    47 endif 
    48  
    4937define Build/Configure/powerpc 
    5038        $(CP) $(PKG_BUILD_DIR)/include/asm-ppc/* $(PKG_BUILD_DIR)/include/asm-powerpc/ 
     
    6149        CONFIG_SHELL=$(BASH) 
    6250 
    63 define Build/Configure 
     51define Build/Prepare/Default 
     52        $(call Kernel/Prepare/Default) 
     53        $(SED) 's/@expr length/@-expr length/' $(PKG_BUILD_DIR)/Makefile 
     54        ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR) 
     55endef 
     56 
     57define Build/Prepare 
     58        $(if $(Build/Prepare/$(ARCH)),$(Build/Prepare/$(ARCH)),$(Build/Prepare/Default)) 
    6459        yes '' | $(KMAKE) oldconfig 
    6560        $(KMAKE) include/linux/version.h include/asm 
    6661        $(call Build/Configure/$(ARCH)) 
     62endef 
     63 
     64define Build/Configure 
    6765endef 
    6866 
Note: See TracChangeset for help on using the changeset viewer.