archs38: Reduce generalization

As support of ARC HS38 in OpenWRT/Lede matures we don't need
debug-only output binaries any longer, so purging vmlinux for
AXS10x boards.

As for uImage for nSIM it makes completely no sense because there's no
way to run U-Boot on nSIM.

So we remove add_archs38_XXX scripts making code more compact and
cleaner.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
master
Alexey Brodkin 8 years ago committed by John Crispin
parent a3cde14f5a
commit 5f55df433d
  1. 34
      target/linux/archs38/image/Makefile

@ -34,35 +34,23 @@ define Device/vmlinux
endef endef
define Device/uImage define Device/uImage
KERNEL_SUFFIX := .bin KERNEL_SUFFIX := -uImage
KERNEL_INITRAMFS := kernel-bin | patch-dtb | calculate-ep | uImage none KERNEL_INITRAMFS := kernel-bin | patch-dtb | calculate-ep | uImage none
KERNEL_LOADADDR := 0x80000000 KERNEL_LOADADDR := 0x80000000
endef endef
define add_archs38_uImage define Device/axs103
define Device/$(1)-uImage $(call Device/uImage)
$(call Device/uImage) DEVICE_PROFILE := axs103
DEVICE_PROFILE := $(1) DEVICE_DTS := axs103_idu
DEVICE_DTS := $(1)
endef
TARGET_DEVICES += $(1)-uImage
endef endef
TARGET_DEVICES += axs103
define add_archs38_vmlinux define Device/nsim_hs
define Device/$(1)-vmlinux $(call Device/vmlinux)
$(call Device/vmlinux) DEVICE_PROFILE := nsim_hs
DEVICE_PROFILE := $(1) DEVICE_DTS := nsim_hs_idu
DEVICE_DTS := $(1)
endef
TARGET_DEVICES += $(1)-vmlinux
endef endef
TARGET_DEVICES += nsim_hs
# DesignWare AXS103
$(eval $(call add_archs38_vmlinux,axs103_idu))
$(eval $(call add_archs38_uImage,axs103_idu))
# nSIM with ARCHS38
$(eval $(call add_archs38_vmlinux,nsim_hs_idu))
$(eval $(call add_archs38_uImage,nsim_hs_idu))
$(eval $(call BuildImage)) $(eval $(call BuildImage))

Loading…
Cancel
Save