All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] rtl8188eu: Move the post install target hook before the infras
@ 2016-12-26 15:07 Ezequiel Garcia
  2017-01-27  8:54 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Ezequiel Garcia @ 2016-12-26 15:07 UTC (permalink / raw)
  To: buildroot

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 <ezequiel@vanguardiasur.com.ar>
--
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(-)

diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk
index 5da6bf35dc53..8560be297d9a 100644
--- a/package/rtl8188eu/rtl8188eu.mk
+++ b/package/rtl8188eu/rtl8188eu.mk
@@ -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))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] rtl8188eu: Move the post install target hook before the infras
  2016-12-26 15:07 [Buildroot] [PATCH] rtl8188eu: Move the post install target hook before the infras Ezequiel Garcia
@ 2017-01-27  8:54 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-01-27  8:54 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 26 Dec 2016 12:07:07 -0300, Ezequiel Garcia wrote:
> 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 <ezequiel@vanguardiasur.com.ar>
> --
> 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-27  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-26 15:07 [Buildroot] [PATCH] rtl8188eu: Move the post install target hook before the infras Ezequiel Garcia
2017-01-27  8:54 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.