binutils: update to 2.43.1
[openadk.git] / package / swconfig / Makefile
blob4b24b4cac4ba4faf2e532ecfe994f27d0bb2be59
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= swconfig
7 PKG_VERSION:= 1.0
8 PKG_RELEASE:= 1
9 PKG_DESCR:= switch config tool
10 PKG_SECTION:= net/route
11 PKG_DEPENDS:= libnl
12 PKG_BUILDDEP:= libnl
13 PKG_NEEDS:= threads
15 PKG_SYSTEM_DEPENDS:= mikrotik-rb4xx
17 WRKDIST= ${WRKDIR}/swconfig
18 NO_DISTFILES:= 1
20 include $(ADK_TOPDIR)/mk/package.mk
22 $(eval $(call PKG_template,SWCONFIG,swconfig,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libnl3/
26 CONFIG_STYLE:= manual
27 INSTALL_STYLE:= manual
29 swconfig-install:
30 $(INSTALL_DIR) $(IDIR_SWCONFIG)/usr/bin
31 $(INSTALL_BIN) $(WRKDIST)/swconfig \
32 $(IDIR_SWCONFIG)/usr/bin
34 include ${ADK_TOPDIR}/mk/pkg-bottom.mk