Skip to contentSkip to conversation

unionfs: convert to cmake-package

PATCH New Arnout Vandecappelle (Essensium/Mind) 2 participants 2 messages Oct 13, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unionfs: convert to cmake-package

Fixes e.g. http://autobuild.buildroot.net/results/c279007dd8b89a1c6fc9b58d3c2cda01ab84279e

The addition of CPPFLAGS overrides the defines added in unionfs's Makefile. Since unionfs now has CMake support, use that instead.

---
With CMake, buildroot's CPPFLAGS are just not used. This should probably be corrected in cmake.mk.

 package/unionfs/unionfs.mk |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
package/unionfs/unionfs.mk +1 -9
index eb8109e..6c86c57 100644
@@ -11,12 +11,4 @@ UNIONFS_DEPENDENCIES = libfuse host-pkg-config
 UNIONFS_LICENSE = BSD-3c
 UNIONFS_LICENSE_FILES = LICENSE
 
-define UNIONFS_BUILD_CMDS
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
-endef
-
-define UNIONFS_INSTALL_TARGET_CMDS
-	$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install
-endef
-
-$(eval $(generic-package))
+$(eval $(cmake-package))
Signature · 1 line
tg: (0132e36..) t/unionfs-cmake (depends on: master)
#1 lore raw

PATCH 1/1 unionfs: convert to cmake-package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

Arnout> Fixes e.g. http://autobuild.buildroot.net/results/c279007dd8b89a1c6fc9b58d3c2cda01ab84279e
Arnout> The addition of CPPFLAGS overrides the defines added in unionfs's
Arnout> Makefile. Since unionfs now has CMake support, use that instead.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard