tools/building-blocks.git
7 years agoFix: IoT examples had wrong Board block names 43/124143/1
MyungJoo Ham [Mon, 10 Apr 2017 09:47:49 +0000 (18:47 +0900)]
Fix: IoT examples had wrong Board block names

Change-Id: Ifb358fd8499bcf7368b851fabb4cfda488c2f5f8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix: add a line between lua-printed expressions 72/124072/2 submit/tizen/20170410.065218 submit/tizen/20170410.065313
MyungJoo Ham [Mon, 10 Apr 2017 06:23:57 +0000 (15:23 +0900)]
Fix: add a line between lua-printed expressions

Change-Id: Ibd10ed7bfa6da1cb1ca9eb118e3ed6b93a63d68c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoCategory Prefix Revised. 68/123668/1 accepted/tizen/unified/20170407.190812 submit/tizen/20170407.070040
MyungJoo Ham [Thu, 6 Apr 2017 10:38:54 +0000 (19:38 +0900)]
Category Prefix Revised.

1. preset --> Preset (TIC shows capitalized packages first)
2. (none) --> domain (to allow TIC to sort blocks per category)

Change-Id: I28fea763fbb625821c94f3289ca11ec62866c5a8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoCODE CLEAN: remove rpmbuild warnings from Rpm.pm 68/123568/1
MyungJoo Ham [Thu, 6 Apr 2017 06:25:11 +0000 (15:25 +0900)]
CODE CLEAN: remove rpmbuild warnings from Rpm.pm

Change-Id: Ib898328fe09766511e25ae569e6a831f45a1be5d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset-boards: make BSP presets independent from profile (platform type) 51/123551/2 accepted/tizen/unified/20170406.173342 submit/tizen/20170406.054349 submit/tizen/20170406.054455
MyungJoo Ham [Thu, 6 Apr 2017 05:30:03 +0000 (14:30 +0900)]
Preset-boards: make BSP presets independent from profile (platform type)

Change-Id: I10960fc604dd6c8ac3c918f1227877164e9b2c8d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset: mobile/home appliance summary corrected for TIC UX 50/123550/1
MyungJoo Ham [Thu, 6 Apr 2017 05:29:37 +0000 (14:29 +0900)]
Preset: mobile/home appliance summary corrected for TIC UX

Change-Id: I89dedf7d8f08954e35f3ec91decad038e54102ee
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: rule checker hide verbose message. -v to show them. 46/123546/1
MyungJoo Ham [Thu, 6 Apr 2017 05:10:32 +0000 (14:10 +0900)]
RULE: rule checker hide verbose message. -v to show them.

Change-Id: Icff0dba64b69c652b4e11a4b2738752ee4455ec4
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoIoT-Preset: summary update. more description 40/123540/1 submit/tizen/20170406.050031
MyungJoo Ham [Thu, 6 Apr 2017 04:58:19 +0000 (13:58 +0900)]
IoT-Preset: summary update. more description

Change-Id: I2b7f8050f98aea6482182019440a396b6838cdb8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset-IoT: add headed artik/odroid, add arch condition 38/123538/1
MyungJoo Ham [Thu, 6 Apr 2017 04:54:38 +0000 (13:54 +0900)]
Preset-IoT: add headed artik/odroid, add arch condition

Change-Id: Ifc0267144d75a49816c8f5ea05f5508f5d4e7da8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: fix: allow %ifarch/%endif 27/123527/1
MyungJoo Ham [Thu, 6 Apr 2017 04:20:26 +0000 (13:20 +0900)]
RULE: fix: allow %ifarch/%endif

1. Allow %ifarch/%endif in %files section
2. Make a more clear error message for RULE 5-3.

Change-Id: I2f04234c8b01dd6d718ceece94643ee085081131
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: sub3 is allowed. rulecheck updated. 09/123509/1
MyungJoo Ham [Thu, 6 Apr 2017 02:30:59 +0000 (11:30 +0900)]
RULE: sub3 is allowed. rulecheck updated.

RULE and rule checker updated
1. sub3 is allowed (but warning is emitted)

Change-Id: I7668cd19d3dbd7efa591cf6d5138150ac2b86e37
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoLICENSE: Apache v2.0 96/123496/1
MyungJoo Ham [Thu, 6 Apr 2017 01:58:38 +0000 (10:58 +0900)]
LICENSE: Apache v2.0

Change-Id: I7a35f4741b039f13c9824b27fc95c71bee120f99
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset-IoT: add combined blocks from ARTIK/RPI3 Headless 23/123423/1
MyungJoo Ham [Wed, 5 Apr 2017 11:21:11 +0000 (20:21 +0900)]
Preset-IoT: add combined blocks from ARTIK/RPI3 Headless

Change-Id: I69f0f3579bca3a6d2c4a8f3f7fcd90281fe6881b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: rule check on RULE 5.4 22/123422/2
MyungJoo Ham [Wed, 5 Apr 2017 11:19:55 +0000 (20:19 +0900)]
RULE: rule check on RULE 5.4

Change-Id: Ia804e4f662c931c3b70f28e648f0129f7bfc4a15
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: skip checking on requiring/suggesting packages 20/123420/3
MyungJoo Ham [Wed, 5 Apr 2017 11:05:31 +0000 (20:05 +0900)]
RULE: skip checking on requiring/suggesting packages

1. If the target is non-block packages, we do not need to check them.
2. Corrected error message.

Change-Id: If8e8655d54758807c201f0e28541850e4372e1d7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMain: .ks inclusion fix 06/123406/2
MyungJoo Ham [Wed, 5 Apr 2017 10:27:00 +0000 (19:27 +0900)]
Main: .ks inclusion fix

1. A missing .ks won't create build errors.
2. KS package lists uses "-" to denote that the package is not
included. Handle such syntax.

Change-Id: I7c11201d1b2f30ffa427e25c2b078bbd8a891716
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: added a rule 02/123402/2
MyungJoo Ham [Wed, 5 Apr 2017 10:25:13 +0000 (19:25 +0900)]
RULE: added a rule

A non-preset/non-feature block (domain block) cannot create
dependencies (Requires/Suggests) on other blocks except for
its direct child.

TODO: add the rule to the rule checker so that a violation
will generate a build error.

Change-Id: I66bb8dc5027772ea22fad5bc63913114304b8a7f
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset-IoT: refactors the structure (layers) accepted/tizen/unified/20170405.174428 submit/tizen/20170405.075452 submit/tizen/20170405.102101
MyungJoo Ham [Wed, 5 Apr 2017 05:56:14 +0000 (14:56 +0900)]
Preset-IoT: refactors the structure (layers)

Change-Id: I5dd45a6a6121b5035dd151f7a4124d02db325294
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset: Rule Compliance
MyungJoo Ham [Wed, 5 Apr 2017 04:25:19 +0000 (13:25 +0900)]
Preset: Rule Compliance

Change-Id: Ibcd3f3714d23700a64f8439d7eef9faebc8e127b
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset-IoT Fix Typo
MyungJoo Ham [Wed, 5 Apr 2017 04:20:37 +0000 (13:20 +0900)]
Preset-IoT Fix Typo

Change-Id: I52c63c43be5d0ffae67d704becf4678e28dee9bb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset TV: remove unused file 23/123223/1
MyungJoo Ham [Wed, 5 Apr 2017 04:16:48 +0000 (13:16 +0900)]
Preset TV: remove unused file

Change-Id: Ib632fea80fbab7db87712073a3b53e93d70d8940
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoPreset: refactored and releveled 22/123222/1
MyungJoo Ham [Wed, 5 Apr 2017 04:07:47 +0000 (13:07 +0900)]
Preset: refactored and releveled

Change-Id: I3ea98d1b246148b4f1d5dbbdec9cc909919f0d11
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoAdded Category Layer for Better TIC UI 15/123215/1
MyungJoo Ham [Wed, 5 Apr 2017 03:34:49 +0000 (12:34 +0900)]
Added Category Layer for Better TIC UI

Change-Id: Iaf1af893165b4643825042eedee48baadaa85283
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMAINTAINERS: maintainer entry for rule checker 14/123214/1
MyungJoo Ham [Wed, 5 Apr 2017 03:34:31 +0000 (12:34 +0900)]
MAINTAINERS: maintainer entry for rule checker

Change-Id: I5b3d152b33a9bc00a227222b7e74582d2312efbd
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agofeature-headless / domain-UI: there is no "wayland" package. 57/120057/1
MyungJoo Ham [Tue, 21 Mar 2017 08:13:21 +0000 (17:13 +0900)]
feature-headless / domain-UI: there is no "wayland" package.

Change-Id: I587c5a338dbd2a54727d1827169a879c7d02d1fe
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: prevent hacking with non .inc files 48/119348/1
MyungJoo Ham [Thu, 16 Mar 2017 11:16:48 +0000 (20:16 +0900)]
RULE: prevent hacking with non .inc files

Change-Id: I751927f469d9c262fb9cd6dbe6404728358f305d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: todo completed
MyungJoo Ham [Thu, 16 Mar 2017 11:10:42 +0000 (20:10 +0900)]
RULE: todo completed

Change-Id: I0e02d26bef1c3eafbc4645ccbcf3a70930d89973
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: rule checker can check more rules 45/119345/1
MyungJoo Ham [Thu, 16 Mar 2017 11:05:25 +0000 (20:05 +0900)]
RULE: rule checker can check more rules

- Orphaned blocks
- Added rules

Change-Id: Ifa3ec976502960a491072e24e7f07e16794d60e6
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: add rulechk 1.6/1.7. fix block defs accordingly 64/119264/1
MyungJoo Ham [Thu, 16 Mar 2017 07:22:58 +0000 (16:22 +0900)]
RULE: add rulechk 1.6/1.7. fix block defs accordingly

Change-Id: If83c96417c4318c2fafef70993c5ebd799f99c9e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: add rule 1-9. error report format added 58/119258/1
MyungJoo Ham [Thu, 16 Mar 2017 06:48:42 +0000 (15:48 +0900)]
RULE: add rule 1-9. error report format added

Change-Id: I853d32187ab7697daa9f7dbb71321acae72a35d5
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: enforce rule check at build 50/119250/1
MyungJoo Ham [Thu, 16 Mar 2017 06:30:30 +0000 (15:30 +0900)]
RULE: enforce rule check at build

Change-Id: I67f55b495fcc864cfb54d3d202cb2ed9f4585e8a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: rule checker bugfix 35/119235/1
MyungJoo Ham [Thu, 16 Mar 2017 06:01:10 +0000 (15:01 +0900)]
RULE: rule checker bugfix

Change-Id: Ia230691e39b426fbf07df5f146d8e890f5b776a2
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRULE: added rules and a prototype rule checker. 30/119230/1
MyungJoo Ham [Thu, 16 Mar 2017 05:31:47 +0000 (14:31 +0900)]
RULE: added rules and a prototype rule checker.

Change-Id: I401ff877697370699b2449a7b84d88cb87559df7
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoCode Clean / Add domain main block 71/118971/1
MyungJoo Ham [Wed, 15 Mar 2017 04:19:58 +0000 (13:19 +0900)]
Code Clean / Add domain main block

Change-Id: If63d7e76378d7bed1d3c31d8ef9682c3a3c54a07
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agopreset / ALL: stop using .packages files. 66/118966/1
MyungJoo Ham [Wed, 15 Mar 2017 03:37:11 +0000 (12:37 +0900)]
preset / ALL: stop using .packages files.

We no longer need .pacakges to populate a platform-image based
preset. We can directly access Tizen Meta with image-configurations.

Change-Id: I51f463ed7311e3326720c32b20925bc2df35e8e4
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agopreset / ALL: populate platform presets 62/118962/1
MyungJoo Ham [Wed, 15 Mar 2017 03:33:09 +0000 (12:33 +0900)]
preset / ALL: populate platform presets

Change-Id: I9b091558ee6feaf8391fb0b86b066f52ff1ef3f8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agofeature-Platform: add new feature "Platform-wide Features" 66/117966/1
MyungJoo Ham [Wed, 8 Mar 2017 06:55:14 +0000 (15:55 +0900)]
feature-Platform: add new feature "Platform-wide Features"

Change-Id: I182bc30ae3740471a59f845a27e33a4d19848267
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agopreset / TM2: TM2 presets (aarch64/armv7l) from actual TM2 images 50/117950/1
MyungJoo Ham [Wed, 8 Mar 2017 05:58:40 +0000 (14:58 +0900)]
preset / TM2: TM2 presets (aarch64/armv7l) from actual TM2 images

Change-Id: I0627adbf0a05750be8cd7d811070ef19866042ab
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agopreset / TM1: TM1 preset from actual TM1-armv7l image 29/117929/2
MyungJoo Ham [Wed, 8 Mar 2017 05:04:35 +0000 (14:04 +0900)]
preset / TM1: TM1 preset from actual TM1-armv7l image

Change-Id: Ie5194e3cddb1e297f00372cf4371eb1c14dcd229
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agopreset: add new root block, "platform preset" 28/117928/1
MyungJoo Ham [Mon, 6 Mar 2017 10:31:41 +0000 (19:31 +0900)]
preset: add new root block, "platform preset"

This is different from platform-recipes because
platform preset does not allow users to deselect packages from the preset.

Change-Id: Ib06c4e35cc2c10568d04401c9d58ef8886ec6f2a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRewrite include macro for higher readability 27/117927/1
MyungJoo Ham [Mon, 6 Mar 2017 10:29:05 +0000 (19:29 +0900)]
Rewrite include macro for higher readability

%include_if_mainbuild includes the file
if Source1001 (domain-kernel.inc) is located.
(when rpmbuild becomes able to access files in packaging/* located at SOURCES directory)

Change-Id: I849422e3e9c9fd286651968f651f05fd8d29cabc
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agofeature-development: add new feature root block 30/117430/4
MyungJoo Ham [Mon, 6 Mar 2017 05:40:22 +0000 (14:40 +0900)]
feature-development: add new feature root block

Change-Id: I8452c5e2b3b90bf7332c705e932982345566de2d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agodomain-hal: RPI3 does not have HAL yet 29/117429/2
MyungJoo Ham [Mon, 6 Mar 2017 05:39:28 +0000 (14:39 +0900)]
domain-hal: RPI3 does not have HAL yet

Change-Id: I19b70d67cd82dbb90d1492047e1a3a9143e01923
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agodomain-hal: add RPI3 11/117411/1
MyungJoo Ham [Mon, 6 Mar 2017 04:35:03 +0000 (13:35 +0900)]
domain-hal: add RPI3

Change-Id: I18c9ccf384886b7527d1749eb83d96c92d7a01e8
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agofeature-headless/headed: comments on which packages to be Conflicted.
MyungJoo Ham [Wed, 22 Feb 2017 03:33:53 +0000 (12:33 +0900)]
feature-headless/headed: comments on which packages to be Conflicted.

Change-Id: I73d65a83c101e96172c2d614e79fc38af580940d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agofeature-headless/headed: add headed feature (contradicting headless)
MyungJoo Ham [Wed, 22 Feb 2017 02:32:38 +0000 (11:32 +0900)]
feature-headless/headed: add headed feature (contradicting headless)

Change-Id: If86955455be218b45a0d23545d2b682375be3784
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agodomain-hal: sort-by-device sub1 group add to the root group
MyungJoo Ham [Tue, 21 Feb 2017 05:37:53 +0000 (14:37 +0900)]
domain-hal: sort-by-device sub1 group add to the root group

Change-Id: I69410fd9b4e8c7e7cfe72c131cc14458636c358a
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix typo. 21/115721/1
Geunsik Lim [Tue, 21 Feb 2017 06:14:47 +0000 (15:14 +0900)]
Fix typo.

Change-Id: I4ba35c2dd37daf6d2129002ae0415d1420c484c0
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
7 years agoAdded __debug_install_post to avoid a debug procedure 13/115713/1
Geunsik Lim [Tue, 21 Feb 2017 05:52:00 +0000 (14:52 +0900)]
Added __debug_install_post to avoid a debug procedure

"%define debug_package" handle the packaging of debug-info and debug-source.
"%define __debug_install_post" executes assembling work for debug rpm files
after completing all statements in the install section.
Let's append __debug_install_post as well as debug_package because the
'.spec' file will be only used for a meta package.

Change-Id: I6b14a456b457c4c3c22c1af6dfde0ea29ae70e37
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
7 years agodomain-hal: update sub1 groups per device
MyungJoo Ham [Tue, 21 Feb 2017 04:59:44 +0000 (13:59 +0900)]
domain-hal: update sub1 groups per device

Change-Id: I0bedc1321f4bd179231170bb9d010cd08e170882
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoExample: HAL-display sandbox/leemgs/enhance
MyungJoo Ham [Mon, 20 Feb 2017 10:20:30 +0000 (19:20 +0900)]
Example: HAL-display

Change-Id: I6b22022f370d5ef54370b7a88e6bc3bda4e86620
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoAll example domains/epic-features 51/115551/3
MyungJoo Ham [Mon, 20 Feb 2017 09:45:44 +0000 (18:45 +0900)]
All example domains/epic-features

Change-Id: I983664fca0a75890af9d546e53762a1aeb2a2b61
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoBuild Error Fix
MyungJoo Ham [Mon, 20 Feb 2017 09:25:57 +0000 (18:25 +0900)]
Build Error Fix

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoAdd MAINTAINERS/RULES
MyungJoo Ham [Mon, 20 Feb 2017 08:53:25 +0000 (17:53 +0900)]
Add MAINTAINERS/RULES

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoBlock syntax for Radio-button UI
MyungJoo Ham [Mon, 20 Feb 2017 08:18:41 +0000 (17:18 +0900)]
Block syntax for Radio-button UI

Kernel is the example for radio button

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoDraft: multifile / singlespec sandbox/mzx/multifile
MyungJoo Ham [Thu, 16 Feb 2017 08:21:45 +0000 (17:21 +0900)]
Draft: multifile / singlespec

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoAdd more examples, allow to build in GBS
MyungJoo Ham [Thu, 2 Feb 2017 00:25:21 +0000 (09:25 +0900)]
Add more examples, allow to build in GBS

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoInitial Tizen Build Block Draft Model
MyungJoo Ham [Thu, 26 Jan 2017 07:43:34 +0000 (16:43 +0900)]
Initial Tizen Build Block Draft Model

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>