mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 09:38:07 +08:00
Add NXP i.MX8 SOC family support.
Currently there are two devices supported: * imx8qm-mek * imx8qxp-mek Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
This commit is contained in:
31
nxp/common/bsp/imx-mkimage.nix
Normal file
31
nxp/common/bsp/imx-mkimage.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ pkgs }:
|
||||
|
||||
with pkgs;
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "imx-mkimage";
|
||||
version = "lf-5.15.32-2.0.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://source.codeaurora.org/external/imx/imx-mkimage.git";
|
||||
rev = version;
|
||||
sha256 = "sha256-31pib5DTDPVfiAAoOSzK8HWUlnuiNnfXQIsxbjneMCc=";
|
||||
leaveDotGit = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
git
|
||||
glibc.static
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"bin"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -m 0755 mkimage_imx8 $out
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user