Tizen Build Spec for Configurability

From Tizen Wiki
Jump to: navigation, search

Introduction

DON'Ts

  • Do not use the following macros (or macros induced from them)
    • profile
      • Exception: it does not affect building behaviors of Tizen:Unified and the purpose is to optimize build performance of profile-specific out-of-tizen.org vendor build environments.
      • Even if so, just DO NOT use it. (not allowed to add if the package was not using it already)
      • Packages that have such usages are supposed to remove them eventually.
    • _repository
      • NO EXCEPTION in tizen.org: such usages are removed by 2017/03.
    • tizen_target_name
      • NO EXCEPTION in tizen.org: such usages are removed by 2017/03.
    • (is/with) emulator
      • NO EXCEPTION in tizen.org: such usages are removed by 2017/05.

DO's

  1. Determine availability of features at runtime
    • E.g., add and use /etc/__appropriate_name__/__appropritate_file__.ini
  2. Determine profile at runtime
  3. Create an extension subpackage.
    • E.g., let installing bluetooth-tools-profile_mobile.rpm alter resource files (or some .so or daemon executables) of bluetooth-tools.rpm so that the files for "mobile" are used.
    • Such usage should be minimized especially for .so files or executables.

How to Convert

Conversion Complete.

If you have a package that needs conversion or if you need a reference commits for your own packages, please refer to: List of commits to support unified build environment