Skip to contentSkip to conversation

make xconfig problems

PATCH Jean-Luc Leger 2 participants 2 messages Sep 3, 2001

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Hello,

Due to inexistant config.in files, make xconfig fail for the following architectures :
* arm
* cris
* mips
* mips64
* sh

Here is a patch for the 2.4.9 kernel :
(a patch for the ac serie follows)

------------------------------------------------------------------------------

arch/arm/config.in Mon Sep 3 04:22:28 2001 renamed from arch/arm/config.in Mon Aug 13 02:36:24 2001 +3 -3
diff -u --new-file --recursive linux-2.4.9-vanilla/arch/arm/config.in linux-2.4.9/arch/arm/config.in
@@ -423,9 +423,9 @@
 fi
 endmenu
 
-if [ "$CONFIG_ARCH_CLPS711X" = "y" ]; then
-   source drivers/ssi/Config.in
-fi
+#if [ "$CONFIG_ARCH_CLPS711X" = "y" ]; then
+#   source drivers/ssi/Config.in
+#fi
 
 source drivers/ieee1394/Config.in
 
arch/cris/drivers/Config.in Mon Sep 3 04:23:33 2001 renamed from arch/cris/drivers/Config.in Wed Jul 4 20:50:38 2001 +3 -3
diff -u --new-file --recursive linux-2.4.9-vanilla/arch/cris/drivers/Config.in linux-2.4.9/arch/cris/drivers/Config.in
@@ -166,9 +166,9 @@
 
 bool 'ARTPEC-1 support' CONFIG_JULIETTE
 
-if [ "$CONFIG_JULIETTE" = "y" ]; then
-   source arch/cris/drivers/juliette/Config.in
-fi
+#if [ "$CONFIG_JULIETTE" = "y" ]; then
+#   source arch/cris/drivers/juliette/Config.in
+#fi
 
 bool 'USB host' CONFIG_ETRAX_USB_HOST
 if [ "$CONFIG_ETRAX_USB_HOST" = "y" ]; then
arch/mips/config.in Mon Sep 3 04:25:59 2001 renamed from arch/mips/config.in Mon Jul 2 22:56:40 2001 +1 -1
diff -u --new-file --recursive linux-2.4.9-vanilla/arch/mips/config.in linux-2.4.9/arch/mips/config.in
@@ -361,7 +361,7 @@
 
 if [ "$CONFIG_DECSTATION" != "y" -a \
      "$CONFIG_SGI_IP22" != "y" ]; then
-   source drivers/message/i2o/Config.in
+   source drivers/i2o/Config.in
 fi
 
 if [ "$CONFIG_NET" = "y" ]; then
arch/mips64/config.in Mon Sep 3 04:26:09 2001 renamed from arch/mips64/config.in Wed Jul 4 20:50:39 2001 +1 -1
diff -u --new-file --recursive linux-2.4.9-vanilla/arch/mips64/config.in linux-2.4.9/arch/mips64/config.in
@@ -177,7 +177,7 @@
 fi
 endmenu
 
-source drivers/message/i2o/Config.in
+source drivers/i2o/Config.in
 
 if [ "$CONFIG_NET" = "y" ]; then
    mainmenu_option next_comment
arch/sh/config.in Mon Sep 3 04:27:13 2001 renamed from arch/sh/config.in Wed Jun 27 22:55:29 2001 +3 -3
diff -u --new-file --recursive linux-2.4.9-vanilla/arch/sh/config.in linux-2.4.9/arch/sh/config.in
@@ -229,9 +229,9 @@
 #
 source drivers/input/Config.in
 
-if [ "$CONFIG_SH_DREAMCAST" = "y" ]; then
-source drivers/maple/Config.in
-fi
+#if [ "$CONFIG_SH_DREAMCAST" = "y" ]; then
+#source drivers/maple/Config.in
+#fi
 
 mainmenu_option next_comment
 comment 'Character devices'

------------------------------------------------------------------------------------

And here is the same for 2.4.9 ac6 :

------------------------------------------------------------------------------------

arch/arm/config.in Mon Sep 3 04:51:25 2001 renamed from arch/arm/config.in Mon Sep 3 04:49:50 2001 +4 -4
diff -u --new-file --recursive linux-2.4.9-ac6-vanilla/arch/arm/config.in linux-2.4.9-ac6/arch/arm/config.in
@@ -423,13 +423,13 @@
 fi
 endmenu
 
-if [ "$CONFIG_ARCH_CLPS711X" = "y" ]; then
-   source drivers/ssi/Config.in
-fi
+#if [ "$CONFIG_ARCH_CLPS711X" = "y" ]; then
+#   source drivers/ssi/Config.in
+#fi
 
 source drivers/ieee1394/Config.in
 
-source drivers/i2o/Config.in
+source drivers/message/i2o/Config.in
 
 mainmenu_option next_comment
 comment 'ISDN subsystem'
arch/cris/config.in Mon Sep 3 04:54:02 2001 renamed from arch/cris/config.in Mon Sep 3 04:49:54 2001 +1 -1
diff -u --new-file --recursive linux-2.4.9-ac6-vanilla/arch/cris/config.in linux-2.4.9-ac6/arch/cris/config.in
@@ -173,7 +173,7 @@
 
 source drivers/ieee1394/Config.in
 
-source drivers/i2o/Config.in
+source drivers/message/i2o/Config.in
 
 if [ "$CONFIG_NET" = "y" ]; then
   mainmenu_option next_comment
arch/cris/drivers/Config.in Mon Sep 3 04:54:51 2001 renamed from arch/cris/drivers/Config.in Mon Sep 3 04:49:54 2001 +3 -3
diff -u --new-file --recursive linux-2.4.9-ac6-vanilla/arch/cris/drivers/Config.in linux-2.4.9-ac6/arch/cris/drivers/Config.in
@@ -166,9 +166,9 @@
 
 bool 'ARTPEC-1 support' CONFIG_JULIETTE
 
-if [ "$CONFIG_JULIETTE" = "y" ]; then
-   source arch/cris/drivers/juliette/Config.in
-fi
+#if [ "$CONFIG_JULIETTE" = "y" ]; then
+#   source arch/cris/drivers/juliette/Config.in
+#fi
 
 bool 'USB host' CONFIG_ETRAX_USB_HOST
 if [ "$CONFIG_ETRAX_USB_HOST" = "y" ]; then
arch/mips/config.in Mon Sep 3 04:53:34 2001 renamed from arch/mips/config.in Mon Sep 3 04:55:55 2001 +1 -1
diff -u --new-file --recursive linux-2.4.9-ac6-vanilla/arch/mips/config.in linux-2.4.9-ac6/arch/mips/config.in
@@ -377,7 +377,7 @@
 
 if [ "$CONFIG_DECSTATION" != "y" -a \
      "$CONFIG_SGI_IP22" != "y" ]; then
-   source drivers/i2o/Config.in
+   source drivers/message/i2o/Config.in
 fi
 
 if [ "$CONFIG_NET" = "y" ]; then
arch/sh/config.in Mon Sep 3 04:55:06 2001 renamed from arch/sh/config.in Mon Sep 3 04:49:51 2001 +3 -3
diff -u --new-file --recursive linux-2.4.9-ac6-vanilla/arch/sh/config.in linux-2.4.9-ac6/arch/sh/config.in
@@ -229,9 +229,9 @@
 #
 source drivers/input/Config.in
 
-if [ "$CONFIG_SH_DREAMCAST" = "y" ]; then
-source drivers/maple/Config.in
-fi
+#if [ "$CONFIG_SH_DREAMCAST" = "y" ]; then
+#source drivers/maple/Config.in
+#fi
 
 mainmenu_option next_comment
 comment 'Character devices'

-------------------------------------------------------------------------

And this one is an additionnal patch for the ac series. It's a cleanup of a config.in file. (bool command should have 2 parameters, not 3)

---------------------------------------------------------------------------

arch/parisc/config.in Mon Sep 3 03:59:49 2001 renamed from arch/parisc/config.in Mon Sep 3 04:49:54 2001 +5 -5
diff -u --new-file --recursive linux-2.4.9-ac6-vanilla/arch/parisc/config.in linux-2.4.9-ac6/arch/parisc/config.in
@@ -27,14 +27,14 @@
 # bool 'GSC/Gecko bus support' CONFIG_GSC y
 define_bool CONFIG_GSC y
 
-bool 'U2/Uturn I/O MMU' CONFIG_IOMMU_CCIO y
-bool 'LASI I/O support' CONFIG_GSC_LASI y
+bool 'U2/Uturn I/O MMU' CONFIG_IOMMU_CCIO
+bool 'LASI I/O support' CONFIG_GSC_LASI
 
-bool 'PCI bus support' CONFIG_PCI y
+bool 'PCI bus support' CONFIG_PCI
 
 if [ "$CONFIG_PCI" = "y" ]; then
-       bool 'GSCtoPCI/DINO PCI support' CONFIG_GSC_DINO y
-       bool 'LBA/Elroy PCI support' CONFIG_PCI_LBA n
+       bool 'GSCtoPCI/DINO PCI support' CONFIG_GSC_DINO
+       bool 'LBA/Elroy PCI support' CONFIG_PCI_LBA
 fi 
 
 if [ "$CONFIG_PCI_LBA" = "y" ]; then

--------------------------------------------------------------------------

Thanks

JL Leger

#1 lore raw
Quoted 9 lines · Jean-Luc Leger

Due to inexistant config.in files, make xconfig fail for the following architectures :
* arm
* cris
* mips
* mips64
* sh

Here is a patch for the 2.4.9 kernel :
(a patch for the ac serie follows)

Did you apply the arch specific patches? Most architectures will not compile from Linus's tree, you need to apply extra patches first.