summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/tasks/task-sdk-native.bb12
-rw-r--r--recipes/tasks/task-sdk-native.inc13
2 files changed, 15 insertions, 10 deletions
diff --git a/recipes/tasks/task-sdk-native.bb b/recipes/tasks/task-sdk-native.bb
index e21384b08d..539b0e5d39 100644
--- a/recipes/tasks/task-sdk-native.bb
+++ b/recipes/tasks/task-sdk-native.bb
@@ -1,16 +1,8 @@
-DESCRIPTION = "Packages required for native (on-device) SDK"
-LICENSE = "MIT"
-DEPENDS = "virtual/libc gcc binutils make patch patchutils diffstat diffutils automake flex bison gawk sed grep libtool pkgconfig"
-RDEPENDS = "gcc-symlinks g++-symlinks cpp cpp-symlinks binutils-symlinks \
- make virtual-libc-dev \
- task-proper-tools perl-modules flex flex-dev bison gawk sed grep autoconf automake make \
- patch patchutils diffstat diffutils libstdc++-dev \
- libtool libtool-dev libltdl-dev pkgconfig"
+require task-sdk-native.inc
-RECOMMENDS = " g77-symlinks gfortran-symlinks "
RPROVIDES_${PN} = "task-native-sdk"
-PR = "r8"
+PR = "${INC_PR}.1"
ALLOW_EMPTY = "1"
PACKAGES = "${PN}"
diff --git a/recipes/tasks/task-sdk-native.inc b/recipes/tasks/task-sdk-native.inc
new file mode 100644
index 0000000000..adcb3101d2
--- /dev/null
+++ b/recipes/tasks/task-sdk-native.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "Packages required for native (on-device) SDK"
+LICENSE = "MIT"
+INC_PR = "r8"
+
+DEPENDS = "virtual/libc gcc binutils make patch patchutils diffstat diffutils automake flex bison gawk sed grep libtool pkgconfig"
+RDEPENDS = "gcc-symlinks g++-symlinks cpp cpp-symlinks binutils-symlinks \
+ make virtual-libc-dev \
+ task-proper-tools perl-modules flex flex-dev bison gawk sed grep autoconf automake make \
+ patch patchutils diffstat diffutils libstdc++-dev \
+ libtool libtool-dev libltdl-dev pkgconfig"
+
+RECOMMENDS = " g77-symlinks gfortran-symlinks "
+