From 8e69c9f7ef2e1ca40b33a4a33c76b460c1f62861 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 14 Aug 2015 13:05:22 +0000 Subject: image.mk: store the device name variable Make the device name accessible for any build commands instead of forcing targets to define it themselves. Signed-off-by: Jonas Gorski SVN-Revision: 46597 --- target/linux/brcm2708/image/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'target/linux/brcm2708/image') diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index 2afd29b592..76e0abff1d 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -61,10 +61,9 @@ define Device/Default IMAGES := sdcard.bin IMAGE/sdcard.bin := build-dtb | gen-cfg | boot-img | sdcard-img DEVICE_PROFILE := - DEVICE_NAME := DEVICE_DTS := endef -DEVICE_VARS += DEVICE_PROFILE DEVICE_NAME DEVICE_DTS +DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS # $(1) = profile # $(2) = image name @@ -72,7 +71,6 @@ DEVICE_VARS += DEVICE_PROFILE DEVICE_NAME DEVICE_DTS define add_bcm2708 define Device/$(2) DEVICE_PROFILE := $(1) - DEVICE_NAME := $(2) DEVICE_DTS := $(3) endef TARGET_DEVICES += $(2) -- cgit v1.2.3