JerryScript
Daydream Believer
I got an answer about making the kernel as part of the build.
I don't like it, because I'm supposed to download at least 1/2 GB to look at the source files referenced (which will take me until tomorrow to finish syncing, probably,) but at least it's an answer of some kind.
Hopefully it's not just a copy of a pre-built kernel he's referring to, but even if it is it should help with the copy problem in BobZhome's ics build.
I'll be asking there for alternative methods if my theory about tuna using a prebuilt kernel is correct. I won't know until I can successfully sync the stupid bloated tuna/maguro device folders in my personal copy of the repo. I deliberately took that cruft out of the manifest to give the repo a better chance of downloading over my slow connection.
edit: oooh, nevermind my cursing! CM has the tuna and maguro devices on github, so I can just browse that junk.
the appropriate part of device.mk:
Looks like it'll handle either prebuilt or build it as part of the product if I can figure out how to set TARGET_PREBUILT_KERNEL correctly. Too bad I have to request again the specific information I thought I asked for clearly in the first post there...Code:ifeq ($(TARGET_PREBUILT_KERNEL),) LOCAL_KERNEL := device/samsung/tuna/kernel else LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) endif
There is a device folder in /build/tools that has some templates to follow that I think may help, though I haven't tested yet. The BoardConfig.mk.template shows that you can add the following to /build/target/board/<generic_armv5>/BoardConfig.mk (or whichever you are using):
Code:
TARGET_PREBUILT_KERNEL := device/__MANUFACTURER__/__DEVICE__/kernel