aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
Commit message (Collapse)AuthorAgeFilesLines
* opkg: drop md5 in favour of sha256John Crispin2015-04-141-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45437
* build: replace the deprecated find argument -perm +0100 with /0100 (#19480)Felix Fietkau2015-04-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45434
* image.mk: rework FILESYSTEM evaluation order to fix some build issuesFelix Fietkau2015-04-081-5/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45312
* image.mk: export the FILESYSTEM variable to build commandsFelix Fietkau2015-04-031-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45251
* build: make device image kernels depend on Image/Prepare stepFelix Fietkau2015-03-311-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45190
* image.mk: fix initramfs kernel build instructions leaking across device sectionsFelix Fietkau2015-03-301-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45156
* build: ignore errors on copying firmware binaries from $(KDIR) to $(BIN_DIR)Felix Fietkau2015-03-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45029
* include/image.mk: define variable FILESYSTEMFelix Fietkau2015-03-251-0/+1
| | | | | | | | | | Set it to the filesystem which is build. mktplinkfw need to know which filesystem is used. FILESYSTEM can be squashfs, jffs2-64k, ... Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 44997
* image.mk: allow image build code to run a per-filesystem prepare stepFelix Fietkau2015-03-251-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44979
* build: allow changing kernel name in new image codeFelix Fietkau2015-01-181-2/+3
| | | | | | | | | Necessary for targets using zImage or other kernel image types. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 44018
* build: allow passing parameters to padjffs2 via the pad-rootfs commandFelix Fietkau2015-01-171-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44015
* build: add image makefile helper function for pading with an offsetFelix Fietkau2015-01-171-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44012
* ramips: convert mt7621 images to new image building codeFelix Fietkau2015-01-101-13/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43908
* build: add new image building code infrastructureFelix Fietkau2015-01-101-0/+146
| | | | | | | | | This simplifies building device / profile specific images, and allows the build system to parallelize generating images Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43907
* build: add version number to filenamesJo-Philipp Wich2015-01-081-1/+2
| | | | | | | | | | | | This commit introduces a new option CONFIG_VERSION_FILENAMES which causes OpenWrt to embed the version number in generated image files, SDK- and ImageBuilder archives. The option is enabled by default if CONFIG_VERSIONOPT is set. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43869
* image.mk: make ubinize.cfg optionalFelix Fietkau2014-12-271-2/+3
| | | | | | | | | | | | | When using UbinizeImage with ubifs rootfs, ubinize.cfg is no longer needed. Yet, the absance of ubinize.cfg would make the build process abort with an error. Fix that by checking if ubinize.cfg is present and do no not call the "classic" ubinize image generation if it isn't. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [missing new-line before UbinizeImage added itentionally] SVN-Revision: 43788
* don't copy initramfs.elf unconditionallyImre Kaloz2014-12-261-1/+0
| | | | | | | | targets that need it should do it in their image Makefile Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43780
* The ubinized filesystems should be used for generating the final images, so ↵Imre Kaloz2014-12-261-1/+1
| | | | | | | | store them in KDIR instead. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43778
* image.mk: remove legacy target rulesFelix Fietkau2014-10-121-7/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42881
* image.mk: parallelize cpio.gz and tar.gz filesystem buildFelix Fietkau2014-10-121-13/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42880
* image.mk: split off jffs2-raw images into a separate make target to improve ↵Felix Fietkau2014-10-121-3/+7
| | | | | | | | parallel build time Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42879
* image.mk: clean up and parallelize mkfs callsFelix Fietkau2014-10-121-45/+49
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42878
* image.mk: call mkfs/prepare for the image builderFelix Fietkau2014-10-121-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42874
* image.mk: reduce code duplication, move prepare to a separate make targetFelix Fietkau2014-10-121-37/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42873
* image.mk: remove the unnecessary .NOTPARALLEL flagFelix Fietkau2014-10-121-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42872
* image: only call Image/BuildKernel/Initramfs if initramfs is actually enabledFelix Fietkau2014-07-311-9/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41914
* include/image.mk: add a path variable for the dts folderJohn Crispin2014-07-211-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41789
* make UbinizeImage work nicely without a kernel volumeImre Kaloz2014-06-271-5/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41359
* include UbinizeImage parameters' description in the fileImre Kaloz2014-06-271-0/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41356
* SysupgradeNAND: include rootfs-type in image nameJohn Crispin2014-06-241-8/+8
| | | | | | | | also add quotes to paths Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41326
* image.mk: introduce Image/Build/UbinizeImage make targetJohn Crispin2014-06-241-0/+7
| | | | | | | | | | | | | paramters: $(1) board name $(2) ubinize-image options (e.g. --no-kernel and/or --uboot-env) $(3) rootfstype (e.g. squashfs or ubifs) $(4) kernel image file $(5) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS))) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41311
* procd: some cleanup for SysupgradeNANDJohn Crispin2014-06-171-2/+0
| | | | | | | | | | Removed unused ubi file file from template as ubinized images are passed directly and not inside the tarball. Also removed left-over white-space. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41237
* include/image.mk: cleanup the SysupgradeNAND templateJohn Crispin2014-06-161-5/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41223
* include/image.mk: add a target for generating sysupgrade tar files for nandJohn Crispin2014-06-111-0/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41127
* build: make the squashfs block size configurableFelix Fietkau2014-06-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40979
* image: ext4: rename config options as these are only used for ext4 image ↵John Crispin2014-06-021-1/+1
| | | | | | | | creation Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 40926
* image: ext4: allow creation of a journaling filesystemJohn Crispin2014-06-021-1/+1
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 40925
* image: ext4: allow to choose a block size for the rootfsJohn Crispin2014-06-021-2/+2
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 40924
* lantiq: BT Home Hub 2B support - board supportJohn Crispin2014-04-031-2/+2
| | | | | | | | Board support patch for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 40370
* include/make.mk: add support for ubinize-overlay.cfgJohn Crispin2014-04-031-10/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40365
* image: remove spaces from toupper functionLuka Perkov2013-11-181-1/+1
| | | | | | | | The extra prefix space is passed to the caller. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38855
* image: don't force ubifs journal sizeLuka Perkov2013-11-141-1/+1
| | | | | | | | | Small journal size can lead to problems if nand flash is too big. By default ubifs will use ~12% of volume size or a maximum of 8MiB. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38799
* build: make MkuImage more genericLuka Perkov2013-10-231-3/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38516
* build: set owner root for all files on ubifs creationLuka Perkov2013-10-181-0/+1
| | | | | | | | | | When creating an image it makes no sense to have files owned by the uid and gid on the host (and even creates a bug when for example dropbear authorized_keys is included via env/files). Signed-off-by: Joris de Vries <joris@apptrician.nl> SVN-Revision: 38442
* build: move mkits.sh script to more common placeLuka Perkov2013-10-161-0/+7
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38430
* ubifs: remove breaking commas from ubi callsLuka Perkov2013-10-151-2/+2
| | | | | | | | | | The extra commas get output by the shell resulting in errors since the commands that get called with those extra commas are then malformed. Signed-off-by: Joris de Vries <joris@apptrician.nl> SVN-Revision: 38419
* ubifs: when creating ubi(fs) images profile originated arguments have priorityLuka Perkov2013-10-131-4/+10
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38381
* image: introduce MkuImageARM functionLuka Perkov2013-10-131-0/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38380
* ubifs: enable building modular imagesLuka Perkov2013-10-121-6/+16
| | | | | | | | | Now it is possible to build ubi/ubifs images for only selected boards inside single target. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38375
* image: if possible use profile name when building .tar.gz imagesLuka Perkov2013-10-121-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38374