Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- open Glitch/Makefile
- Goto line 380. (Ctrl+i = goto line in gedit)
- under "KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds"
- add
- KBUILD_BUILD_USER := MYUSERNAME
- KBUILD_BUILD_HOST := MYHOST
- (that will show up as MYUSERNAME@MYHOST in about phone, so make it what you want)
- line 398, under "export KBUILD_ARFLAGS"
- add "export KBUILD_BUILD_USER KBUILD_BUILD_HOST"
- open glitch.sh
- http://pastebin.com/bmvaxH6P
- echo "creating boot.img"
- # CM9 repo as target for ramdisk and recovery
- #$repo/device/samsung/aries-common/mkshbootimg.py $KERNEL_DIR/release/boot.img "$target_dir"/arch/arm/boot/zImage $repo/out/target/product/$target/ramdisk.img $repo/out/target/product/$target/ramdisk-recovery.img
- # CM9 repo as target for ramdisk, backup for recovery
- #$repo/device/samsung/aries-common/mkshbootimg.py $KERNEL_DIR/release/boot.img "$target_dir"/arch/arm/boot/zImage $repo/out/target/product/$target/ramdisk.img $KERNEL_DIR/release/auto/Glitch-Ramdisks/$target/ramdisk-recovery.img
- # Backup as target for ramdisk and recovery
- $repo/device/samsung/aries-common/mkshbootimg.py $KERNEL_DIR/release/boot.img "$target_dir"/arch/arm/boot/zImage $KERNEL_DIR/release/auto/Glitch-Ramdisks/$target/ramdisk.img $KERNEL_DIR/release/auto/Glitch-Ramdisks/$target/ramdisk-recovery.img
- echo "packaging it up"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement