aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
Commit message (Collapse)AuthorAgeFilesLines
* image: fix per-device rootfs build error when not all opkg package files are ↵Felix Fietkau2016-08-041-1/+1
| | | | | | found Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include/image.mk: allow image code to override uImage nameJohn Crispin2016-08-031-1/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* build: remove image specific checksum codeJo-Philipp Wich2016-08-011-8/+0
| | | | | | | Now that we globally calculate sha256sums over the bin/ directory we can remove the target image specific checksum handling. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* image: use the merged package directory to resolve dependencies for ↵Felix Fietkau2016-08-011-2/+14
| | | | | | per-device rootfs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add CMDLINE to DEVICE_VARSFelix Fietkau2016-07-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add support for overriding kernel/rootfs images in sysupgrade-tar ↵Felix Fietkau2016-07-301-0/+1
| | | | | | template Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: remove leftover variable from a previous reworkFelix Fietkau2016-07-291-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for per-device rootfs based on device profile packgesFelix Fietkau2016-07-291-9/+51
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: minor cleanup of redundant codeFelix Fietkau2016-07-291-1/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add target_params variable for getting root filesystem image parametersFelix Fietkau2016-07-291-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add wrapper variable to get the target dir for mkfs commandsFelix Fietkau2016-07-291-8/+10
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: make mkfs template output to $@Felix Fietkau2016-07-291-10/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove image prefix from kernel files in KDIRFelix Fietkau2016-07-251-6/+7
| | | | | | | This allows the image builder to change EXTRA_IMAGE_NAME at a later point in time without breaking the build Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove cpio.gz and tar.gz from regular filesystem typesFelix Fietkau2016-07-251-12/+16
| | | | | | | They are not used to produce regular firmware images anyway. Instead, call their build templates directly if enabled in the config Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: create default ubifs before calling legacy image build codeFelix Fietkau2016-07-221-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imagebuilder: strip DEVICE_ prefix from profiles (FS#55)Felix Fietkau2016-07-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: initialize BOARD_NAME and IMAGES, add it to DEVICE_VARSFelix Fietkau2016-07-201-1/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add support for specifying the VID header offset for UBIFelix Fietkau2016-07-201-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for parameter passing to mkfs from devicesFelix Fietkau2016-07-201-3/+10
| | | | | | Will be used to support different ubifs parameters per device Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split legacy image mkfs.ubifs command from the one used for the new ↵Felix Fietkau2016-07-201-42/+13
| | | | | | image building code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split legacy image building code out of image.mkFelix Fietkau2016-07-201-37/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: replace some template abstraction with make pattern rulesFelix Fietkau2016-07-201-14/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: remove obsolete Build/mkfs overridesFelix Fietkau2016-07-201-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-0/+4
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: allow devices to override the -E 5 ubinize optionFelix Fietkau2016-07-141-1/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: clean up UBI related device variable definitionsFelix Fietkau2016-07-141-1/+12
| | | | | | | Move UBI related variable export to core, since the variables are used by a core Build/ template Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: Adds the ability to disable personal initramfs build for target deviceSergey Sergeev2016-06-261-1/+1
| | | | | | | | If KERNEL_INITRAMFS := in the target/linux/*/image/Makefile->Device/%NAME% section is set to '' then personal initramfs file for this target device will not be created. This var is similar to the Device/Build/kernel KERNEL_INSTALL := Signed-off-by: Sergey Sergeev <adron@yapic.net>
* image.mk: add a separate step for building kernel images for LegacyDevice ↵Felix Fietkau2016-06-171-0/+1
| | | | | | support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: run LegacyDevice prepare once instead of once per filesystemFelix Fietkau2016-06-171-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix make variable/command context leakage between LegacyDevice ↵Felix Fietkau2016-06-171-0/+1
| | | | | | templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix dependencies for legacy make prepare stepFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix filesystem dependency issueFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add LegacyDevice wrapper to allow legacy image building code to be ↵Felix Fietkau2016-06-071-5/+58
| | | | | | used for device profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: change the default of the kernel suffixFelix Fietkau2016-06-071-1/+1
| | | | | | Make it more suitable for installing into bin/ Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add support for specifying a different suffix for the initramfs kernelFelix Fietkau2016-06-071-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: split off all Build/* commands into image-commands.mkFelix Fietkau2016-06-071-150/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: implement support for selecting multiple device profilesFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include: move VERSION_DIST_SANITIZED to version.mkAlexander Couzens2016-06-011-3/+0
| | | | | | | Also move sanitize function to version.mk Prepare use of VERSION_DIST_SANITIZED by IB/SDK/toolchain Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* include: rename DIST_SANITIZED to VERSION_DIST_SANITZEDAlexander Couzens2016-06-011-2/+2
| | | | | | All version variables contain VERSION prefix. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* include/image.mk: move build step tplink-safeloader to image.mkAsh Benz2016-05-271-0/+12
| | | | | | Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk Signed-off-by: Ash Benz <ash.benz@bk.ru>
* image.mk: remove obsolete SUBTARGETS variableFelix Fietkau2016-05-231-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix profile selection in the image builderFelix Fietkau2016-05-221-1/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: allow whitespace characters in VERSION_DISTFelix Fietkau2016-05-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: simplify device profile check, prepare for supporting selecting ↵Felix Fietkau2016-05-201-5/+8
| | | | | | multiple profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix evaluation order for image profile checkFelix Fietkau2016-05-201-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix building ubifs imagesDaniel Golle2016-05-191-0/+1
| | | | | | A hook for ubifs was left-out in the new image building code. Add it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* image.mk: remove obsolete squashfs-lzma codeFelix Fietkau2016-05-161-3/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix emitting profiles for targets that have no subtargetsFelix Fietkau2016-05-151-3/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: include per-device profiles in image build profile checkFelix Fietkau2016-05-111-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add support for limiting images to specific subtargetsFelix Fietkau2016-05-111-2/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>