X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=package%2Fkexec-tools%2FMakefile;h=d88fc0583ccef2f6b758842f29b451ce26736179;hb=15a9b61bbd1c7d1dec7cdb0992462356aec63905;hp=23294fd39b1a7cd604464ec40ba5042cd59050ad;hpb=74f71f073998a53fb09409d59df65d1c03e94001;p=librecmc%2Flibrecmc.git 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