From 102676feb218ab590609d326af433913728d14ab Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Tue, 27 Nov 2018 10:19:33 +0100 Subject: MIPS: port all mach* to multiimage Signed-off-by: Oleksij Rempel Signed-off-by: Sascha Hauer --- images/Makefile | 8 +++++++- images/Makefile.ar231x | 3 +++ images/Makefile.ath79 | 20 ++++++++++++++++++++ images/Makefile.bcm47xx | 3 +++ images/Makefile.loongson | 3 +++ images/Makefile.malta | 3 +++ images/Makefile.xburst | 7 +++++++ 7 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 images/Makefile.ar231x create mode 100644 images/Makefile.ath79 create mode 100644 images/Makefile.bcm47xx create mode 100644 images/Makefile.loongson create mode 100644 images/Makefile.malta create mode 100644 images/Makefile.xburst (limited to 'images') diff --git a/images/Makefile b/images/Makefile index 4c6d486f08..3e2e8b4317 100644 --- a/images/Makefile +++ b/images/Makefile @@ -52,7 +52,7 @@ $(pbl-lds): $(obj)/../arch/$(ARCH)/lib/pbl.lds.S FORCE $(call if_changed_dep,cpp_lds_S) quiet_cmd_elf__ ?= LD $@ - cmd_elf__ ?= $(LD) $(LDFLAGS_barebox) --gc-sections -pie \ + cmd_elf__ ?= $(LD) $(LDFLAGS_barebox) --gc-sections \ -e $(2) -Map $@.map $(LDFLAGS_$(@F)) -o $@ \ -T $(pbl-lds) \ --start-group $(barebox-pbl-common) $(obj)/piggy.o --end-group @@ -94,8 +94,13 @@ board = $(srctree)/arch/$(ARCH)/boards objboard = $(objtree)/arch/$(ARCH)/boards include $(srctree)/images/Makefile.am33xx +include $(srctree)/images/Makefile.ar231x +include $(srctree)/images/Makefile.ath79 include $(srctree)/images/Makefile.bcm283x +include $(srctree)/images/Makefile.bcm47xx include $(srctree)/images/Makefile.imx +include $(srctree)/images/Makefile.loongson +include $(srctree)/images/Makefile.malta include $(srctree)/images/Makefile.mvebu include $(srctree)/images/Makefile.mxs include $(srctree)/images/Makefile.omap3 @@ -103,6 +108,7 @@ include $(srctree)/images/Makefile.rockchip include $(srctree)/images/Makefile.socfpga include $(srctree)/images/Makefile.tegra include $(srctree)/images/Makefile.vexpress +include $(srctree)/images/Makefile.xburst include $(srctree)/images/Makefile.at91 targets += $(image-y) pbl.lds barebox.x barebox.z diff --git a/images/Makefile.ar231x b/images/Makefile.ar231x new file mode 100644 index 0000000000..31b9704866 --- /dev/null +++ b/images/Makefile.ar231x @@ -0,0 +1,3 @@ +pblb-$(CONFIG_BOARD_NETGEAR_WG102) += start_netgear_wg102 +FILE_barebox-netgear-wg102.img = start_netgear_wg102.pblb +image-$(CONFIG_BOARD_NETGEAR_WG102) += barebox-netgear-wg102.img diff --git a/images/Makefile.ath79 b/images/Makefile.ath79 new file mode 100644 index 0000000000..c7e97f0ac3 --- /dev/null +++ b/images/Makefile.ath79 @@ -0,0 +1,20 @@ +pblb-$(CONFIG_BOARD_8DEVICES_LIMA) += start_8devices_lima +FILE_barebox-8devices-lima.img = start_8devices_lima.pblb +image-$(CONFIG_BOARD_8DEVICES_LIMA) += barebox-8devices-lima.img + +pblb-$(CONFIG_BLACK_SWIFT) += start_black_swift +FILE_barebox-black-swift.img = start_black_swift.pblb +image-$(CONFIG_BOARD_BLACK_SWIFT) += barebox-black-swift.img + +pblb-$(CONFIG_BOARD_DPTECHNICS_DPT_MODULE) += start_dptechnics_dpt_module +FILE_barebox-dptechnics-dpt-module.img = start_dptechnics_dpt_module.pblb +image-$(CONFIG_BOARD_DPTECHNICS_DPT_MODULE) += barebox-dptechnics-dpt-module.img + +pblb-$(CONFIG_BOARD_TPLINK_MR3020) += start_tplink_mr3020 +FILE_barebox-tplink-mr3020.img = start_tplink_mr3020.pblb +image-$(CONFIG_BOARD_TPLINK_MR3020) += barebox-tplink-mr3020.img + +pblb-$(CONFIG_BOARD_TPLINK_WDR4300) += start_tplink_wdr4300 +FILE_barebox-tplink-wdr4300.img = start_tplink_wdr4300.pblb +image-$(CONFIG_BOARD_TPLINK_WDR4300) += barebox-tplink-wdr4300.img + diff --git a/images/Makefile.bcm47xx b/images/Makefile.bcm47xx new file mode 100644 index 0000000000..839243e3a8 --- /dev/null +++ b/images/Makefile.bcm47xx @@ -0,0 +1,3 @@ +pblb-$(CONFIG_BOARD_DLINK_DIR320) += start_dlink_dir_320 +FILE_barebox-dlink-dir-320.img = start_dlink_dir_320.pblb +image-$(CONFIG_BOARD_DLINK_DIR320) += barebox-dlink-dir-320.img diff --git a/images/Makefile.loongson b/images/Makefile.loongson new file mode 100644 index 0000000000..f5918b5407 --- /dev/null +++ b/images/Makefile.loongson @@ -0,0 +1,3 @@ +pblb-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += start_loongson_ls1b +FILE_barebox-loongson-ls1b.img = start_loongson_ls1b.pblb +image-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += barebox-loongson-ls1b.img diff --git a/images/Makefile.malta b/images/Makefile.malta new file mode 100644 index 0000000000..5739ec4640 --- /dev/null +++ b/images/Makefile.malta @@ -0,0 +1,3 @@ +pblb-$(CONFIG_BOARD_QEMU_MALTA) += start_qemu_malta +FILE_barebox-qemu-malta.img = start_qemu_malta.pblb +image-$(CONFIG_BOARD_QEMU_MALTA) += barebox-qemu-malta.img diff --git a/images/Makefile.xburst b/images/Makefile.xburst new file mode 100644 index 0000000000..6c63a5657b --- /dev/null +++ b/images/Makefile.xburst @@ -0,0 +1,7 @@ +pblb-$(CONFIG_BOARD_CI20) += start_img_ci20 +FILE_barebox-img-ci20.img = start_img_ci20.pblb +image-$(CONFIG_BOARD_CI20) += barebox-img-ci20.img + +pblb-$(CONFIG_BOARD_RZX50) += start_ritmix_rzx50 +FILE_barebox-ritmix-rzx50.img = start_ritmix_rzx50.pblb +image-$(CONFIG_BOARD_RZX50) += barebox-ritmix-rzx50.img -- cgit v1.2.3