Commit Graph

34 Commits

Author SHA1 Message Date
Jake Weinstein 8240544de0 common: ignore vendor modules if we're not building modules
Most build modules into kernel, this fixes errors like:
vendor/qcom/build/tasks/generate_extra_images.mk:244: error: writing to readonly directory: "/audio_apr.ko"

Change-Id: Ie45613c91f90f1e30340a5b173513c462e14d8b9
2020-11-02 05:11:54 +01:00
Alexander Koskovich f871c4ec19
common: Don't dump product config in the make output logs.
* Revert of 58ceb965d1.

Change-Id: I364eecede2f7b911c17071b5f3680091899fa440
2020-09-27 13:19:10 -07:00
Alexander Koskovich 492e836343
common: Fix possible DTBO directories.
Change-Id: Ia96933d0021058042c0845fb8a29f39fd4469f0d
2020-09-27 13:19:10 -07:00
Alexander Koskovich 6454a3ac50
common: Add a couple makefiles from LA.UM.9.8.r1-02700-SDM710.0.
* DLKM for kernel modules, and a task to generate extra
   images, e.g. DTBO.

Change-Id: I9dceb8c786af6e42b4160a8e12f94b1d03df49ce
2020-09-25 18:25:50 -07:00
Jake Weinstein 28b5cf240b common: move generate_extra_images script to build/tasks
* This way, the Android build system automatically inherits it.

Change-Id: Icdb9077cae012314de5dd7c6a8df88416e8c0d8b
2015-10-11 20:21:47 +00:00
AUDITYA BHATTARAM f183d55297 Add systemimage as a dependency on userdata.img
This is needed to serialize the image generation of system.img
and userdata.img. This is a temporary change needed to diagnose
the system overload issue during image generation.

Change-Id: Ic495752730c17d75dc9523c161d1acdc47f1ea2e
2015-01-06 19:04:58 -08:00
Linux Build Service Account f6d45852b1 Merge "common: add support to sign boot image" 2014-09-09 20:59:09 -07:00
Sreedhar Lakkaraju 146b3bbc4e common: add support to sign boot image
adding rules for generating signed boot image

Change-Id: I53710c2b4b8e8750c29d9c46c51a3e4ff0f270d2
2014-09-09 04:37:11 -07:00
Sridhar Parasuram f22173fb25 Sign recovery image
LK now requires recovery image to be signed. This
is a new change to ensure that only signed images
are used.

Change-Id: I25fef9c311370e3f26d2d09b577575cd2a16f880
2014-09-09 02:06:34 -07:00
Channagoud Kadabi 435d00a8c7 device: common: Enable compilation for appsbootloader
Enable compilation of LK bootloader

Change-Id: I239bde86e0e060b0a562ddbf4c94aa907b46a5d1
2014-07-27 23:47:32 -07:00
guopingy d75708bbe0 qcom: common: Fix size of CDROM dummy file is zero
Dummy file size is zero because design flaw.
This fix will delete the dummy file if it already exists
before make the iso file and add additional 1KB size to avoid
size gap between byte and Kbyte.

Change-Id: I8f7a0a28b74e5413d4ad3d931a69275d011b73d7
2014-03-26 19:37:59 -07:00
Sreedhar 7f42049ae6 common: add make rules for small data image
adding make rules for generating small
user data image beside normal user data
image.

Change-Id: Ic13f3d33bdbd16f121488e476160f25235cf95fd
2014-03-09 20:29:26 -07:00
Xiaogang Cui 6b41949bf7 qcom: common: Add -s option to calculate size
Add -s option to calculate the total size of
folder cdrom_res/ in case it has sub-dirs.

Change-Id: I733f46b6abd865aa1e6331683d57b9bca022c561
2014-02-17 22:23:22 -08:00
Xiaogang Cui c239f2cec3 msm: common: Fix typo in cdrom iso build
Fix typo in cdrom iso build.

Change-Id: Ib35e20e7f2776d2cadf10b5517df3f4788c9af58
2014-02-04 00:01:10 -08:00
Xiaogang Cui e44fb7a548 qcom: common: Update cdrom build process
The usb gadget mass_storage driver limit the min
size of CDROM file. SHOULD larger than 300 Sectors.
Each sector is 2KBytes.

If the resouce file size fit the limitation of cdrom
feature. Create cdrom_install.iso file dynamically at
compiling time.
If not, create a dummy file dynamically to increase the
total size of cdrom_install.iso

Change-Id: I49d08bad83b8debfb16fe011f350b3eed3d907cb
2014-01-10 05:47:46 -08:00
Linux Build Service Account 75f00c1623 Merge "Build: generate persist image where applicable" 2013-10-10 07:30:19 -07:00
Xiaogang Cui 7e2994d464 msm: common: Correct the cdrom iso build
Fix the Logical mistake of cdrom iso build.

Change-Id: Iea92f3a258b23f842dae73ef863406b42677b195
2013-10-08 04:43:09 -07:00
Sreedhar 1f89a584e4 Build: generate persist image where applicable
generating persist image for vendor specific
targets ensures this

CRs-fixed: 548229

Change-Id: I771ae8a97784e9349be53340366d92a2481a7b1b
2013-10-07 00:15:02 +05:30
Mayank Rana 3a15cf4f19 common: Create usbdisk.img file with FAT32 file system
This change adds usbdisk.img file with FAT32 file system using
size provided from platform specific makefile.

Change-Id: Ica6a60bf7bf54e542de6b3cef57bd5d89a9fd353
2013-09-16 01:28:44 -07:00
Xiaogang Cui 302eca3050 qcom: common: Generate cdrom iso dynamically as part of build
This change dynamically create CDROM ISO file.Just put the resource
files into device specific cdrom_res folder.
This cdrom iso will be mounted at PC host, in order to expose
things to the end users, such as device driver etc.

Change-Id: I16e75364b323d1de9542b4d6a2d044d16131752e
2013-09-13 00:24:14 -07:00
Stephen Boyd b9906fe4f1 generate_extra_images: Look for 3.10 dtbs
The dtbs have changed location between 3.4 and 3.10. Look for the
new location first and fallback to the 3.4 location if they're
missing.

Change-Id: I7aada8dbcf01ea6f62b3235b452c9329cd69e5e8
2013-08-22 14:43:04 -07:00
SREEDHAR L a3027c2fd4 build: Add support for kernel clean
To provide kernel clean operation through
"make kernelclean"

Change-Id: I13b0e9513111edcac292f6241a39fa82f9767976
2013-05-30 00:02:14 +05:30
Channagoud Kadabi b5e7dbab6f common: Add phony target to create recovery image
Change-Id: I4061fcdea620f3f1d1a427e0d3b0c8e0c51cddb4
2012-09-06 18:22:20 +05:30
Satya Durga Srinivasu Prabhala 154c91587a common: build: clean-up generate_extra_images.mk
Replace dependencies & remove duplicate code

Change-Id: I48e4ae11c0045a2d9039e2f3fbf18d62102b77df
2012-08-17 13:11:56 +05:30
Channagoud Kadabi 9a92e70cb2 common: Add support generate secure boot image for nand devices
This patch adds support to generate secure boot images for 2k, 4k
and bchecc nand devices.

Change-Id: I90c19b3576f5a0b4c015f059c0f2c9c7dfd99f8d
2012-08-14 18:51:52 +05:30
Channagoud Kadabi 27614e2e46 common: Add phony target for aboot and kernel image
- aboot to generate apps bl
 - kernelimage to generate secure, 2k, 4k boot images

Change-Id: I68dba9ff4f42f96247fd6c2f9a101e04f724c9a4
2012-08-11 12:54:32 -06:00
Channagoud Kadabi 14ee407de8 common: Add support to generate secure boot image
Change-Id: I04091fe64678c213ef7cdb351cfd053ed12a4747
2012-08-10 16:27:13 -06:00
David Ng 0ef5003505 common: build: Generate dtbtool for Tiny Android
Explicitly add dtbtool makefile when generating for Tiny
Android as the dtbtool source path is not part of the
standard Tiny Android source search path.

Change-Id: If31963311deb43782d66589964f7fe3579c21bba
2012-08-09 14:35:19 -07:00
David Ng 14d8358ab5 common: build: Optionally generate dt.img
Generate device tree image (dt.img) if BOARD_KERNEL_SEPARATED_DT
is enabled.

Change-Id: I4f77ba8f5a6907754d90ce4141e553de1dfaedc4
2012-08-07 14:40:22 -07:00
Sunil Joseph ccc7ba1205 Revert "common: Add support to generate secure boot image"
This reverts commit 671d41497e.
2012-08-07 19:19:43 +05:30
Channagoud Kadabi 671d41497e common: Add support to generate secure boot image
Change-Id: Ie186b33ad6f78272e7d2d0a37c8b5be9071d4f02
2012-08-03 08:42:48 -06:00
Channagoud Kadabi c34456459f common: Add support recovery on nand device
Change-Id: I25a55ba724622ef5d469db082297f8ee99f19d8d
2012-07-31 18:03:33 +05:30
Satya Durga Srinivasu Prabhala 16e118cfa1 common:build: Add support for recovery image generation
- Rename make target from 2K to 4K, as 4k images are
default images for NAND devices.

- Fix persist image generatin for NAND

Change-Id: Ieea6a23a38026595205d938b862b6db36266e76f
2012-07-18 17:22:34 +05:30
Satya Durga Srinivasu Prabhala d88e88857b common:build: add support for generating extra images
extra images like persist & NAND generation supported
with this change.

Change-Id: Ia1775ac5ac4686827ea550b2fac4044806ab3254
2012-07-14 12:07:51 +05:30