summaryrefslogtreecommitdiffstats
path: root/include/image.mk
Commit message (Collapse)AuthorAgeFilesLines
...
* image.mk: add Build step combined-imageFelix Fietkau2015-06-151-0/+7
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45979
* include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as wellJo-Philipp Wich2015-06-011-0/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45870
* build: do not call initramfs build from within the image builderFelix Fietkau2015-05-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45837
* build: in new image building code, do not rebuild kernel images in the image ↵Felix Fietkau2015-05-291-1/+6
| | | | | | | | | | | | builder Some kernel images need to be wrapped in a loader, which cannot be built without a working toolchain. Also, this speeds up the image builder run. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45836
* build: store initramfs kernels in $(KDIR)/tmp - prevents them from being ↵Felix Fietkau2015-05-291-3/+3
| | | | | | | | included in the image builder tarball Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45835
* build: store firmware images in $(KDIR)/tmp - prevents them from being ↵Felix Fietkau2015-05-291-3/+4
| | | | | | | | included in the image builder tarball Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45834
* image.mk: make image too big warnings more visibleJonas Gorski2015-05-251-2/+2
| | | | | | | | | Output warnings through stderr to allow them to be easilier spotted when building with V=w. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45746
* image: disable compile target within image builderFelix Fietkau2015-05-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45674
* build: disable initramfs build within image builderFelix Fietkau2015-05-111-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45673
* build: make initramfs kernel builds depend on the image prepare stepFelix Fietkau2015-05-111-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45671
* build: add support for adding a per-device compile step in the new image ↵Felix Fietkau2015-05-111-0/+12
| | | | | | | | building code Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45670
* include: make dtb argument optional in MkFITFelix Fietkau2015-05-101-1/+1
| | | | | | | | | | | | As mkits.sh makes the -d argument optional, we'll make this same argument optional in the MkFIT function as well. With this change, MkFIT can be used both to generate FIT images with DT, and without DT. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> SVN-Revision: 45660
* all: replace genext2fs with make_ext4fsJo-Philipp Wich2015-04-201-7/+7
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45517
* image.mk: do not emit multiple target definitions for kernel imagesFelix Fietkau2015-04-181-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45498
* image.mk: force rebuild of kernel dependent parts - fixes auto-rebuild on ↵Felix Fietkau2015-04-181-0/+1
| | | | | | | | DTS changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45495
* 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