aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkcompile_h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-02scripts/mkcompile_h: don't test for hardcoded pathsMichal Marek1-3/+2
Don't test for /bin/{dnsdomainname,domainname}, simply try to execute the command and check if it returned something. Reported-by: Glenn Sommer <[email protected]> Acked-by: WANG Cong <[email protected]> Tested-by: Glenn Sommer <[email protected]> Signed-off-by: Michal Marek <[email protected]>
2009-12-12kbuild: move autoconf.h to include/generatedSam Ravnborg1-1/+1
Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: Michal Marek <[email protected]>
2009-10-11kbuild: mkcompile_h: trivial cleanupsFelipe Contreras1-1/+3
UTS_TRUNCATTE is simpler this way, and now editors idetify this as a shell script. Signed-off-by: Felipe Contreras <[email protected]> Acked-by: WANG Cong <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2009-10-11kbuild: fix warning when domainname is not availableFelipe Contreras1-2/+6
Otherwise we get: "dnsdomainname: Unknown host" Signed-off-by: Felipe Contreras <[email protected]> Acked-by: WANG Cong <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2008-12-03kbuild: kill output in silent mode of mkcompile_hMike Frysinger1-2/+4
The mkcompile_h script does `echo` regardless of silent mode the make is running at, so have it respect $quiet from kbuild and only echo when not in silent mode. Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2007-05-02kbuild: override build timestamp & versionSam Ravnborg1-7/+20
Introduce KBUILD_BUILD_VERSION to make it possible to override kernel build version during build time. Introduce KBUILD_BUILD_TIMESTAMP to make it possible to override kernel build timestamp during build time. But variables are useful mainly by distros that want to pass info from an SCM when building the kernel. Timestamp could be last checkin date for a file etc. The idea came from Olaf Hering <[email protected]> Cc: Olaf Hering <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2007-02-14[PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -vs situert1-1/+1
Fix a minor bug in mkcompile_h. As one can see, the current locale is used while getting the version of gcc. This produces problems when a locale other than C or en_US is used. As an example, my /proc/version contains Turkish characters in iso-8859-9 encoding. This patch fixes this issue by making sure that the C locale is used to get gcc's version. Cc: Sam Ravnborg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-07-14kbuild: "PREEMPT" in UTS_VERSIONSam Ravnborg1-4/+8
From: Matt Mackall <[email protected]> Add PREEMPT to UTS_VERSION where enabled as is done for SMP to make preempt kernels easily identifiable. Added SMP PREEMPT as comment in compile.h to force it to be updated when they change (sam). Signed-off-by: Matt Mackall <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
2005-04-16Linux-2.6.12-rc2Linus Torvalds1-0/+78
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!