Advertisement
MrRockchip

flag difference

Oct 30th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. =====> OPTFLAGS
  2.  
  3. NEW_UBOOT: -O || OLD_UBOOT: -Os
  4.  
  5. =====> AFLAGS
  6.  
  7. OLD_UBOOT: -Wa,-gstabs
  8. -D__ASSEMBLY__: NEW_UBOOT: -O || OLD_UBOOT: -g -Os || -D__KERNEL__:
  9.  
  10. 1) NEW_UBOOT = OLD_UBOOT +
  11. -G 0
  12. -fpic
  13. -mtune=34kc
  14.  
  15. -msoft-float -fno-schedule-insns -fno-schedule-insns2 -fno-reorder-functions -fno-delete-null-pointer-checks
  16.  
  17. -mips32r2
  18. -Os
  19.  
  20. 2) OLD_UBOOT:
  21.  
  22. -D__KERNEL__ -DTEXT_BASE=0x80010000 -I/home/anon/wr841nd_v9_u-boot_r3b0rn_tmp/ap143/boot/u-boot/include
  23. -fno-builtin -ffreestanding -nostdinc
  24. -isystem /home/anon/wr841nd_v9_u-boot_r3b0rn_tmp/build/gcc-4.3.3/build_mips/staging_dir/usr/bin/../lib/gcc/mips-linux-uclibc/4.3.3/include
  25. -pipe -DCONFIG_MIPS -D__MIPS__ -mabicalls -march=mips32r2 -DCOMPRESSED_UBOOT=1
  26.  
  27. =====> CFLAGS:
  28.  
  29. -D__ASSEMBLY__: NEW_UBOOT: -O || OLD_UBOOT: -g -Os || -D__KERNEL__:
  30. NEW_UBOOT: -G 0
  31. NEW_UBOOT: -fpic || OLD_UBOOT: -fPIC
  32. NEW_UBOOT: -mtune=34kc || OLD_UBOOT: -mtune=mips32r2
  33.  
  34. NEW_UBOOT: -msoft-float -fno-schedule-insns -fno-schedule-insns2 -fno-reorder-functions -fno-delete-null-pointer-checks
  35. OLD_UBOOT: -funit-at-a-time
  36.  
  37. other:
  38.  
  39. OLD_U_BOOT:
  40.  
  41. -D__KERNEL__ -DTEXT_BASE=0x80010000 -I/home/anon/wr841nd_v9_u-boot_r3b0rn_tmp/ap143/boot/u-boot/include
  42. -fno-builtin -ffreestanding -nostdinc
  43. -isystem /home/anon/wr841nd_v9_u-boot_r3b0rn_tmp/build/gcc-4.3.3/build_mips/staging_dir/usr/bin/../lib/gcc/mips-linux-uclibc/4.3.3/include
  44. -pipe -DCONFIG_MIPS -D__MIPS__ -mabicalls -mips32r2 -march=mips32r2 -Wall -Wstrict-prototypes -DCOMPRESSED_UBOOT=1 -Os
  45.  
  46. =====> CPPFLAGS
  47.  
  48. -D__ASSEMBLY__: NEW_UBOOT: -O || OLD_UBOOT: -g -Os || -D__KERNEL__:
  49.  
  50. 1) NEW_UBOOT = OLD_UBOOT + || <= + = + AFLAGS
  51. -G 0
  52. -fpic
  53. -mtune=34kc
  54.  
  55. -msoft-float -fno-schedule-insns -fno-schedule-insns2 -fno-reorder-functions -fno-delete-null-pointer-checks
  56.  
  57. -mips32r2
  58. -Os
  59.  
  60. 2) OLD_UBOOT:
  61.  
  62. -D__KERNEL__ -DTEXT_BASE=0x80010000
  63. -I/home/anon/wr841nd_v9_u-boot_r3b0rn_tmp/ap143/boot/u-boot/include
  64. -fno-builtin -ffreestanding -nostdinc
  65. -isystem /home/anon/wr841nd_v9_u-boot_r3b0rn_tmp/build/gcc-4.3.3/build_mips/staging_dir/usr/bin/../lib/gcc/mips-linux-uclibc/4.3.3/include
  66. -pipe -DCONFIG_MIPS -D__MIPS__ -mabicalls -march=mips32r2
  67.  
  68. =====> PLATFORM_CPPFLAGS:
  69.  
  70. 1) NEW_UBOOT = OLD_UBOOT +
  71.  
  72. -G 0
  73. -fpic -msoft-float -fno-schedule-insns -fno-schedule-insns2 -mips32r2
  74. -mtune=34kc
  75.  
  76. 2) OLD_UBOOT:
  77.  
  78. -DCONFIG_MIPS -D__MIPS__
  79. -mabicalls
  80. -march=mips32r2
  81.  
  82. =====>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement