]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Enabled stripping.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 3 Dec 2007 18:05:02 +0000 (18:05 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 3 Dec 2007 18:05:02 +0000 (18:05 +0000)
Disabled parallel build on bind.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1117 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

lfs/bind
lfs/strip
make.sh

index 6eb83aacc560f09fce5dda9f7a8776a778ae43f3..426002e6798e5d631363e2454e99cf4d97b2d433 100644 (file)
--- a/lfs/bind
+++ b/lfs/bind
@@ -55,12 +55,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --prefix=/usr
-       cd $(DIR_APP) && make -C lib/dns -j $(PARALLELISM)
-       cd $(DIR_APP) && make -C lib/isc -j $(PARALLELISM)
-       cd $(DIR_APP) && make -C lib/bind9 -j $(PARALLELISM)
-       cd $(DIR_APP) && make -C lib/isccfg -j $(PARALLELISM)
-       cd $(DIR_APP) && make -C lib/lwres -j $(PARALLELISM)
-       cd $(DIR_APP) && make -C bin/dig -j $(PARALLELISM)
+       cd $(DIR_APP) && make -C lib/dns #-j $(PARALLELISM)
+       cd $(DIR_APP) && make -C lib/isc #-j $(PARALLELISM)
+       cd $(DIR_APP) && make -C lib/bind9 #-j $(PARALLELISM)
+       cd $(DIR_APP) && make -C lib/isccfg #-j $(PARALLELISM)
+       cd $(DIR_APP) && make -C lib/lwres #-j $(PARALLELISM)
+       cd $(DIR_APP) && make -C bin/dig #-j $(PARALLELISM)
        cd $(DIR_APP) && make -C bin/dig install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index 590eab5ab255db610867ec087808c5dc5bd118d6..0922dad2a67d16e0cbf1e4e81f56b7f388150e94 100644 (file)
--- a/lfs/strip
+++ b/lfs/strip
@@ -27,8 +27,8 @@ include Config
 PKG_NAME   = strip
 VER        = LFS
 
-THISAPP    = strip
-TARGET     = $(DIR_INFO)/$(THISAPP)
+THISAPP    = $(PKG_NAME)-$(VER)
+TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
 ###############################################################################
 # Top-level Rules
@@ -50,3 +50,10 @@ ifeq "$(STAGE)" "toolchain"
        rm -rf $(TOOLS_DIR)/{,share/}{info,man}
        chown -R root:root $(LFS)$(TOOLS_DIR)
 endif
+
+ifeq "$(STAGE)" "packages"
+       -$(TOOLS_DIR)/bin/find /{,usr/}{bin,lib,sbin} -type f ! -name make ! -name bash -exec \
+               $(TOOLS_DIR)/bin/strip --strip-debug '{}' ';'
+       -$(TOOLS_DIR)/bin/find /{,usr/}{bin,sbin} -type f ! -name make ! -name bash -exec \
+               $(TOOLS_DIR)/bin/strip --strip-all '{}' ';'
+endif
diff --git a/make.sh b/make.sh
index 118339226489b5d45bf8d2f8722ebaeefb170af5..4d763ef9a6bcc51910cbe9547989a73327b5dd10 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -79,7 +79,7 @@ toolchain_build() {
        toolchain_make tar
        toolchain_make texinfo
        toolchain_make util-linux
-       toolchain_make strip
+       toolchain_make strip
        export PATH=$ORG_PATH
 }
 
@@ -198,7 +198,7 @@ ipfire_build() {
        ipfire_make pam                                                                                                                                                 PASS=2
        
        #ipfire_make libidn             ### Do we need this?
-  ipfire_make pcre
+       ipfire_make pcre
        ipfire_make popt
        ipfire_make python
        ipfire_make libxml2
@@ -206,8 +206,8 @@ ipfire_build() {
        ipfire_make slang
        ipfire_make newt
        ipfire_make cyrus-sasl
-  ipfire_make openldap
-  ipfire_make sqlite
+       ipfire_make openldap
+       ipfire_make sqlite
        ipfire_make curl
        ipfire_make libusb
        ipfire_make gnupg
@@ -255,28 +255,28 @@ ipfire_build() {
        ipfire_make lighttpd
        ipfire_make lzma
        ipfire_make collectd
-  #ipfire_make logrotate
-  #ipfire_make logwatch        
+       #ipfire_make logrotate
+       #ipfire_make logwatch   
        ipfire_make cpio
        ipfire_make cdrtools
        ipfire_make parted
        ipfire_make memtest86+
-  #ipfire_make pakfire
-  #ipfire_make initscripts
+       #ipfire_make pakfire
+       #ipfire_make initscripts
   
-  ### -------------------------------------------------------------------------
-  ### Tools that maybe not needed
-  #    
-  #ipfire_make expat
-  #ipfire_make gmp
-  #ipfire_make gd
-  #ipfire_make libcap
-  #ipfire_make mtools
-  #ipfire_make mISDN
-
-  #ipfire_make nasm
-  #ipfire_make wireless
-  #ipfire_make libsafe
+       ### -------------------------------------------------------------------------
+       ### Tools that maybe not needed
+       #       
+       #ipfire_make expat
+       #ipfire_make gmp
+       #ipfire_make gd
+       #ipfire_make libcap
+       #ipfire_make mtools
+       #ipfire_make mISDN
+       
+       #ipfire_make nasm
+       #ipfire_make wireless
+       #ipfire_make libsafe
 }
 
 ################################################################################
@@ -313,15 +313,15 @@ misc_build() {
        #
        ## NTFS
        #ipfire_make fuse
-  #ipfire_make ntfs-3g
-  #
-  ## Net tools
-  #ipfire_make bwm-ng
-  #ipfire_make openvpn
-  #
-  ## UPNP
-  #ipfire_make libupnp
-  #ipfire_make linux-igd
+       #ipfire_make ntfs-3g
+       #
+       ## Net tools
+       #ipfire_make bwm-ng
+       #ipfire_make openvpn
+       #
+       ## UPNP
+       #ipfire_make libupnp
+       #ipfire_make linux-igd
                
        ### These will become addons as usual but will be integrated later
        #
@@ -402,7 +402,7 @@ packages_build() {
        
   echo "... see detailed log in _build.*.log files" >> $LOGFILE
 
-  ipfire_make strip
+  toolchain_make strip
   
   # Generating list of packages used
        ### MISSING ATM