diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-09 22:48:34 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-01-09 22:48:34 +0100 |
commit | 4f0210b9c4889eede9f8f379f93570c01998ccb9 (patch) | |
tree | 0883096acb3bc46e65a6873b777f01214d6a7852 /Makefile | |
parent | kbuild: KERNELRELEASE is only re-defined when buiding the kernel (diff) | |
download | linux-4f0210b9c4889eede9f8f379f93570c01998ccb9.tar.xz linux-4f0210b9c4889eede9f8f379f93570c01998ccb9.zip |
kbuild: re-export VERSION, PATCHLEVEL, SUBLEVEL
Eric Sandeen <sandeen@sgi.com> pointed out that it is usefull to have
access to VERSION, PATCHLEVEL, SUBLEVEL in external modules, and gooling
a litte confirmed this.
So re-export them.
Usage within the kernel is still discouraged but possible.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -338,7 +338,7 @@ AFLAGS := -D__ASSEMBLY__ # Read KERNELRELEASE from .kernelrelease (if it exists) KERNELRELEASE = $(shell cat .kernelrelease 2> /dev/null) -export KERNELRELEASE \ +export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE \ ARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC \ CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE \ HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS |