Skip to content

Commit

Permalink
Sync remove-makefile.patch with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmundi authored Dec 10, 2023
1 parent b741b73 commit 1a3bbbd
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions debians/wlanpi-linux-firmware/patches/remove-makefile.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,37 @@ We are just copying the desired files for WLAN Pi.
-all:
-
-check:
- @./check_whence.py
- @if ! which pre-commit >/dev/null; then \
- echo "Install pre-commit to check files"; \
- exit 1; \
- fi
- @pre-commit run --all-files
-
-dist:
- @mkdir -p release dist
- ./copy-firmware.sh release
- @TARGET=linux-firmware_`git describe`.tar.gz; \
- cd release && tar -czf ../dist/$${TARGET} *; \
- echo "Created dist/$${TARGET}"
- @rm -rf release
-
-deb:
- ./build_packages.py --deb
-
-rpm:
- ./build_packages.py --rpm
-
-install:
- mkdir -p $(DESTDIR)$(FIRMWAREDIR)
- install -d $(DESTDIR)$(FIRMWAREDIR)
- ./copy-firmware.sh $(DESTDIR)$(FIRMWAREDIR)
-
-install-xz:
- install -d $(DESTDIR)$(FIRMWAREDIR)
- ./copy-firmware.sh --xz $(DESTDIR)$(FIRMWAREDIR)
-
-install-zst:
- install -d $(DESTDIR)$(FIRMWAREDIR)
- ./copy-firmware.sh --zstd $(DESTDIR)$(FIRMWAREDIR)
-
-clean:
- rm -rf release dist

0 comments on commit 1a3bbbd

Please sign in to comment.