Search Linux Wireless

Re: [PATCH 1/1] iw: Android.mk & version.sh: update for Android based compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Apr 28, 2016 at 11:36 PM, Yongqin Liu <yongqin.liu@xxxxxxxxxx> wrote:
> update the Android.mk file and version.sh script for
> Android based compilation
>
> Android.mk:  the same file as the one in AOSP master tip
> version.sh:  update to get the version information from the
>    git repository where this file is located instead of the
>    the current directory where it is executed, otherwise if
>    there is .git directory in the current directory, it will
>    get the wrong version information.
>    And improved the version check since the tag information
>    may not be mirrored like what AOSP does now.
>
> Change-Id: I8fa59f0e5c7ebd61b364c77fdccf8e74da2e565c
> Signed-off-by: Yongqin Liu <yongqin.liu@xxxxxxxxxx>
> ---
>  Android.mk | 30 ++++++++++++++++++++----------
>  version.sh | 39 +++++++++++++++++++++++++++------------
>  2 files changed, 47 insertions(+), 22 deletions(-)
>
> diff --git a/Android.mk b/Android.mk
> index 4a50f89..20b0432 100644
> --- a/Android.mk
> +++ b/Android.mk
> @@ -1,22 +1,32 @@
>  LOCAL_PATH := $(call my-dir)
> -IW_SOURCE_DIR := $(LOCAL_PATH)
>
>  include $(CLEAR_VARS)
>
> -IW_ANDROID_BUILD=y
> -NO_PKG_CONFIG=y
> -include $(LOCAL_PATH)/Makefile
> -
> -LOCAL_SRC_FILES := $(patsubst %.o,%.c,$(OBJS))
> +LOCAL_SRC_FILES := \
> +  iw.c genl.c event.c info.c phy.c \
> +  interface.c ibss.c station.c survey.c util.c ocb.c \
> +  mesh.c mpath.c mpp.c scan.c reg.c \
> +  reason.c status.c connect.c link.c offch.c ps.c cqm.c \
> +  bitrate.c wowlan.c coalesce.c roc.c p2p.c vendor.c \
> +  sections.c
>
>  LOCAL_CFLAGS += -DCONFIG_LIBNL20
> +
> +# Silence some warnings for now. Needs to be fixed upstream. b/26105799

Comments like this worry me: who is being referred to as "upstream",
what are these warnings and why has nobody fixed them?

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux