5,603,591 Members 36,187 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Building from source for multiple devices

Tip us?
 
moffa~
Old
#1  
Member - OP
Thanks Meter 12
Posts: 51
Join Date: Jan 2011
Default [Q] Building from source for multiple devices

Just wondering how I can build pacrom for multiple devices, i.e. my nexus 5 and nexus 4

when I run
Code:
 ./build-pac -c -s hammerhead
it says
Code:
No external out, using default (/home/mk/android/out)
so I'm assuming there is a way to define where you want to output files to. I'm sure it's something easy but I can't seem to figure it out. I want to be able to have both devices building
 
Langes
Old
#2  
Langes's Avatar
Senior Member
Thanks Meter 1286
Posts: 1,075
Join Date: Sep 2012
Location: Sweet Spot

 
DONATE TO ME
Just do not do 'make clean' between builds and you can build for as many devices as you want. Each device will get it's own folder under out/target/product (I do not remember the exact path now)

Sent from my Xperia Ray using Tapatalk


Device Urushi | ROM PAC 4.4 | Kernel 3.4.0-LX (LegacyXperia)
The Following User Says Thank You to Langes For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes