3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=c4559af2366c764c6c42a3fdd40d60d3
10 PKG_SOURCE_URL
:=@SF
/ebtables
11 PKG_SOURCE
:=$(PKG_NAME
)-v
$(PKG_VERSION
).
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/ebtables-v
$(PKG_VERSION
)
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,EBTABLES
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
24 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld \
25 CFLAGS
="$(TARGET_CFLAGS) -Wall"
29 mkdir
-p
$(IDIR_EBTABLES
)/usr
/sbin
30 cp
$(PKG_BUILD_DIR
)/ebtables
$(IDIR_EBTABLES
)/usr
/sbin
/
31 $(IPKG_BUILD
) $(IDIR_EBTABLES
) $(PACKAGE_DIR
)