diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-12-02 10:02:57 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-07 17:37:11 +0000 |
| commit | 556b8b61565f22ccc22c06d121bb5652abdc3746 (patch) | |
| tree | 2de87cd729d0c3bdad3f083bd275dc34448a10a4 /bitbake/lib/toaster/toastergui/views.py | |
| parent | 4186f5b04e6fc2e6e42254f03c19c7f84e3d944c (diff) | |
| download | poky-556b8b61565f22ccc22c06d121bb5652abdc3746.tar.gz | |
bitbake: toaster: remove SDKMACHINE from project variables
Removed SDKMACHINE from predefined set of variables
for the project as it causes bitbake build error:
SDKMACHINE is set, but SDK_ARCH has not been changed as a result
This variable does not need to be predefined as it's not used by
toaster.
It's still possible to specify it in project configuration
if needed. SDK_ARCH variable should be set too to avoid above
mentioned build failure.
(Bitbake rev: a6ab2a38ab666376b4a5e796d3a88929e8cbfb22)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
| -rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 69f5af0f3a..243bb09d62 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
| @@ -2456,10 +2456,6 @@ if True: | |||
| 2456 | return_data['package_classes'] = ProjectVariable.objects.get(project = prj, name = "PACKAGE_CLASSES").value, | 2456 | return_data['package_classes'] = ProjectVariable.objects.get(project = prj, name = "PACKAGE_CLASSES").value, |
| 2457 | except ProjectVariable.DoesNotExist: | 2457 | except ProjectVariable.DoesNotExist: |
| 2458 | pass | 2458 | pass |
| 2459 | try: | ||
| 2460 | return_data['sdk_machine'] = ProjectVariable.objects.get(project = prj, name = "SDKMACHINE").value, | ||
| 2461 | except ProjectVariable.DoesNotExist: | ||
| 2462 | pass | ||
| 2463 | 2459 | ||
| 2464 | return HttpResponse(json.dumps( return_data ), content_type = "application/json") | 2460 | return HttpResponse(json.dumps( return_data ), content_type = "application/json") |
| 2465 | 2461 | ||
| @@ -2868,11 +2864,6 @@ if True: | |||
| 2868 | context['package_classes_defined'] = "1" | 2864 | context['package_classes_defined'] = "1" |
| 2869 | except ProjectVariable.DoesNotExist: | 2865 | except ProjectVariable.DoesNotExist: |
| 2870 | pass | 2866 | pass |
| 2871 | try: | ||
| 2872 | context['sdk_machine'] = ProjectVariable.objects.get(project = prj, name = "SDKMACHINE").value | ||
| 2873 | context['sdk_machine_defined'] = "1" | ||
| 2874 | except ProjectVariable.DoesNotExist: | ||
| 2875 | pass | ||
| 2876 | 2867 | ||
| 2877 | return context | 2868 | return context |
| 2878 | 2869 | ||
