commit 7ad42c43b2d3fb1f9ff14cf2a6d273a2b344184a
parent c5a546f10f3612de991091606816cd6891258511
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 21 Jul 2024 21:02:17 +0100
add lk2nd makefile target
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -9,6 +9,10 @@ default toplevel:
android-bootimg android-recovery:
nix-build $(NFLAGS) -A outputs.android.$@ -o $@
+lk2nd:
+ nix-build $(NFLAGS) ../mobile-nixos --argstr device motorola-harpia -A pkgs.pkgsBuildBuild.lk2nd.msm8916 -o lk2nd
+
+
update: toplevel
nix-copy-closure --to $(DEVICE) -v --include-outputs ./toplevel
ssh $(DEVICE) "nix-env --profile /nix/var/nix/profiles/system --set `readlink toplevel` && /nix/var/nix/profiles/system/bin/switch-to-configuration switch"