[orion] generic: enhanced image Makefile
authorFlorian Fainelli <florian@openwrt.org>
Mon, 13 Aug 2012 14:46:47 +0000 (14:46 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 13 Aug 2012 14:46:47 +0000 (14:46 +0000)
commit2af03272d3838e60a8d6ad7a89855bac3a968c74
treeb5799c0c9e59d2fa580f18b7f09b7aedafcef65c
parentb61a375cfa6124e79f569ff26f2b9fba891af137
[orion] generic: enhanced image Makefile

* Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build)
* Got rid of unneccessary padding of rootfs partition
* ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage
* Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines)
* Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323
* Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols
* Size check of kernel files to avoid builds that break devices
* Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use

Signed-off by: Matthias Buecher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33174 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/orion/image/generic.mk