X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Flibelf%2FMakefile;h=9fec8308b557c50adee14f263bcc45f3b1f89d7c;hb=d3f86c9cc3e465fbca51aaadbb274856831ba56c;hp=31e2eaf0a8254ff13535f667780a921a3bca2bf2;hpb=ac418ddeccc1ee5ae55ff74260ec98815fac9c47;p=openwrt%2F.git diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile index 31e2eaf0a8..9fec8308b5 100644 --- a/tools/libelf/Makefile +++ b/tools/libelf/Makefile @@ -37,15 +37,17 @@ define Host/Compile endef define Host/Install - $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/libelf} + $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib/pkgconfig,include/libelf} $(CP) $(HOST_BUILD_DIR)/lib/{elf_repl.h,gelf.h,libelf.h,nlist.h,sys_elf.h} \ $(STAGING_DIR_HOST)/include/libelf/ $(CP) $(HOST_BUILD_DIR)/lib/libelf.a $(STAGING_DIR_HOST)/lib/ + $(CP) $(HOST_BUILD_DIR)/libelf.pc $(STAGING_DIR_HOST)/lib/pkgconfig/ endef define Host/Clean rm -rf $(STAGING_DIR_HOST)/include/libelf rm -f $(STAGING_DIR_HOST)/lib/libelf.a + rm -f $(STAGING_DIR_HOST)/lib/pkgconfig/libelf.pc $(call Host/Clean/Default) endef