uwu

hardware bitcoin wallet software and build system
git clone https://git.parazyd.org/uwu
Log | Files | Refs | README | LICENSE

busybox.mk (528B)


      1 .POSIX:
      2 
      3 # Copyright (c) 2020-2021 Ivan J. <parazyd@dyne.org>
      4 # This file is part of uwu.
      5 # See LICENSE file for copyright and license details.
      6 
      7 $(BUSYBOX_SIG) $(BUSYBOX_TAR):
      8 	wget -c https://busybox.net/downloads/$@
      9 
     10 $(BUSYBOX_SRC): $(BUSYBOX_SIG) $(BUSYBOX_TAR)
     11 	gpg --no-default-keyring --keyring=./verification_keyring.gpg \
     12 		--verify $(BUSYBOX_SIG)
     13 	tar xf $(BUSYBOX_TAR)
     14 
     15 $(BUSYBOX_SRC)/busybox: $(BUSYBOX_SRC)
     16 	cp busybox.config $(BUSYBOX_SRC)/.config
     17 	$(MAKE) -C $(BUSYBOX_SRC) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE)