Makefile: Add partitioning targets, open-rc services
This commit is contained in:
parent
d07b4f2ff9
commit
abf8cf6a8c
5 changed files with 107 additions and 5 deletions
15
mk/raspi.mk
Normal file
15
mk/raspi.mk
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
ifeq ($(ARCH),aarch64)
|
||||
else ifeq ($(ARCH),armhf)
|
||||
else ifeq ($(ARCH),armv7)
|
||||
else
|
||||
$(error $(ARCH) is unsupported on the raspi platform)
|
||||
endif
|
||||
|
||||
PLATFORM_PHONYS := partition kernel
|
||||
|
||||
RUNLEVEL_BOOT ?= modules bootmisc hostname networking seedrng swap
|
||||
RUNLEVEL_DEFAULT ?= crond
|
||||
|
||||
partition: blkcheck
|
||||
$(DOSU) fdisk $(BLKDEV) <<<$$'o\nw\n'
|
||||
$(DOSU) sfdisk $(BLKDEV) <<<$$',1G,c,*\n,,83,\n'
|
||||
Loading…
Add table
Add a link
Reference in a new issue