This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
building_packages_from_source_code [2013/02/05 13:02] jsmoeller |
building_packages_from_source_code [2013/03/19 14:47] jsmoeller |
||
---|---|---|---|
Line 34: | Line 34: | ||
| | ||
- | $ mkdir acpid | + | $ mkdir dialog |
- | $ cd acpid | + | $ cd dialog |
- | $ wget http://download.tizen.org/snapshots/trunk/ivi/latest/repos/ivi/source/acpid-2.0.14-1.4.src.rpm | + | $ wget http://download.tizen.org/snapshots/trunk/ivi/latest/repos/ivi/source/dialog-1.1-9.5.src.rpm |
- | $ gbs import acpid-2.0.14-1.4.src.rpm | + | $ gbs import dialog-1.1-9.5.src.rpm |
| | ||
Line 79: | Line 79: | ||
This should result in installable repository in //~/GBS-ROOT/local/repos/tizen//, containing packages built from your local source code. | This should result in installable repository in //~/GBS-ROOT/local/repos/tizen//, containing packages built from your local source code. | ||
+ | |||
+ | |||
+ | ==== ARM target ==== | ||
+ | |||
+ | |||
+ | To build the packages for ARM (armv7 hardfloat) an adaption to your gbs.conf is needed: | ||
+ | | ||
+ | $ vi ~/.gbs.conf | ||
+ | | ||
+ | |||
+ | We need to add two new repo definitions and change the default for "repo=": | ||
+ | |||
+ | | ||
+ | | ||
+ | repos = repo.arm_main, repo.arm_base | ||
+ | | ||
+ | [repo.arm_main] | ||
+ | url = https://download.tizen.org/releases/2.0/tizen-2.0_20130219.4/repos/main/armv7l/packages/ | ||
+ | [repo.arm_base] | ||
+ | url = https://download.tizen.org/releases/2.0/tizen-2.0_20130219.4/repos/base/armv7l/packages/ | ||
+ | | ||
+ | |||
+ | After these changes | ||
+ | | ||
+ | $ gbs build -A armv7l | ||
+ | | ||
+ | |||
+ | works. | ||