aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
authorMario Limonciello <mario.limonciello@amd.com>2023-09-18 16:15:35 -0500
committerMario Limonciello <mario.limonciello@amd.com>2023-10-02 14:19:30 -0500
commitcef80743ca63491ff5a07976e45ef9be2fcc41f7 (patch)
tree904578a134bdaccb35b8ed6e1191f6d6aab6fd59 /Makefile
parent8b855f3797e6b1d207b7a2b8dae0e9913f907e5b (diff)
Add new Makefile target to build a deb and rpm package
The package would put all files into /lib/firmware/updates to avoid conflicting with distro packages. The package is also intentionally named to avoid conflicts with distro packages. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8ac3be8..1d28d8aa 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,12 @@ dist:
echo "Created dist/$${TARGET}"
@rm -rf release
+deb:
+ ./build_packages.py --deb
+
+rpm:
+ ./build_packages.py --rpm
+
install:
install -d $(DESTDIR)$(FIRMWAREDIR)
./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR)