mt8163 / android_kernel_amazon_karnak Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
@ggow if you have time do you mind fixing this for me. im trying to remove the logging hooks but amazon messed this up and it doesnt let me build after removing these. if this is fixed i will continue to upstream. Thanks!!!
edit:
pushed the latest commit
Reproduction of error:
Fresh install of Ubuntu 16/18/20LTS
Installed repo, curl, git, packages described in build guide.
sudo apt upgrade (most likely unnecessary but always have.)
Init repo and add local manifests for LOS16, sync.
fetch build.sh script and run.
Error produced as follows:
In file included from /home/crowbar/android/lineage/kernel/amazon/karnak/include/linux/compiler.h:54:0, from /home/crowbar/android/lineage/kernel/amazon/karnak/include/uapi/linux/stddef.h:1, from /home/crowbar/android/lineage/kernel/amazon/karnak/include/linux/stddef.h:4, from /home/crowbar/android/lineage/kernel/amazon/karnak/include/uapi/linux/posix_types.h:4, from /home/crowbar/android/lineage/kernel/amazon/karnak/include/uapi/linux/types.h:13, from /home/crowbar/android/lineage/kernel/amazon/karnak/include/linux/types.h:5, from /home/crowbar/android/lineage/kernel/amazon/karnak/include/linux/mod_devicetable.h:11, from /home/crowbar/android/lineage/kernel/amazon/karnak/scripts/mod/devicetable-offsets.c:2: /home/crowbar/android/lineage/kernel/amazon/karnak/include/linux/compiler-gcc.h:236:5: warning: "__has_attribute" is not defined [-Wundef] #if __has_attribute(__no_sanitize_address__) ^ /home/crowbar/android/lineage/kernel/amazon/karnak/include/linux/compiler-gcc.h:236:20: error: missing binary operator before token "(" #if __has_attribute(__no_sanitize_address__) ^ /home/crowbar/android/lineage/kernel/amazon/karnak/scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1
Solution found in commit from OSDN, posted Oct 2019.
https://osdn.net/projects/android-x86/scm/git/kernel/blobs/c9083aa80b1bd5e6ac23c05b363a960c40ab6c06/include/linux/compiler-gcc.h
Seems this simple addition is all that is needed to successfully build the kernel.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.