diff options
Diffstat (limited to 'ubi-utils/Makefile')
-rw-r--r-- | ubi-utils/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index a6062a2..1f8e543 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -10,8 +10,7 @@ MANDIR=/usr/man INCLUDEDIR=/usr/include CC := $(CROSS)gcc -CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror \ - -Wwrite-strings -W -std=gnu99 -DPACKAGE_VERSION=\"1.0\" +CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror -Wall -O0 -g PERLPROGS = mkpfi TARGETS = ubiupdate ubimkvol ubirmvol ubicrc32 ubinfo ubiattach ubidetach \ @@ -60,8 +59,8 @@ ubicrc32: ubicrc32.o crc32.o unubi: unubi.o crc32.o unubi_analyze.o eb_chain.o $(CC) $(LDFLAGS) -o $@ $^ -pfi2bin: pfi2bin.o common.o peb.o list.o crc32.o libubigen.o bootenv.o \ - hashmap.o reader.o pfi.o +pfi2bin: pfi2bin.o common.o list.o crc32.o libubigen.o bootenv.o \ + hashmap.o libpfi.o common.o $(CC) $(LDFLAGS) -o $@ $^ install: ${TARGETS} |