+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = uClibc
-VER = 20080807
-
-THISAPP = $(PKG_NAME)-$(VER)
-DL_FILE = $(THISAPP).tar.bz2
-DIR_APP = $(DIR_SRC)/$(PKG_NAME)
-
-LOCALE_FILE = $(PKG_NAME)-locale-030818.tgz
-
-TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)-pass$(PASS)
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) $(LOCALE_FILE) $(THISAPP)-aio.patch
-
-install : $(TARGET)
-
-download : $(objects)
-
-$(objects) :
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(TARGET) :
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-aio.patch
-
- ## Copy configuration
- cp -f $(DIR_CONF)/$(PKG_NAME)/.config $(DIR_APP)/.config
- cp -f $(DIR_DL)/$(LOCALE_FILE) $(DIR_APP)/extra/locale
-
- cd $(DIR_APP) && yes "" | make oldconfig
-
-ifeq "$(PASS)" "1"
- cd $(DIR_APP) && make CROSS= PREFIX="$(UCLIBC_SYSROOT_DIR)/" \
- KERNEL_HEADERS="$(UCLIBC_SYSROOT_DIR)/usr/include/" \
- headers pregen install_dev
-endif
-
-ifeq "$(PASS)" "2"
- cd $(DIR_APP) && make CROSS=$(UCLIBC_TARGET)- \
- PREFIX=$(UCLIBC_SYSROOT_DIR)/ \
- KERNEL_HEADERS="$(UCLIBC_SYSROOT_DIR)/usr/include/" \
- all install
-endif
-
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)