This adds a uImage build target for MIPS. The first two patches clean up the Makefiles slightly to allow the load and entry address to be passed nicely to arch/mips/boot/Makefile, and the final patch adds the uImage targets. Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Florian Fainelli <f.fainelli@xxxxxxxxx> Cc: linux-mips@xxxxxxxxxxxxxx Changes in v2: - Split into several patches to add refactoring which avoids duplicated load/entry address calculations (Florian). - Disable uImage targets when load address < 0xffffffff80000000 (e.g. SGI IP27). James Hogan (3): MIPS: refactor boot and boot/compressed rules MIPS: refactor load/entry address calculations MIPS: add uImage build target arch/mips/Makefile | 34 +++++++++++++++++++++++++++++----- arch/mips/boot/.gitignore | 1 + arch/mips/boot/Makefile | 15 +++++++++++++++ arch/mips/boot/compressed/Makefile | 2 +- arch/mips/lasat/image/Makefile | 6 ++---- 5 files changed, 48 insertions(+), 10 deletions(-) -- 1.8.1.2