From: Tomasz Maciej Nowak Date: Wed, 1 May 2019 17:43:54 +0000 (+0200) Subject: tegra: add vendor string to device name X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e7756974aa051c927c034d87b1c6611861899354;p=openwrt%2Fstaging%2Fansuel.git tegra: add vendor string to device name for better identification. Also create SUPPORTED_DEVICES string from it which corresponds to dts compatible string. Signed-off-by: Tomasz Maciej Nowak --- diff --git a/package/boot/uboot-tegra/Makefile b/package/boot/uboot-tegra/Makefile index a42d9cfc27..4b9f7876f8 100644 --- a/package/boot/uboot-tegra/Makefile +++ b/package/boot/uboot-tegra/Makefile @@ -23,7 +23,7 @@ endef define U-Boot/trimslice NAME := CompuLab TrimSlice - BUILD_DEVICES := trimslice + BUILD_DEVICES := compulab_trimslice UBOOT_IMAGE := trimslice-mmc.img trimslice-spi.img SOC := tegra20 VENDOR := compulab diff --git a/target/linux/tegra/image/Makefile b/target/linux/tegra/image/Makefile index 706cc65d92..c1aa81bedd 100644 --- a/target/linux/tegra/image/Makefile +++ b/target/linux/tegra/image/Makefile @@ -44,16 +44,16 @@ define Device/Default KERNEL_NAME := zImage KERNEL := kernel-bin PROFILES := Default + SUPPORTED_DEVICES := $(subst _,$(comma),$(1)) endef -define Device/trimslice +define Device/compulab_trimslice DEVICE_TITLE := CompuLab TrimSlice DEVICE_DTS := tegra20-trimslice DEVICE_PACKAGES := kmod-r8169 kmod-rt2800-usb kmod-rtc-em3027 \ kmod-usb-storage wpad-mini - SUPPORTED_DEVICES := compulab,trimslice UBOOT := trimslice-mmc endef -TARGET_DEVICES += trimslice +TARGET_DEVICES += compulab_trimslice $(eval $(call BuildImage))