[tools] missing-macros: add as-ac-expand.m4
[openwrt.git] / tools / libelf / Makefile
index 00d424f..f38d70d 100644 (file)
@@ -1,49 +1,49 @@
-#\r
-# Copyright (C) 2010 OpenWrt.org\r
-#\r
-# This is free software, licensed under the GNU General Public License v2.\r
-# See /LICENSE for more information.\r
-#\r
-\r
-include $(TOPDIR)/rules.mk\r
-\r
-PKG_NAME:=libelf\r
-PKG_VERSION:=0.8.13\r
-PKG_MD5SUM:=4136d7b4c04df68b686570afa26988ac\r
-PKG_RELEASE:=1\r
-\r
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz\r
-PKG_SOURCE_URL:=http://www.mr511.de/software/\r
-\r
-include $(INCLUDE_DIR)/host-build.mk\r
-\r
-HOST_CONFIGURE_ARGS += \\r
-       --disable-shared \\r
-       --enable-elf64\r
-\r
-define Host/Configure\r
-        (cd $(HOST_BUILD_DIR)/$(3); \\r
-                $(HOST_CONFIGURE_CMD) \\r
-                $(HOST_CONFIGURE_ARGS); \\r
-        )\r
-endef\r
-\r
-\r
-define Host/Compile\r
-       $(MAKE) -C $(HOST_BUILD_DIR)/lib/ libelf.a\r
-endef\r
-\r
-define Host/Install\r
-       $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/libelf}\r
-       $(CP) $(HOST_BUILD_DIR)/lib/{elf_repl.h,gelf.h,libelf.h,nlist.h,sys_elf.h} \\r
-                                               $(STAGING_DIR_HOST)/include/libelf/\r
-       $(CP) $(HOST_BUILD_DIR)/lib/libelf.a $(STAGING_DIR_HOST)/lib/\r
-endef\r
-\r
-define Host/Clean\r
-       rm -rf $(STAGING_DIR_HOST)/include/libelf\r
-       rm -f $(STAGING_DIR_HOST)/lib/libelf.a\r
-       $(call Host/Clean/Default)\r
-endef\r
-\r
-$(eval $(call HostBuild))\r
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=libelf
+PKG_VERSION:=0.8.13
+PKG_MD5SUM:=4136d7b4c04df68b686570afa26988ac
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://www.mr511.de/software/
+
+include $(INCLUDE_DIR)/host-build.mk
+
+HOST_CONFIGURE_ARGS += \
+       --disable-shared \
+       --enable-elf64
+
+define Host/Configure
+        (cd $(HOST_BUILD_DIR)/$(3); \
+                $(HOST_CONFIGURE_CMD) \
+                $(HOST_CONFIGURE_ARGS); \
+        )
+endef
+
+
+define Host/Compile
+       $(MAKE) -C $(HOST_BUILD_DIR)/lib/ libelf.a
+endef
+
+define Host/Install
+       $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/libelf}
+       $(CP) $(HOST_BUILD_DIR)/lib/{elf_repl.h,gelf.h,libelf.h,nlist.h,sys_elf.h} \
+                                               $(STAGING_DIR_HOST)/include/libelf/
+       $(CP) $(HOST_BUILD_DIR)/lib/libelf.a $(STAGING_DIR_HOST)/lib/
+endef
+
+define Host/Clean
+       rm -rf $(STAGING_DIR_HOST)/include/libelf
+       rm -f $(STAGING_DIR_HOST)/lib/libelf.a
+       $(call Host/Clean/Default)
+endef
+
+$(eval $(call HostBuild))
This page took 0.025069 seconds and 4 git commands to generate.