@$(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)
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
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
toolchain_make tar
toolchain_make texinfo
toolchain_make util-linux
- # toolchain_make strip
+ toolchain_make strip
export PATH=$ORG_PATH
}
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
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
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
}
################################################################################
#
## 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
#
echo "... see detailed log in _build.*.log files" >> $LOGFILE
- ipfire_make strip
+ toolchain_make strip
# Generating list of packages used
### MISSING ATM