aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
AgeCommit message (Collapse)Author
2017-02-17Disable more warnings in external/iwandroid-o-preview-1android-n-mr2-preview-2o-previewAurimas Liutikas
Disable existing warnings and enable -Werror to prevent any regressions. Bug: 31434916 Test: make -j60 iw produces no warnings Change-Id: Ia7f69acefc1eea55fbeb609e0a48e261f62c8b44
2016-11-28Android.mk: Stop using version.sh scriptDan Willemsen
This isn't producing the correct results anyways, since the working directory of the script is the top level of the android tree, not external/iw like the script expects. And moving the working directory doesn't help either, since we don't have a copy the git tags that it expects. I noticed this while testing git submodules as an alternative to repo, where we suddenly have a .git directory at the top level, and the script failed. So just extract the version number itself from the script and write out our own version.c file. Test: m out/target/product/generic/gen/EXECUTABLES/iw_intermediates/version.c Test: Compare version.c before/after Change-Id: I98ff4e44b84afbcd2ce8319ccf6816d5fa57a90a
2016-06-13Admit that iw is _GNU_SOURCE.android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Elliott Hughes
Change-Id: Ifa778f084405647b10166b3cb82d290f44780969
2015-12-09Iw: Silence some warningsandroid-wear-n-preview-3android-wear-n-preview-1android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-releasebrillo-m9-releasebrillo-m9-devbrillo-m8-releasebrillo-m8-devbrillo-m10-releasebrillo-m10-devAndreas Gampe
Silence some (benign) warnings. Bug: 26105799 Change-Id: I5c8444662e0673f730d2ad196ad25d52d36cbead
2015-08-10iw: Remove include of Makefile to avoid definition of invalid rulesbrillo-m7-releasebrillo-m7-mr-devbrillo-m7-devFilipe Brandenburger
This can be harmful for rules such as "clean" and implicit make rules defined in iw's Makefile, such as "%.o", etc. The problem was detected from this build warning: build/core/main.mk:1045: warning: overriding commands for target `clean' external/iw/Makefile:126: warning: ignoring old commands for target `clean' Fix it by removing the include of Makefile in Android.mk. For now, this creates even more duplication between the two files, in the future we can try to prevent that by factoring out common code (such as the list of *.o files, cflags, etc.) into a "common" file that can be included in both makefiles. TEST=Build iw from the AOSP tree and confirm it is built correctly. Confirmed that the warning about the "clean" rule is gone. Change-Id: Ia927a71edbf0243dc0074a0ac6f6aa583ce636c5
2015-08-03iw: include iw in both "userdebug" and "eng" Android buildsFilipe Brandenburger
The binary is also relevant on debug builds. While at it, removed commented out line marking it as optional. TEST=Built AOSP tree with this patchset, tested the generated iw binary. Change-Id: I0bb234c5035235155e9bfb0eb3fd05fb698d4775 Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2015-08-03iw: remove android-nl.c with unneeded workaroundFilipe Brandenburger
The workaround might have been necessary in the past, however now it produces the following error: .../libnl.a(attr.o): multiple definition of 'nla_put_flag' .../android-nl.o: previous definition here collect2: error: ld returned 1 exit status TEST=Built AOSP tree with this patchset, tested the generated iw binary. Change-Id: I932d6d3530f0aaea3dd822d48a74344be35b383a Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2015-08-03iw: fix references to libnl in Android.mkFilipe Brandenburger
The latest AOSP refers to that library as libnl and not libnl_2. TEST=Built AOSP tree with this patchset, tested the generated iw binary. Change-Id: I79ba4249e3f43bb6d593915458f9a06002d200d2 Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2015-01-06iw: fix android buildArik Nemtsov
Don't define "iw" build target in the regular Makefile which gets included. This confuses the Android build system (coincides with module name). Also correct libnl_2 to a be static library, as compiled on Android. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-25add Android build systemJohannes Berg
Unfortunately Android's libnl doesn't have nla_put_flag() so add a simple source file to declare that for now.