Remove CVS dir from package
[openwrt.git] / openwrt / package / libgcc / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME := libgcc
6 PKG_VERSION := $(BR2_GCC_VERSION)
7 PKG_RELEASE := 1
8
9 PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
10 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
11 PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
12 PKG_IPK_DIR :=$(PKG_BUILD_DIR)/ipkg/
13
14 .NOTPARALLEL:
15
16 $(PKG_IPK): $(STAGING_DIR)/lib/libpthread.so
17 rm -rf $(PKG_BUILD_DIR)
18 $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
19 mkdir -p $(PKG_IPK_DIR)/lib
20 cp -fp $(STAGING_DIR)/lib/libgcc_s.so.* $(PKG_IPK_DIR)/lib/
21 $(STRIP) $(PKG_IPK_DIR)/lib/*
22 mkdir -p $(PACKAGE_DIR)
23 $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
24
25 $(IPKG_STATE_DIR)/info/$(PKG_NAME).list: $(PKG_IPK)
26 $(IPKG) install $(PKG_IPK)
27
28 source:
29 prepare:
30 compile: $(PKG_IPK)
31 install: $(IPKG_STATE_DIR)/info/$(PKG_NAME).list
32
33 clean:
34 rm -rf $(PKG_BUILD_DIR)
35 rm -f $(PKG_IPK)
This page took 0.040816 seconds and 5 git commands to generate.