diff options
author | Andrew Morton <akpm@osdl.org> | 2003-12-29 23:40:31 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 23:40:31 -0800 |
commit | 1e9c0d3b5a713687eb6c693bae8a3bee10c0fbe3 (patch) | |
tree | eb4cf7f62678ae124d5136d087997e3c53a6b049 /Makefile | |
parent | f2cf31606193fcbfccdfe6c99b599eaa48b36dab (diff) | |
download | history-1e9c0d3b5a713687eb6c693bae8a3bee10c0fbe3.tar.gz |
[PATCH] fix non-ia32 `make rpm'
From: "Zhu, Yi" <yi.zhu@intel.com>
The "make rpm" rule in top Makefile isn't aware of the enviorment ARCH. For
example, people issue "make ARCH=ia64" to compile the ia64 kernel on i386
platform for cross compilation. This works pretty well now. But if one uses
"make rpm ARCH=ia64", it will fail. Because current rpm rule in Makefile and
mkspec are not aware of ARCH.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 2b2b841b7e5ff..c8ebe5b1f0f9e 100644 --- a/Makefile +++ b/Makefile @@ -878,7 +878,7 @@ rpm: clean spec $(CONFIG_SHELL) $(srctree)/scripts/mkversion > $(objtree)/.tmp_version;\ mv -f $(objtree)/.tmp_version $(objtree)/.version; - $(RPM) -ta ../$(KERNELPATH).tar.gz + $(RPM) --target $(UTS_MACHINE) -ta ../$(KERNELPATH).tar.gz rm ../$(KERNELPATH).tar.gz # Brief documentation of the typical targets used |