From: Jo-Philipp Wich Date: Sun, 17 Jul 2011 23:10:48 +0000 (+0000) Subject: merge r27612 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d761359816babc34f1b564d610c3ab59916ed87b;p=openwrt%2Fsvn-archive%2Fpackages.git merge r27612 SVN-Revision: 27674 --- diff --git a/utils/mtd-utils/Makefile b/utils/mtd-utils/Makefile index 63711d9a4..ce1c93d9b 100644 --- a/utils/mtd-utils/Makefile +++ b/utils/mtd-utils/Makefile @@ -71,7 +71,7 @@ FILES:= \ rfdformat define PartGen -define Package/mtd-utils-$(1) +define Package/mtd-utils-$(subst _,-,$(1)) TITLE:=MTD $(1) URL:=http://www.linux-mtd.infradead.org/ SECTION:=utils @@ -91,6 +91,10 @@ define Package/mtd-utils/description Utilities for manipulating memory technology devices. endef +define Package/mtd-utils/install + true +endef + $(foreach file,$(FILES),$(eval $(call PartGen,$(file)))) MAKE_FLAGS += \ @@ -105,7 +109,7 @@ MAKE_FLAGS += \ endif define PartInstall -define Package/mtd-utils-$(1)/install +define Package/mtd-utils-$(subst _,-,$(1))/install $(INSTALL_DIR) \ $$(1)/usr/sbin @@ -118,4 +122,4 @@ endef $(foreach file,$(FILES),$(eval $(call PartInstall,$(file)))) $(eval $(call BuildPackage,mtd-utils)) -$(foreach file,$(FILES),$(eval $(call BuildPackage,mtd-utils-$(file)))) +$(foreach file,$(FILES),$(eval $(call BuildPackage,mtd-utils-$(subst _,-,$(file)))))