From bbf13d61b7377b5114d9c716b7326f3f2bc468c1 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46597 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm2708/image/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'target/linux/brcm2708') 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