mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-21 06:45:32 -06:00
BuildrootSdk
This commit is contained in:
parent
f54433ca5c
commit
8503ce8195
2 changed files with 50 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<BuildrootPath>$(MSBuildProjectDirectory)/../buildroot-2019.02</BuildrootPath>
|
||||
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="BuildrootSdk" AfterTargets="Restore" BeforeTargets="Build">
|
||||
<Copy SourceFiles="$(MSBuildProjectDirectory)/dotnet-$(RuntimeIdentifier)_defconfig"
|
||||
DestinationFolder="$(BuildrootPath)/configs" />
|
||||
<Exec Command="make O=../buildroot-$(RuntimeIdentifier)-output dotnet-$(RuntimeIdentifier)_defconfig"
|
||||
WorkingDirectory="$(BuildrootPath)" />
|
||||
<Exec Command="make O=../buildroot-$(RuntimeIdentifier)-output sdk"
|
||||
WorkingDirectory="$(BuildrootPath)" />
|
||||
</Target>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="output/**/*">
|
||||
<PackagePath>runtimes/linux-x64/native/</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a9=y
|
||||
BR2_ARM_ENABLE_NEON=y
|
||||
BR2_ARM_ENABLE_VFP=y
|
||||
BR2_ARM_FPU_NEON=y
|
||||
|
||||
# Build Options
|
||||
BR2_CCACHE=y
|
||||
BR2_OPTIMIZE_3=y
|
||||
|
||||
# Toolchain
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_KERNEL_HEADERS_4_20=y
|
||||
BR2_BINUTILS_VERSION_2_31_X=y
|
||||
BR2_GCC_VERSION_8_X=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
BR2_GCC_ENABLE_LTO=y
|
||||
|
||||
# Target Packages
|
||||
BR2_PACKAGE_QT5=y
|
||||
BR2_PACKAGE_QT5BASE_WIDGETS=y
|
||||
BR2_PACKAGE_QT5QUICKCONTROLS2=y
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue