From 15a9b61bbd1c7d1dec7cdb0992462356aec63905 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 28 Feb 2007 13:28:18 +0000 Subject: fix kexec-tools build SVN-Revision: 6428 --- package/kexec-tools/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'package/kexec-tools') diff --git a/package/kexec-tools/Makefile b/package/kexec-tools/Makefile index 23294fd39b..d88fc0583c 100644 --- a/package/kexec-tools/Makefile +++ b/package/kexec-tools/Makefile @@ -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 -- cgit v1.2.3