add patch from #196
[openwrt.git] / target / linux / rules.mk
index b921f15..f0f2e72 100644 (file)
@@ -68,7 +68,7 @@ $$(PKG_$(1)): $(LINUX_DIR)/.modules_done
        echo "Depends: $$(IDEPEND_$(1))" >> $$(I_$(1))/CONTROL/control
 ifneq ($(strip $(3)),)
        mkdir -p $$(I_$(1))/lib/modules/$(LINUX_VERSION)
-       cp $(3) $$(I_$(1))/lib/modules/$(LINUX_VERSION)
+       $(CP) $(3) $$(I_$(1))/lib/modules/$(LINUX_VERSION)
 endif
 ifneq ($(6),)
        mkdir -p $$(I_$(1))/etc/modules.d
@@ -81,6 +81,7 @@ endif
 
 endef
 
+KERNEL_IPKG:=$(LINUX_BUILD_DIR)/kernel_$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)_$(ARCH).ipk
 INSTALL_TARGETS := $(KERNEL_IPKG)
 TARGETS := 
 
This page took 0.025768 seconds and 4 git commands to generate.