1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007-2017 IPFire Team <info@ipfire.org> #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
30 TARGET = $(DIR_INFO)/$(THISAPP)
32 ifeq "$(TOOLCHAIN)" "1"
34 STRIP = /usr/bin/strip
37 SHELL = $(TOOLS_DIR)/bin/bash
38 STRIP = $(TOOLS_DIR)/bin/strip
42 ###############################################################################
44 ###############################################################################
54 ###############################################################################
55 # Installation Details
56 ###############################################################################
59 # Don't strip VDR binaries, because they use a weird plugin system
60 # which does not work when unneeded symbols get stripped from
62 STRIP=$(STRIP) $(SHELL) $(DIR_SRC)/src/stripper $(ROOT) \
63 --exclude=/usr/src --exclude=$(TOOLS_DIR) \
64 --exclude=/usr/sbin/vdr --exclude=/usr/lib/vdr