3 include $(TOPDIR
)/rules.mk
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
11 IPKG_LIBPTHREAD
:=$(PACKAGE_DIR
)/$(PKG_NAME
)_
$(PKG_VERSION
)-$(PKG_RELEASE
)_
$(ARCH
).ipk
12 IDIR_LIBPTHREAD
:=$(PKG_BUILD_DIR
)/ipkg
/$(PKG_NAME
)
13 INFO_LIBPTHREAD
:=$(IPKG_STATE_DIR
)/info/$(PKG_NAME
).list
17 $(IPKG_LIBPTHREAD
): $(STAGING_DIR
)/lib
/libpthread.so
18 rm -rf
$(PKG_BUILD_DIR
)
19 $(SCRIPT_DIR
)/make-ipkg-dir.sh
$(IDIR_LIBPTHREAD
) .
/ipkg
/$(PKG_NAME
).control
$(PKG_VERSION
)-$(PKG_RELEASE
) $(ARCH
)
20 mkdir
-p
$(IDIR_LIBPTHREAD
)/lib
21 cp
-fpR
$(STAGING_DIR
)/lib
/libpthread.so.
* $(IDIR_LIBPTHREAD
)/lib
/
22 cp
-fpR
$(STAGING_DIR
)/lib
/libpthread-
*.so
$(IDIR_LIBPTHREAD
)/lib
/
23 $(STRIP
) $(IDIR_LIBPTHREAD
)/lib
/lib
*.so
*
24 mkdir
-p
$(PACKAGE_DIR
)
25 $(IPKG_BUILD
) $(IDIR_LIBPTHREAD
) $(PACKAGE_DIR
)
27 $(IPKG_STATE_DIR
)/info/$(PKG_NAME
).list
: $(IPKG_LIBPTHREAD
)
28 $(IPKG
) install $(IPKG_LIBPTHREAD
)
32 compile
: $(IPKG_LIBPTHREAD
)
33 install: $(INFO_LIBPTHREAD
)
36 rm -rf
$(PKG_BUILD_DIR
) $(IPKG_LIBPTHREAD
)
This page took 0.045128 seconds and 5 git commands to generate.