Hi Vadim, Am 14.12.2016 um 10:05 schrieb Lomovtsev, Vadim: > And eventually I was able to get rpms. Tank you very much! I was able to get rpms as well (even with CONFIG_LOCALVERSION_AUTO enabled) You can find them for download here: https://www.dropbox.com/sh/o8q8ttl97s1sqbp/AAAAx_SqbBR2hz3P5N4EOX98a?dl=0 This is the patch I've applied, I'll try to get it merged into the upstream repo. Cheers Uli diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 18ea69f..36bdd68 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -25,10 +25,12 @@ ifeq ($(CONFIG_CPU_BIG_ENDIAN), y) KBUILD_CPPFLAGS += -mbig-endian AS += -EB LD += -EB +UTS_MACHINE := aarch64_be else KBUILD_CPPFLAGS += -mlittle-endian AS += -EL LD += -EL +UTS_MACHINE := aarch64 endif comma = , @@ -67,6 +69,8 @@ all: $(KBUILD_IMAGE) $(KBUILD_DTBS) boot := arch/arm64/boot +image_name: KBUILD_IMAGE :=$(boot)/$(KBUILD_IMAGE) + Image Image.gz: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile index f535a85..2564dfd 100644 --- a/arch/arm64/kernel/Makefile +++ b/arch/arm64/kernel/Makefile @@ -11,6 +11,8 @@ CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_insn.o = -pg CFLAGS_REMOVE_return_address.o = -pg +CFLAGS_setup.o = -DUTS_MACHINE='"$(UTS_MACHINE)"' + # Object file lists. arm64-obj-y := cputable.o debug-monitors.o entry.o irq.o fpsimd.o \ entry-fpsimd.o process.o ptrace.o setup.o signal.o \ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20161215/8e5e14e6/attachment-0006.sig>