Ignore:
Timestamp:
2011-07-15T13:03:21+02:00 (5 years ago)
Author:
jow
Message:

[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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/mtd-utils/Makefile

    r27156 r27612  
    7272 
    7373define PartGen 
    74 define Package/mtd-utils-$(1) 
     74define Package/mtd-utils-$(subst _,-,$(1)) 
    7575  TITLE:=MTD $(1) 
    7676  URL:=http://www.linux-mtd.infradead.org/ 
     
    9292endef 
    9393 
     94define Package/mtd-utils/install 
     95        true 
     96endef 
     97 
    9498$(foreach file,$(FILES),$(eval $(call PartGen,$(file)))) 
    9599 
     
    106110 
    107111define PartInstall 
    108 define Package/mtd-utils-$(1)/install 
     112define Package/mtd-utils-$(subst _,-,$(1))/install 
    109113        $(INSTALL_DIR) \ 
    110114                $$(1)/usr/sbin 
     
    119123 
    120124$(eval $(call BuildPackage,mtd-utils)) 
    121 $(foreach file,$(FILES),$(eval $(call BuildPackage,mtd-utils-$(file)))) 
     125$(foreach file,$(FILES),$(eval $(call BuildPackage,mtd-utils-$(subst _,-,$(file))))) 
Note: See TracChangeset for help on using the changeset viewer.