commit 3076bb2f023d1bb7ba0e13ede8e3b5d2edfad38c
parent 06eb7fed3769e0d408be167ae8b817515f2d2960
Author: parazyd <parazyd@dyne.org>
Date: Sat, 20 Apr 2019 09:43:06 +0200
Make modules together with Image.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -59,7 +59,7 @@ Image: pinephone-linux
$(MAKE) -C pinephone-linux ARCH=arm64 CROSS_COMPILE=$(compiler) \
oldconfig
$(MAKE) -C pinephone-linux ARCH=arm64 CROSS_COMPILE=$(compiler) \
- Image
+ Image modules
cp pinephone-linux/arch/arm64/boot/$@ $@
Image.gz: Image
@@ -71,8 +71,7 @@ sun50i-a64-dontbeevil.dtb: Image
cp pinephone-linux/arch/arm64/boot/dts/allwinner/$@ $@
lib/modules: Image
- $(MAKE) -C pinephone-linux ARCH=arm64 CROSS_COMPILE=$(compiler) \
- modules
+ rm -rf $@
$(MAKE) -C pinephone-linux ARCH=arm64 CROSS_COMPILE=$(compiler) \
INSTALL_MOD_PATH="$(PWD)" modules_install