rtl8188eu: Move the post install target hook before the infras
PATCH 1/1 rtl8188eu: Move the post install target hook before the infras
The hook is only used to install firmware blobs, and so it doesn't need to be declared after the kernel-module infra. Move it where it belong, to avoid confusion.
--
This is just a nitpick, but since contributors are likely to use this package as an example, let's avoid copy-pasted cluttering.
--- package/rtl8188eu/rtl8188eu.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
package/rtl8188eu/rtl8188eu.mk +1 -2
@@ -10,12 +10,11 @@ RTL8188EU_LICENSE = GPLv2, proprietary (rtl8188eufw.bin firmware blob) RTL8188EU_LICENSE_FILES = COPYING RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m -$(eval $(kernel-module)) - define RTL8188EU_INSTALL_FIRMWARE $(INSTALL) -D -m 644 $(@D)/rtl8188eufw.bin \ $(TARGET_DIR)/lib/firmware/rtlwifi/rtl8188eufw.bin endef RTL8188EU_POST_INSTALL_TARGET_HOOKS += RTL8188EU_INSTALL_FIRMWARE +$(eval $(kernel-module)) $(eval $(generic-package))
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH 1/1 rtl8188eu: Move the post install target hook before the infras
Hello,
Quoted 11 lines · Ezequiel Garcia
The hook is only used to install firmware blobs, and so it doesn't need to be declared after the kernel-module infra. Move it where it belong, to avoid confusion.
Signed-off-by Ezequiel Garcia <[email protected]>--
This is just a nitpick, but since contributors are likely to use this package as an example, let's avoid copy-pasted cluttering.--- package/rtl8188eu/rtl8188eu.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com