Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Ceresoli <luca@lucaceresoli.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] rtl8821au: new package
Date: Wed, 22 Jul 2015 11:41:58 +0200	[thread overview]
Message-ID: <55AF6566.60702@lucaceresoli.net> (raw)
In-Reply-To: <1437431538-1528-1-git-send-email-christian@paral.in>

Dear Christian,

Christian Stewart wrote:
> Adding a kernel module based USB wifi driver. There is no official
> version of this driver that works properly on ARM and with newer USB
> WiFi cards. This driver version builds module 8821au and is based on a
> kernel module release from ASUS with various fixes integrated in.
>
> [Thomas, Yann:
>    - Using the new kernel-module setup]
>
> Signed-off-by: Christian Stewart <christian@paral.in>
> ---

[...]

> --- /dev/null
> +++ b/package/rtl8821au/rtl8821au.mk
> @@ -0,0 +1,25 @@
> +################################################################################
> +#
> +# rtl8821au
> +#
> +################################################################################
> +
> +RTL8821AU_VERSION = 4.3.14
> +RTL8821AU_SITE = $(call github,paralin,rtl8821au,v$(RTL8821AU_VERSION))
> +ifeq ($(call qstrip,$(BR2_ENDAIN)),BIG)
> +RTL8821AU_CFLAGS_ENDIAN = -DCONFIG_BIG_ENDIAN
> +else
> +RTL8821AU_CFLAGS_ENDIAN = -DCONFIG_LITTLE_ENDIAN
> +endif

s/ENDAIN/ENDIAN/

Besides, since BR2_ENDIAN is an uppercase string, why not replacing
these 5 lines with (untested):

   RTL8821AU_CFLAGS_ENDIAN = -DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN

-- 
Luca

      reply	other threads:[~2015-07-22  9:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20 22:32 [Buildroot] [PATCH v2 1/1] rtl8821au: new package Christian Stewart
2015-07-22  9:41 ` Luca Ceresoli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55AF6566.60702@lucaceresoli.net \
    --to=luca@lucaceresoli.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox