use target optimizations, makefile cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6245 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ac2d4c6aa8
commit
8fbb034b54
@ -17,7 +17,6 @@ PKG_MD5SUM:=cafd71a5bff0c57bcd248273b2541c05
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@ -30,11 +29,8 @@ define Package/fxload
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default,
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
CC="$(TARGET_CC)" \
|
||||
CROSS="$(TARGET_CROSS)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
|
||||
$(call Build/Compile/Default, \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
)
|
||||
endef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user