fix pesky kmod-* ipkg install bug
authorFelix Fietkau <nbd@openwrt.org>
Sat, 25 Nov 2006 19:45:22 +0000 (19:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 25 Nov 2006 19:45:22 +0000 (19:45 +0000)
SVN-Revision: 5639

include/kernel.mk
include/package.mk

index b8af46c2b88b85c44fdfd1a1de545e104c922e84..b5950c3f5da444219a361603f8ef671d11ad36a0 100644 (file)
@@ -88,7 +88,7 @@ define KernelPackage
     CATEGORY:=Kernel modules
     DEFAULT:=$(KMOD_DEFAULT)
     DESCRIPTION:=$(DESCRIPTION)
-    EXTRA_DEPENDS:='kernel (=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))'
+    EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))
     $(call KernelPackage/$(1))
     $(call KernelPackage/$(1)/$(KERNEL))
     $(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))
index 4e67e732468d5983253b4b5dc2e3f6d1a1b431ce..69606464ae497cb11eae7d14466f7a571f3a1977 100644 (file)
@@ -208,11 +208,11 @@ define BuildPackage
        echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
        echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
        ( \
-               DEPENDS=; \
+               DEPENDS='$(EXTRA_DEPENDS)'; \
                for depend in $$(filter-out @%,$$(IDEPEND_$(1))); do \
                        DEPENDS=$$$${DEPENDS:+$$$$DEPENDS, }$$$${depend##+}; \
                done; \
-               echo "Depends: $(EXTRA_DEPENDS) $$$$DEPENDS" >> $$(IDIR_$(1))/CONTROL/control; \
+               echo "Depends: $$$$DEPENDS" >> $$(IDIR_$(1))/CONTROL/control; \
        )
        echo "Source: $(SOURCE)" >> $$(IDIR_$(1))/CONTROL/control
        echo "Section: $(SECTION)" >> $$(IDIR_$(1))/CONTROL/control