2016-08-03 01:23:18 +00:00
|
|
|
modules += linux
|
|
|
|
|
2016-12-12 16:01:18 +00:00
|
|
|
linux_version := 4.9
|
2016-08-03 01:23:18 +00:00
|
|
|
linux_dir := linux-$(linux_version)
|
|
|
|
linux_tar := linux-$(linux_version).tar.xz
|
|
|
|
linux_url := https://cdn.kernel.org/pub/linux/kernel/v4.x/$(linux_tar)
|
2016-08-05 16:24:16 +00:00
|
|
|
|
|
|
|
linux-4.6.4_hash := 8568d41c7104e941989b14a380d167129f83db42c04e950d8d9337fe6012ff7e
|
|
|
|
linux-4.7_hash := 5190c3d1209aeda04168145bf50569dc0984f80467159b1dc50ad731e3285f10
|
2016-12-12 16:01:18 +00:00
|
|
|
linux-4.9_hash := 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a
|
2016-08-05 16:24:16 +00:00
|
|
|
|
|
|
|
linux_hash := $(linux-$(linux_version)_hash)
|
2016-08-03 01:23:18 +00:00
|
|
|
|
2017-01-27 22:55:44 +00:00
|
|
|
linux_configure := \
|
|
|
|
$(MAKE) \
|
|
|
|
CROSS_COMPILE=$(pwd)/crossgcc/x86_64-linux-musl/bin/x86_64-linux-musl- \
|
|
|
|
oldconfig \
|
|
|
|
|
2016-08-03 01:23:18 +00:00
|
|
|
linux_output := arch/x86/boot/bzImage
|
2016-11-23 17:11:08 +00:00
|
|
|
linux_config := linux.config
|
2017-01-27 22:55:44 +00:00
|
|
|
|
|
|
|
linux_target := \
|
|
|
|
CROSS_COMPILE=$(pwd)/crossgcc/x86_64-linux-musl/bin/x86_64-linux-musl- \
|
|
|
|
-j 8 \
|
|
|
|
bzImage
|