summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKalle Vahlman <kalle.vahlman@movial.com>2011-12-20 06:28:34 +0000
committerKalle Vahlman <kalle.vahlman@movial.com>2011-12-20 06:34:25 +0000
commit319d146f10d7332ad817e56e73a1fa32da30325f (patch)
tree022899c0164bb192173a30f68d9627f18ca44e81 /Makefile
Import linux kernel metapackages for ux500
Based on John Rigby's repository at git://git.linaro.org/people/jcrigby/ubuntu/linux-meta-linaro-natty.git
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..327a7f9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+LOG := meta-source/debian/changelog
+META_VERSION := $(shell head -1 $(LOG)|sed 's/.*(\(.*\)).*/\1/')
+
+all: source
+
+source: clean
+ ln -s meta-source linux-meta-$(META_VERSION)
+ cd linux-meta-$(META_VERSION); \
+ dpkg-buildpackage -S -sa -rfakeroot -I -i
+
+binary: clean
+ ln -s meta-source linux-meta-$(META_VERSION)
+ cd linux-meta-$(META_VERSION); \
+ debuild -b -aarmel
+
+clean:
+ cd meta-source && fakeroot debian/rules clean
+ rm -f linux-meta-$(META_VERSION)
+ rm -f *.dsc *.changes *.gz *.deb *.build *.upload
+