From d0d8584b4187da38b484da3290fbb23ca472abad Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 23 Jan 2020 14:21:19 +0100 Subject: sunxi: tidy up and sort alphabetically in image Makefiles This tidies up the image Makefiles for the sunxi target by: - Move the if-condition for the subtarget to the parent Makefile - Remove lots of unnecessary empty lines - Sort device definitions alphabetically - Harmonize line wrapping for DEVICE_PACKAGES Signed-off-by: Adrian Schmutzler --- target/linux/sunxi/image/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/sunxi/image/Makefile') diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 888c1c5a9b..705d409ac5 100644 --- a/target/linux/sunxi/image/Makefile +++ b/target/linux/sunxi/image/Makefile @@ -42,8 +42,16 @@ define Device/Default SUNXI_DTS = $$(SUNXI_DTS_DIR)$$(SOC)-$(lastword $(subst _, ,$(1))) endef +ifeq ($(SUBTARGET),cortexa7) include cortex-a7.mk +endif + +ifeq ($(SUBTARGET),cortexa8) include cortex-a8.mk +endif + +ifeq ($(SUBTARGET),cortexa53) include cortex-a53.mk +endif $(eval $(call BuildImage)) -- cgit v1.2.3