mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix kexec-tools build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6428 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -33,12 +33,17 @@ define Package/kexec-tools
|
||||
URL:=http://www.xmission.com/~ebiederm/files/kexec/README
|
||||
endef
|
||||
|
||||
MAKE_FLAGS += \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
|
||||
BUILD_CFLAGS="-O2" \
|
||||
LIBS="$(TARGET_LDFLAGS) -lz" \
|
||||
install
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
install
|
||||
$(call Build/Compile/Default,)
|
||||
endef
|
||||
|
||||
define Package/kexec-tools/install
|
||||
|
||||
Reference in New Issue
Block a user