Setting LOCAL_CLANG at the command line when calling make doesn't  appear 
to work. 

Editing individual makefiles seems to work, but I am currently unable to 
complete a bid of bullhead for whatever other reasons.

This issue can be closed.




On Monday, September 24, 2018 at 11:11:46 AM UTC-4, American Justice Corp 
wrote:
>
> Target Device: Nexus 5X
>
> Development Host: Linux, Slackware 14.2, 64-Bit, x86_64 Desktop Hardware.
>
>
> This posting is regarding installing, (flashing) a "userdebug" build of 
> bullhead, (repo sync'd on 21 Sept. 2018), to a Nexus 5X Device, 
>
> that is built unmodified via the "repo" commands, "lunch" and "make droid".
>
>
> Android Studio, and Platform Tools are installed and up to date. Android 
> Studio has been used successfully to build sample Apps, push them to device,
>
> and run them on device.
>
>
> The repo folder on the Development Host is sync'd, (as of 21 September 
> 2018). 
>
>
> device/lge/bullhead was cloned  via:  git clone 
> https://android.googlesource.com/device/lge/bullhead
>
> and and added to the repo. 
>
>
> After a "repo init" and "repo sync", the lunch menu has 39 items. Item #3 
> is "aosp_bullhead-userdebug"
>
>
> After selecting "aosp_bullhead-userdebug", (#3), from the Lunch Menu, when 
> attempting to "make "adb" and "make fast boot", I get the following error:
>
>
> *[ 23% 223/958] including device/lge/bullhead/Android.mk ...*
>
> *FAILED: *
>
> *device/lge/bullhead/camera/QCamera2/Android.mk: **error:** 
> camera.msm8992: LOCAL_CLANG false is no longer supported *
>
> *build/make/core/binary.mk:341 <http://binary.mk:341>: **error: **done.*
>
> *19:21:19 ckati failed with: exit status 1*
>
>
> If I edit the Android.mk file shown, to either comment out this line, (or 
> set it ti true),
>
>
> *LOCAL_CLANG **:= false*
>
>
> The build proceeds until it finds the next "Makefile" with the same lines, 
> then errors out with the same error. This continues multiple times.
>
>
> Is there a way to override this Variable for all the .mk files, from a 
> top-level Makefile, or command-line option, or do they all need to be 
> edited now?
>
>
>
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to