From: Felix Fietkau Date: Fri, 30 Oct 2015 22:01:04 +0000 (+0000) Subject: linux-firmware: minor makefile cleanup X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eda1b3a3f63be4bdf1e8d3c08781dcc5f1ab9a3b;p=openwrt%2Fstaging%2Fblocktrron.git linux-firmware: minor makefile cleanup Signed-off-by: Felix Fietkau SVN-Revision: 47293 --- diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index fe682aba3d..a4b081a517 100644 --- a/package/firmware/linux-firmware/Makefile +++ b/package/firmware/linux-firmware/Makefile @@ -29,10 +29,6 @@ define Package/r8169-firmware TITLE:=RealTek r8169 firmware endef -define Build/Compile - -endef - define Package/r8169-firmware/install $(INSTALL_DIR) $(1)/lib/firmware/rtl_nic $(CP) \ @@ -40,8 +36,6 @@ define Package/r8169-firmware/install $(1)/lib/firmware/rtl_nic endef -$(eval $(call BuildPackage,r8169-firmware)) - define Package/r8188eu-firmware SECTION:=firmware CATEGORY:=Firmware @@ -49,10 +43,6 @@ define Package/r8188eu-firmware TITLE:=RealTek r8188eu firmware endef -define Build/Compile - -endef - define Package/r8188eu-firmware/install $(INSTALL_DIR) $(1)/lib/firmware/rtlwifi $(CP) \ @@ -60,8 +50,6 @@ define Package/r8188eu-firmware/install $(1)/lib/firmware/rtlwifi endef -$(eval $(call BuildPackage,r8188eu-firmware)) - define Package/ibt-firmware SECTION:=firmware CATEGORY:=Firmware @@ -69,10 +57,6 @@ define Package/ibt-firmware TITLE:=Intel bluetooth firmware endef -define Build/Compile - -endef - define Package/ibt-firmware/install $(INSTALL_DIR) $(1)/lib/firmware/intel $(CP) \ @@ -80,8 +64,6 @@ define Package/ibt-firmware/install $(1)/lib/firmware/intel endef -$(eval $(call BuildPackage,ibt-firmware)) - define Package/ar3k-firmware SECTION:=firmware CATEGORY:=Firmware @@ -89,10 +71,6 @@ define Package/ar3k-firmware TITLE:=ath3k firmware endef -define Build/Compile - -endef - define Package/ar3k-firmware/install $(INSTALL_DIR) $(1)/lib/firmware/ar3k $(CP) \ @@ -100,4 +78,11 @@ define Package/ar3k-firmware/install $(1)/lib/firmware/ar3k endef +define Build/Compile + +endef + $(eval $(call BuildPackage,ar3k-firmware)) +$(eval $(call BuildPackage,ibt-firmware)) +$(eval $(call BuildPackage,r8169-firmware)) +$(eval $(call BuildPackage,r8188eu-firmware))