Makefile (f81483aaeb59da530b286fe5d081e1705eb5c886) | Makefile (129ab0d2d9f38b9d43df35235fc66c6740d6928b) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2KBUILD_DEFCONFIG := mmu_defconfig 3 4UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" 5 6# What CPU version are we building for, and crack it open 7# as major.minor.rev | 1# SPDX-License-Identifier: GPL-2.0 2KBUILD_DEFCONFIG := mmu_defconfig 3 4UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\" 5 6# What CPU version are we building for, and crack it open 7# as major.minor.rev |
8CPU_VER := $(shell echo $(CONFIG_XILINX_MICROBLAZE0_HW_VER)) | 8CPU_VER := $(CONFIG_XILINX_MICROBLAZE0_HW_VER) |
9CPU_MAJOR := $(shell echo $(CPU_VER) | cut -d '.' -f 1) 10CPU_MINOR := $(shell echo $(CPU_VER) | cut -d '.' -f 2) 11CPU_REV := $(shell echo $(CPU_VER) | cut -d '.' -f 3) 12 13export CPU_VER CPU_MAJOR CPU_MINOR CPU_REV 14 15# Use cpu-related CONFIG_ vars to set compile options. 16# The various CONFIG_XILINX cpu features options are integers 0/1/2... --- 78 unchanged lines hidden --- | 9CPU_MAJOR := $(shell echo $(CPU_VER) | cut -d '.' -f 1) 10CPU_MINOR := $(shell echo $(CPU_VER) | cut -d '.' -f 2) 11CPU_REV := $(shell echo $(CPU_VER) | cut -d '.' -f 3) 12 13export CPU_VER CPU_MAJOR CPU_MINOR CPU_REV 14 15# Use cpu-related CONFIG_ vars to set compile options. 16# The various CONFIG_XILINX cpu features options are integers 0/1/2... --- 78 unchanged lines hidden --- |