summaryrefslogtreecommitdiff
path: root/package/makedevs/makedevs.c
AgeCommit message (Collapse)Author
2011-02-23makedevs: fix cases where (start != 0)Thomas De Schampheleire
The makedevs script did not always generate the requested set of device names / minor number series. * If start != 0, then requesting (count) devices would generate only (count - start) * If start != 0 && increment != 1, then requesting minors starting with (minor) would generate minors starting with (minor + (start * (increment - 1))) This patch fixes the code and updates the usage text with extra examples. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-14makedevs: Add support for 16-bit major/minor numbersMatt Fleming
Closes #2647 [Peter: Adjust for the real 12bit majors/20bit minors supported by Linux] Signed-off-by: Matt Fleming <matthew.fleming@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19makedevs: move to package/Thomas Petazzoni
Since target/ doesn't contain any .mk file in subdirectories, also remove the include in target/Makefile.in.