add lk2nd makefile target
This commit is contained in:
parent
c5a546f10f
commit
7ad42c43b2
4
Makefile
4
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"
|
||||
|
Loading…
Reference in New Issue
Block a user