[packages] mtd-utils:
- make sure the parent virtual package is built, fixes missing opkg dependencies on install - replace underscores with dashes in the sub-package names git-svn-id: svn://svn.openwrt.org/openwrt/packages@27612 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
afb0dd4541
commit
4053bf95ea
@ -71,7 +71,7 @@ FILES:= \
|
|||||||
rfdformat
|
rfdformat
|
||||||
|
|
||||||
define PartGen
|
define PartGen
|
||||||
define Package/mtd-utils-$(1)
|
define Package/mtd-utils-$(subst _,-,$(1))
|
||||||
TITLE:=MTD $(1)
|
TITLE:=MTD $(1)
|
||||||
URL:=http://www.linux-mtd.infradead.org/
|
URL:=http://www.linux-mtd.infradead.org/
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
@ -91,6 +91,10 @@ define Package/mtd-utils/description
|
|||||||
Utilities for manipulating memory technology devices.
|
Utilities for manipulating memory technology devices.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/mtd-utils/install
|
||||||
|
true
|
||||||
|
endef
|
||||||
|
|
||||||
$(foreach file,$(FILES),$(eval $(call PartGen,$(file))))
|
$(foreach file,$(FILES),$(eval $(call PartGen,$(file))))
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
@ -105,7 +109,7 @@ MAKE_FLAGS += \
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define PartInstall
|
define PartInstall
|
||||||
define Package/mtd-utils-$(1)/install
|
define Package/mtd-utils-$(subst _,-,$(1))/install
|
||||||
$(INSTALL_DIR) \
|
$(INSTALL_DIR) \
|
||||||
$$(1)/usr/sbin
|
$$(1)/usr/sbin
|
||||||
|
|
||||||
@ -118,4 +122,4 @@ endef
|
|||||||
$(foreach file,$(FILES),$(eval $(call PartInstall,$(file))))
|
$(foreach file,$(FILES),$(eval $(call PartInstall,$(file))))
|
||||||
|
|
||||||
$(eval $(call BuildPackage,mtd-utils))
|
$(eval $(call BuildPackage,mtd-utils))
|
||||||
$(foreach file,$(FILES),$(eval $(call BuildPackage,mtd-utils-$(file))))
|
$(foreach file,$(FILES),$(eval $(call BuildPackage,mtd-utils-$(subst _,-,$(file)))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user