From 0cb4e30ace0d900166c0437e1e04e0cf77f22fc5 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Wed, 21 Apr 2021 03:27:29 +0900 Subject: [PATCH] Add linux packaging targets --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Makefile b/Makefile index f8816d4..b7895f0 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,30 @@ lclean: lbuild: make -j$(JOBS) -C ./linux-brain +.PHONY: +ldebpkg: + $(MAKE) ldebpkg-build || $(MAKE) ldebpkg-clean + mkdir -p debian + mv linux-*.buildinfo debian/ + mv linux-*.changes debian/ + mv linux-*.diff.gz debian/ + mv linux-*.dsc debian/ + mv linux-*.orig.tar.gz debian/ + mv linux-*.deb debian/ + +.PHONY: +ldebpkg-build: + make -j$(JOBS) -C ./linux-brain deb-pkg + +.PHONY: +ldebpkg-clean: + rm -f linux-*.buildinfo + rm -f linux-*.changes + rm -f linux-*.diff.gz + rm -f linux-*.dsc + rm -f linux-*.orig.tar.gz + rm -f linux-*.deb + .PHONY: uuu: sudo uuu ./u-boot-brain/u-boot.sb