Changeset 4105


Ignore:
Timestamp:
2006-07-02T15:36:54+02:00 (12 years ago)
Author:
nico
Message:

move libpthread in since it's part of uclibc, standardize Makefile.

Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/buildroot-ng/openwrt/package/base-files/Makefile

    r4091 r4105  
    3333 
    3434define Package/base-files$(TARGET) 
    35 SECTION:=base 
    36 CATEGORY:=Base system 
    37 DEFAULT:=y 
    38 TITLE:=OpenWrt system scripts 
    39 DESCRIPTION:=Base filesystem for OpenWrt 
    40 VERSION:=$(PKG_RELEASE) 
     35  SECTION:=base 
     36  CATEGORY:=Base system 
     37  DEFAULT:=y 
     38  TITLE:=OpenWrt system scripts 
     39  DESCRIPTION:=Base filesystem for OpenWrt 
     40  VERSION:=$(PKG_RELEASE) 
    4141endef 
    4242 
     
    8484 
    8585define Package/libgcc 
    86 SECTION:=libs 
    87 CATEGORY:=Libraries 
    88 DEFAULT:=y 
    89 TITLE:=GCC support library 
    90 VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE) 
    91 DESCRIPTION:=$(TITLE) 
     86  SECTION:=libs 
     87  CATEGORY:=Libraries 
     88  DEFAULT:=y 
     89  TITLE:=GCC support library 
     90  VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE) 
     91  DESCRIPTION:=$(TITLE) 
    9292endef 
    9393 
     94define Package/libpthread 
     95  $(call Package/base-files$(TARGET)) 
     96  DEFAULT:=n 
     97  VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE) 
     98  TITLE:=POSIX thread library 
     99  DESCRIPTION:=POSIX thread library 
     100endef 
     101 
     102 
    94103define Package/uclibc 
    95 $(call Package/base-files$(TARGET)) 
    96 VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE) 
    97 TITLE:=C library 
    98 DESCRIPTION:=C library for embedded systems 
     104  $(call Package/base-files$(TARGET)) 
     105  VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE) 
     106  TITLE:=C library 
     107  DESCRIPTION:=C library for embedded systems 
    99108endef 
    100109 
     
    113122 
    114123define Build/Compile 
    115 $(call Build/Compile/$(BOARD)) 
     124  $(call Build/Compile/$(BOARD)) 
    116125endef 
    117126 
     
    127136 
    128137define Package/base-files$(TARGET)/install 
    129 $(call Package/base-files$(TARGET)/install-$(BOARD),$(1)) 
     138  $(call Package/base-files$(TARGET)/install-$(BOARD),$(1)) 
    130139        $(CP) ./default/* $(1)/ 
    131140        if [ -d $(BOARD)-$(KERNEL) ]; then \ 
     
    152161endef 
    153162 
     163define Package/libgcc/install 
     164        install -m0755 -d $(1)/lib 
     165        $(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/ 
     166endef 
     167 
     168define Package/libpthread/install 
     169        install -m0755 -d $(1)/lib 
     170        $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/ 
     171        $(CP) $(STAGING_DIR)/lib/libpthread-$(UCLIBC_VERSION).so $(1)/lib/ 
     172endef 
     173 
    154174define Package/uclibc/install 
    155         mkdir -p $(1)/lib 
     175        install -m0755 -d $(1)/lib 
    156176        for file in ld-uClibc libc libcrypt libdl libm libnsl libresolv librt libuClibc libutil; do \ 
    157177                $(CP) $(STAGING_DIR)/lib/$$$$file.so.* $(1)/lib/; \ 
     
    160180endef 
    161181 
    162 define Package/libgcc/install 
    163         mkdir -p $(1)/lib 
    164         $(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/ 
    165 endef 
    166  
    167182$(eval $(call BuildPackage,base-files$(TARGET))) 
    168183$(eval $(call BuildPackage,libgcc)) 
     184$(eval $(call BuildPackage,libpthread)) 
    169185$(eval $(call BuildPackage,uclibc)) 
Note: See TracChangeset for help on using the changeset viewer.