Somehow update the Makefile template, we do not need to specify PKG_BUILD_DIR or PKG_INSTALL_DIR when package archive is standard

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13181 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2008-11-11 14:29:21 +00:00
parent 782e54de60
commit 390482a40d

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2007 OpenWrt.org
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -17,9 +17,6 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=
PKG_MD5SUM:=
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/package
@ -47,7 +44,6 @@ CONFIGURE_VARS += \
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)"
define Build/Compile
# pass CFLAGS again to override -O2 set by configure
$(MAKE) -C $(PKG_BUILD_DIR) \