diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-09-28 09:21:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-08 08:36:58 +0200 |
commit | d4b75d34fc40268535432ec65ae6d0ecb6551453 (patch) | |
tree | 6a5785bfb30940d3d79ddc13bc478a3433807a51 /fs/ubifs/Makefile | |
parent | 35197571a859dc268671341530c4e8606cebf901 (diff) | |
download | barebox-d4b75d34fc40268535432ec65ae6d0ecb6551453.tar.gz barebox-d4b75d34fc40268535432ec65ae6d0ecb6551453.tar.xz |
fs: ubifs: remove not needed code
This patch aggressively removes stuff that we do not need in a readonly
implementation:
- write buffering support
- lpt/ltab code
- garbage collector
- everything under #ifndef __BAREBOX__
This decreases the binary size by about 5k on ARM, but the main reason
for doing this is the idea that things that are not there don't need to
be synced with upstream ubifs code.
The __BAREBOX__ ifdeffery makes the code very hard to read and is a
maintenance burden by itself, so it is removed here aswell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/ubifs/Makefile')
-rw-r--r-- | fs/ubifs/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile index 44ef1b561c..b8f47e77f2 100644 --- a/fs/ubifs/Makefile +++ b/fs/ubifs/Makefile @@ -1,4 +1,4 @@ -obj-y += ubifs.o io.o super.o sb.o master.o lpt.o -obj-y += lpt_commit.o scan.o lprops.o dir.o -obj-y += tnc.o tnc_misc.o debug.o crc16.o budget.o -obj-y += log.o orphan.o recovery.o replay.o gc.o +obj-y += ubifs.o io.o super.o sb.o master.o +obj-y += lpt_commit.o scan.o dir.o +obj-y += tnc.o tnc_misc.o debug.o crc16.o +obj-y += log.o recovery.o replay.o |