Switched from hardcoded ".config" to conf_get_configname()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Roman,

I needed the following one line patch to make KCONFIG_CONFIG usable
with conf -s:

--- scripts/kconfig/conf.c#1    2008-05-13 14:43:41.000000000 -0700
+++ scripts/kconfig/conf.c#2    2008-05-13 16:16:40.000000000 -0700
@@ -561,7 +561,7 @@
                }
                break;
        case ask_silent:
-               if (stat(".config", &tmpstat)) {
+               if (stat(conf_get_configname(), &tmpstat)) {
                        printf(_("***\n"
                                "*** You have not yet configured your kernel!\n"
                                "*** (missing kernel .config file)\n"


Thanks
Greg
-- 
nest.cx is Gmail hosted, use PGP for anything private. Key:
http://tinyurl.com/ho8qg
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3 4D50 0B15 42BD 8DF5 A1B0
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux