mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 22:39:23 +02:00
f0c8400658
nico: buildroot-20040825-kmodules.patch.txt buildroot-20040825-tcpdump.patch.txt buildroot-20040825-libpcap.patch.txt buildroot-20040825-libpthread.patch.txt buildroot-20040825-fprobe.patch.txt buildroot-20040825-pptp-client.patch.txt twolife: iproute2.patch.txt git-svn-id: svn://svn.openwrt.org/openwrt/trunk@149 3c298f89-4303-0410-b956-a3cf2f4a3e73
35 lines
807 B
Makefile
Executable File
35 lines
807 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
ifeq ($(strip $(TOPDIR)),)
|
|
TOPDIR := $(shell pwd)/../../../..
|
|
endif
|
|
|
|
|
|
# variables extracted from $(TOPDIR)/Makefile
|
|
ARCH:= mipsel
|
|
STAGING_DIR=$(TOPDIR)/build_$(ARCH)/staging_dir
|
|
REAL_GNU_TARGET_NAME=$(ARCH)-linux-uclibc
|
|
TARGET_CROSS=$(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-
|
|
STRIP=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
|
|
# could be better if replaced with:
|
|
#include $(TOPDIR)/Config
|
|
|
|
|
|
PACKAGE := libpthread
|
|
|
|
MY_INSTALL_DIR := /tmp/$(PACKAGE)
|
|
|
|
|
|
build:
|
|
|
|
|
|
install:
|
|
rm -rf $(MY_INSTALL_DIR)
|
|
install -m0755 -d $(MY_INSTALL_DIR)/lib
|
|
install -m0755 $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libpthread-0.9.26.so $(MY_INSTALL_DIR)/lib
|
|
$(STRIP) $(MY_INSTALL_DIR)/lib/libpthread*.so*
|
|
ln -fs libpthread-0.9.26.so $(MY_INSTALL_DIR)/lib/libpthread.so.0
|
|
|
|
clean:
|
|
|