16 lines
383 B
Makefile
16 lines
383 B
Makefile
|
|
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'
|