Minor cleanup from Garrett Kajmowicz.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -37,8 +37,6 @@ | |
| #include "busybox.h" | |
| - | #define MAKE_VERSION(p,q,r) (65536*(p) + 256*(q) + (r)) |
| - | |
| #define DKTYPENAMES | |
| #define BLKRRPART _IO(0x12,95) /* re-read partition table */ | |
| @@ -3977,8 +3975,7 @@ create_doslabel(void) | |
| static void | |
| get_sectorsize(void) | |
| { | |
| - | if (!user_set_sector_size |
| - | && get_kernel_revision() >= MAKE_VERSION(2,3,3)) { |
| + | if (!user_set_sector_size) { |
| int arg; | |
| if (ioctl(fd, BLKSSZGET, &arg) == 0) | |
| sector_size = arg; | |