Просмотр исходного кода

cfgfs: use uClibc-ng fts implementation

Waldemar Brodkorb 3 месяцев назад
Родитель
Сommit
7d9a2d0bc1
3 измененных файлов с 1 добавлено и 10 удалено
  1. 1 2
      package/cfgfs/Makefile
  2. 0 4
      package/cfgfs/src/Makefile
  3. 0 4
      package/cfgfs/src/fts_subs.c

+ 1 - 2
package/cfgfs/Makefile

@@ -4,7 +4,7 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		cfgfs
-PKG_VERSION:=		1.0.12
+PKG_VERSION:=		1.0.13
 PKG_RELEASE:=		1
 PKG_DESCR:=		compressed config filesystem
 PKG_SECTION:=		base/adk
@@ -29,7 +29,6 @@ $(eval $(call PKG_template,CFGFS,cfgfs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPEN
 
 # runtime problems on x86_64 with O3
 TARGET_CFLAGS:=         $(subst O3,Os,$(TARGET_CFLAGS))
-TARGET_CFLAGS+=		-Wno-incompatible-pointer-types
 
 CONFIG_STYLE:=		manual
 INSTALL_STYLE:=		manual

+ 0 - 4
package/cfgfs/src/Makefile

@@ -24,10 +24,6 @@ OBJS=		${SRCS:.c=.o}
 # build for the target
 CPPFLAGS+=	-DSMALL -D__USE_GNU
 
-# missing in uClibc
-SRCS+=		fts.c
-CPPFLAGS+=	-I.
-
 all: fwcf.helper.out
 
 fwcf.helper.out: ${OBJS}

+ 0 - 4
package/cfgfs/src/fts_subs.c

@@ -25,11 +25,7 @@
 #include <sys/stat.h>
 #include <err.h>
 #include <errno.h>
-#if !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__APPLE__)
-#include "fts_gnu.h"
-#else
 #include <fts.h>
-#endif
 #include <stdlib.h>
 #include <string.h>