Commit 950575e8 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Makefile should have source and clean targets to allow build of modules downstream

parent 43e4a3ae
...@@ -6,6 +6,15 @@ headers: ...@@ -6,6 +6,15 @@ headers:
find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv
rm -rf linux-5.2.8 rm -rf linux-5.2.8
source:
tar xf linux-5.2.8.tar.xz
cp -v /boot/config-5.2.8 linux-5.2.8/.config
$(MAKE) -C linux-5.2.8 oldconfig
$(MAKE) -C linux-5.2.8 prepare
clean:
rm -rf linux-5.2.8
boot-orange-pi-plus-2e: boot-armv7 boot-orange-pi-plus-2e: boot-armv7
boot-orange-pi-pc-plus: boot-armv7 boot-orange-pi-pc-plus: boot-armv7
boot-orange-terasic-de10-standard: boot-armv7 boot-orange-terasic-de10-standard: boot-armv7
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment