Commit Graph

7 Commits

Author SHA1 Message Date
Rosen Penev 66c237a78f mtd-rw: update version to latest master
Remove local patch as upstream has a different solution applied.

Use PKG_SOURCE_DATE to get rid of weird apk version.

Remove various variables that are default anyway.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-21 13:44:49 -07:00
Paul Spooren 1cd17840a0 mtd-rw: drop PKG_VERSION definition in Makefile
By default Kernel modules follow the version schema from openwrt.git,
which happens to be APK compatible. Instead of defining a entirely
custom format, use what's already out there.

This patch drops the individual PKG_VERSION definition.

Right now, the version becomes 6.1.82.0~7e856206-r2.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-04-13 14:10:04 -07:00
David Bauer c6b3d94929 mtd-rw: fix build failure with kernel 5.10
When building mtd-rw for a target based on Kernel 5.10 which has
CONFIG_MTD disabled the build fails with

ERROR: "put_mtd_device" [../mtd-rw.ko] undefined!
ERROR: "get_mtd_device" [../mtd-rw.ko] undefined!

Omit building the package for such a target.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-03-06 22:28:55 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Stephen Walker b63a809213 packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2017-06-03 16:38:06 -04:00
Stephen Walker a53bf7192b packages: cleanup Makefile variables
Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses without any quotation marks and long git hashes

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
2016-07-09 14:50:58 -04:00
Joseph C. Lehner f7579bfea1 Add mtd-rw kernel module
This package adds a kernel module that, when loaded, makes all
read-only MTD partitions writeable. This can be used to update
the bootloader, modify bootloader environment partitions, etc.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
2016-04-10 20:41:57 +02:00