summaryrefslogtreecommitdiff
path: root/arm64_apq8016-sbc.mak
blob: d6de70498fac44209f7ed47d67c6c5d28759a10e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#To create LK bootimage
export PATH := $(HOME)/devel/board_src/410c/skales:$(PATH)

soc		:= qcom
board		:= apq8016-sbc

# Config needed for LK bootimage
cmdline		:= "init=init console=ttyMSM0,115200n8"
rootfs		:= $(HOME)/devel/images/initramfs-arm64.cpio
rootfs_null	:= $(HOME)/devel/images/null-initramfs
base_addr	:= 0x80000000
# APQ8064 or APQ8016 based boards (IFC6410, DB410c, DB600c, ...)
pagesize	:= 2048
# APQ8096 based boards (DB820c, ...)
#pagesize	:= 4096

include $(HOME)/devel/src/linux-makefiles/arm64.mak

config-qcom-features: FORCE
	$(CURDIR)/scripts/config --file $(config_file) \
	--enable POWER_RESET_QCOM_PON \
	--enable INPUT_PM8941_PWRKEY

config-qcom-rt: FORCE
	$(CURDIR)/scripts/config --file $(config_file) \
	--enable EXPERT \
	--enable ARCH_SUPPORTS_RT \
	--enable PREEMPT_RT
	yes "" | make $(make_options) oldconfig

config: config-arm64-ramfs config-qcom-features FORCE

config-rt: config config-qcom-rt FORCE

build: build-arm64-lk FORCE