[RFC PATCH 2/3] kbuild: rpm-pkg: hard-code ARCH in RPM SPEC file

2018-09-03 Thread Masahiro Yamada
The kernel source package contains the .config, which is ARCH-specific. Obviously, the target architecture is specified when you create a source package, instead of build-time. Record ARCH= in the spec file in order to avoid uncertainty about what ARCH should be given for building. Add

[RFC PATCH 2/3] kbuild: rpm-pkg: hard-code ARCH in RPM SPEC file

2018-09-03 Thread Masahiro Yamada
The kernel source package contains the .config, which is ARCH-specific. Obviously, the target architecture is specified when you create a source package, instead of build-time. Record ARCH= in the spec file in order to avoid uncertainty about what ARCH should be given for building. Add