Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

CMake packages: remove .cmake files from target directory

Just like pkgconfig files.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  • Loading branch information...
commit df99efb3d9114aa09153fdb1f47b7ce695e8f53b 1 parent be9e675
Luca Ceresoli lucaceresoli authored Peter Korsgaard committed

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 Makefile
4 Makefile
@@ -452,7 +452,9 @@ ifeq ($(BR2_HAVE_DEVFILES),y)
452 452 ( support/scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
453 453 else
454 454 rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \
455   - $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig
  455 + $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \
  456 + $(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake
  457 + find $(TARGET_DIR)/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f
456 458 find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
457 459 find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
458 460 endif

0 comments on commit df99efb

Please sign in to comment.
Something went wrong with that request. Please try again.