Advertisement
Perka

Glitch changes

May 26th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. open Glitch/Makefile
  2. Goto line 380. (Ctrl+i = goto line in gedit)
  3. under "KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds"
  4. add
  5. KBUILD_BUILD_USER := MYUSERNAME
  6. KBUILD_BUILD_HOST := MYHOST
  7. (that will show up as MYUSERNAME@MYHOST in about phone, so make it what you want)
  8.  
  9. line 398, under "export KBUILD_ARFLAGS"
  10. add "export KBUILD_BUILD_USER KBUILD_BUILD_HOST"
  11.  
  12. open glitch.sh
  13. http://pastebin.com/bmvaxH6P
  14.  
  15. echo "creating boot.img"
  16.  
  17. # CM9 repo as target for ramdisk and recovery
  18.  
  19. #$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
  20.  
  21. # CM9 repo as target for ramdisk, backup for recovery
  22.  
  23. #$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
  24.  
  25. # Backup as target for ramdisk and recovery
  26.  
  27. $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
  28.  
  29. echo "packaging it up"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement