From 67117adc891e06154d23a01b8c8ee348c63e78eb Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Thu, 8 Jun 2017 23:05:08 +0200 Subject: mtd: bump to version 2.0.0 This revision includes: - Moving from a handwritten makefile to autotools. - Restructuring and cleaning up the source tree. - Fixing the problems that the patches in the package/mtd directory fixed. Changes: - Move from generic-package to autotools-package in mtd.mk. - Remove no longer necessary patches. - Update binary locations in mtd.mk - Update library/header locations in mtd.mk - Remove MTD_ADD_MISSING_LINTL definition from mtd.mk, as it's no longer needed. Tested with toolchains compiled with musl, uclibc, and glibc. Signed-off-by: Adam Duskett [Thomas: additional improvements - introduce hidden options BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS that match the ./configure options of mtd. Those hidden options select the appropriate dependencies checked by the configure script, and are selected by the existing per-tool Config.in options. - .mk file is changed to handle properly the new hidden options BR2_PACKAGE_MTD_JFFS_UTILS, BR2_PACKAGE_MTD_UBIFS_UTILS and BR2_PACKAGE_MTD_TESTS. - .mk file is changed to properly handle BR2_PACKAGE_ACL, by passing --with-xattr/--without-xattr. - remove HOST_MTD_BUILD_CMDS and HOST_MTD_INSTALL_CMDS, those are no longer needed since we have an autotools-package now. - MTD_STAGING_y and MTD_INSTALL_STAGING_CMDS are removed, we use the default staging installation commands, that install everything that is needed. - the MTD_TARGETS_UBI_y variable is merged into MTD_TARGETS_y, as we no longer need to distinguish both. - integck installation logic is moved into MTD_TARGETS_y.] Signed-off-by: Thomas Petazzoni --- ...tegrity-don-t-include-header-bits-stdio_l.patch | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 package/mtd/0003-fs-tests-integrity-don-t-include-header-bits-stdio_l.patch (limited to 'package/mtd/0003-fs-tests-integrity-don-t-include-header-bits-stdio_l.patch') diff --git a/package/mtd/0003-fs-tests-integrity-don-t-include-header-bits-stdio_l.patch b/package/mtd/0003-fs-tests-integrity-don-t-include-header-bits-stdio_l.patch deleted file mode 100644 index 5c0a552ddd..0000000000 --- a/package/mtd/0003-fs-tests-integrity-don-t-include-header-bits-stdio_l.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 600ab10e3b452cdffc6c82770b0bb2ff5c23ad70 Mon Sep 17 00:00:00 2001 -From: Rahul Bedarkar -Date: Fri, 12 Aug 2016 22:59:35 +0530 -Subject: [PATCH 1/1] fs-tests: integrity: don't include header - - -With musl C library, we get following build error - -integck.c:37:28: fatal error: bits/stdio_lim.h: No such file or directory - #include - ^ -compilation terminated. -make[2]: *** [integck] Error 1 - -Header is not available in musl C library. However - has all definition that supposed to be -providing. Moreover shouldn't be included directly -instead we should be using . - -Since we already include and in case of uClibc or glibc - gets included internally, we can safely remove it. - -This build issue is found by Buildroot autobuilder -http://autobuild.buildroot.net/results/175/1754861457af520480cc34d7d2d0edff2868ff66/ - -Signed-off-by: Rahul Bedarkar ---- - tests/fs-tests/integrity/integck.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c -index 6ef817e..0bb9711 100644 ---- a/tests/fs-tests/integrity/integck.c -+++ b/tests/fs-tests/integrity/integck.c -@@ -34,7 +34,6 @@ - #ifdef INTEGCK_DEBUG - #include - #endif --#include - #include - #include - #include --- -2.6.2 - -- cgit v1.2.3