merge blackfin/microblaze from uClinux-dist
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)
| @@ -117,6 +117,14 @@ extern int insmod_ng_main( int argc, char **argv); | |
| #define CONFIG_USE_SINGLE | |
| #endif | |
| + | /* blackfin */ |
| + | #if defined(BFIN) |
| + | #define MATCH_MACHINE(x) (x == EM_BLACKFIN) |
| + | #define SHT_RELM SHT_RELA |
| + | #define Elf32_RelM Elf32_Rela |
| + | #define ELFCLASSM ELFCLASS32 |
| + | #endif |
| + | |
| /* CRIS */ | |
| #if defined(__cris__) | |
| #define MATCH_MACHINE(x) (x == EM_CRIS) | |
| @@ -187,6 +195,15 @@ extern int insmod_ng_main( int argc, char **argv); | |
| #define CONFIG_USE_SINGLE | |
| #endif | |
| + | /* Microblaze */ |
| + | #if defined(__microblaze__) |
| + | #define CONFIG_USE_SINGLE |
| + | #define MATCH_MACHINE(x) (x == EM_XILINX_MICROBLAZE) |
| + | #define SHT_RELM SHT_RELA |
| + | #define Elf32_RelM Elf32_Rela |
| + | #define ELFCLASSM ELFCLASS32 |
| + | #endif |
| + | |
| /* MIPS */ | |
| #if defined(__mips__) | |
| #define MATCH_MACHINE(x) (x == EM_MIPS || x == EM_MIPS_RS3_LE) | |