From f8a5ac1a8835b9c826286469379a143ff9e532d5 Mon Sep 17 00:00:00 2001 From: Sandeep Sheriker Mallikarjun Date: Wed, 13 Sep 2017 11:51:13 -0700 Subject: at91: Renaming subtarget sama5d3 to sama5 Renaming at91 subtarget sama5d3 to sama5 and using at91-sama5d3_xplained as a target device in sama5 subtarget.This will enable to add other sama5d2 & sama5d4 target devices in sama5 subtraget.This will avoid code duplication when sama5d2 & sama5d4 added as different subtarget. Signed-off-by: Sandeep Sheriker Mallikarjun --- target/linux/at91/image/Makefile | 5 +++-- target/linux/at91/image/sama5.mk | 7 +++++++ target/linux/at91/image/sama5d3.mk | 8 -------- 3 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 target/linux/at91/image/sama5.mk delete mode 100644 target/linux/at91/image/sama5d3.mk (limited to 'target/linux/at91/image') diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile index d1ae61484a..6e2b6b6101 100644 --- a/target/linux/at91/image/Makefile +++ b/target/linux/at91/image/Makefile @@ -13,8 +13,9 @@ ifeq ($(SUBTARGET),legacy) include ./legacy.mk UBIFS_OPTS := -m 2048 -e 126KiB -c 2048 endif -ifeq ($(SUBTARGET),sama5d3) -include ./sama5d3.mk + +ifeq ($(SUBTARGET),sama5) +include ./sama5.mk UBIFS_OPTS := -m 2048 -e 124KiB -c 2048 endif diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk new file mode 100644 index 0000000000..11d8538dff --- /dev/null +++ b/target/linux/at91/image/sama5.mk @@ -0,0 +1,7 @@ +define Device/at91-sama5d3_xplained + $(Device/evaluation-dtb) + DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D3 Xplained + KERNEL_SIZE := 6144k + SUBPAGESIZE := 2048 +endef +TARGET_DEVICES += at91-sama5d3_xplained diff --git a/target/linux/at91/image/sama5d3.mk b/target/linux/at91/image/sama5d3.mk deleted file mode 100644 index fb02ee1bc0..0000000000 --- a/target/linux/at91/image/sama5d3.mk +++ /dev/null @@ -1,8 +0,0 @@ -define Device/at91-sama5d3_xplained - $(Device/evaluation-dtb) - DEVICE_TITLE := Atmel AT91SAMA5D3XPLAINED - KERNEL_SIZE := 6144k - SUBPAGESIZE := 2048 -endef -TARGET_DEVICES += at91-sama5d3_xplained - -- cgit v1.2.3