Projecte

General

Perfil

« Anterior | Següent » 

Revisió 007cd56b

Afegit per Pau Escrich fa aproximadament 11 anys

Use awk insted of cut to get the Image name variables

Visualitza les diferències:

Makefile
BUILD_PATH=$(BUILD_DIR)/$(TBUILD)
#Getting output image paths and names
IMAGE_PATH = $(shell echo "$(IMAGE)" | cut -d " " -f1)
IM_NAME= $(shell echo "$(IMAGE)" | cut -d " " -f2)
SIMAGE_PATH = $(shell echo "$(SYSUPGRADE)" | cut -d " " -f1)
SIM_NAME = $(shell echo "$(SYSUPGRADE)" | cut -d " " -f2)
IMAGE_PATH := $(shell echo $(IMAGE) | awk '{print $$1}')
IM_NAME := $(shell echo $(IMAGE) | awk '{print $$2}')
SIMAGE_PATH := $(shell echo $(SYSUPGRADE) | awk '{print $$1}')
SIM_NAME := $(shell echo $(SYSUPGRADE) | awk '{print $$2}')
CONFIG = $(BUILD_PATH)/.config
KCONFIG = $(BUILD_PATH)/target/linux/$(ARCH)/config-*

També disponible a: Unified diff