Created
April 14, 2016 19:36
-
-
Save nl0x/7e490b9e8443a1a92f08fd5829cb9aab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Copyright (C) 2012-2015 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:=l3roamd | |
| PKG_VERSION:=0 | |
| PKG_RELEASE:=1 | |
| PKG_MAINTAINER:=Nils Schneider <[email protected]> | |
| PKG_SOURCE_PROTO:=git | |
| PKG_SOURCE_URL:=/home/nils/code/own/l3roamd | |
| include $(INCLUDE_DIR)/package.mk | |
| include $(INCLUDE_DIR)/cmake.mk | |
| define Package/l3roamd | |
| SECTION:=net | |
| CATEGORY:=Network | |
| DEPENDS:=+kmod-tun +librt +libpthread | |
| TITLE:=l3roamd | |
| endef | |
| TARGET_CFLAGS += -ffunction-sections -fdata-sections | |
| TARGET_LDFLAGS += -Wl,--gc-sections | |
| CMAKE_OPTIONS += \ | |
| -DCMAKE_BUILD_TYPE:STRING=MINSIZEREL | |
| define Package/l3roamd/install | |
| $(INSTALL_DIR) $(1)/usr/bin | |
| $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/l3roamd $(1)/usr/bin/ | |
| endef | |
| $(eval $(call BuildPackage,l3roamd)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment