fix pesky kmod-* ipkg install bug
SVN-Revision: 5639
This commit is contained in:
parent
9b6e2862b6
commit
1c9fe80ed4
2 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue