[Prism54-devel] [PATCH] KOUT fix

Pavel Roskin proski@gnu.org
Thu, 20 May 2004 20:10:47 -0400 (EDT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-748195912-1085098092=:6103
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed
Content-ID: <Pine.LNX.4.60.0405202008201.6103@marabou.research.att.com>

Hello!

While hacking the top-level Makefile I noticed that KOUT doesn't work 
properly.  linux/version.h is not found because the "O" variable is not 
set.  Makefile.k26 is not found because PWD is redefined used by the 
kernel in the second pass.  SUBDIRS can be reused instead (if it's too 
hackish, we could use something like OUR_PWD and export it in the first 
pass).

Finally, the modules won't be installed because they are compiled to the 
tmp directory.  I don't see any need for that.  They can be compiled to 
the current directory.

The patch only affects ksrc/Makefile and is independent from the top-level 
Makefile patch.

-- 
Regards,
Pavel Roskin
--8323328-748195912-1085098092=:6103
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="kout_fix.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.60.0405202008120.6103@marabou.research.att.com>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME="kout_fix.diff"

LS0tIGtzcmMvTWFrZWZpbGUNCisrKyBrc3JjL01ha2VmaWxlDQpAQCAtMTMs
OSArMTMsNyBAQA0KIGlmZXEgKCQoS0RJUiksJChLT1VUKSkNCiAJJChNQUtF
KSAtQyAkKEtESVIpIFNVQkRJUlM9JChQV0QpICRADQogZWxzZQ0KLQlta2Rp
ciAtcCAkKFBXRCkvdG1wDQotCWNwICQoS09VVCkvLmNvbmZpZyAkKFBXRCkv
dG1wLw0KLQkkKE1BS0UpIC1DICQoS0RJUikgU1VCRElSUz0kKFBXRCkgTz0k
KFBXRCkvdG1wLyAkQA0KKwkkKE1BS0UpIC1DICQoS0RJUikgU1VCRElSUz0k
KFBXRCkgTz0kKEtPVVQpICRADQogZW5kaWYNCiANCiBjbGVhbjoNCkBAIC0y
Nyw2ICsyNSw2IEBADQogaW5jbHVkZSBNYWtlZmlsZS5rMjQNCiBlbmRpZiAj
IGlmZXEgKCQoUEFUQ0hMRVZFTCksNCkNCiBpZmVxICgkKFBBVENITEVWRUwp
LDYpDQotaW5jbHVkZSAkKFBXRCkvTWFrZWZpbGUuazI2DQoraW5jbHVkZSAk
KFNVQkRJUlMpL01ha2VmaWxlLmsyNg0KIGVuZGlmICMgaWZlcSAoJChQQVRD
SExFVkVMKSw2KQ0KIGVuZGlmICMgaWZlcSAoJChLRVJORUxSRUxFQVNFKSwp
DQo=

--8323328-748195912-1085098092=:6103--