3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=9b7dc52656f5cbec846a7ba3299f73bd
10 PKG_SOURCE_URL
:=@SF
/bridge
11 PKG_SOURCE
:=bridge-utils-
$(PKG_VERSION
).
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/bridge-utils-
$(PKG_VERSION
)
15 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,BRIDGE
,bridge
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
19 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
20 $(TARGET_CONFIGURE_OPTS
) \
21 CFLAGS
="$(TARGET_CFLAGS)" \
23 --target
=$(GNU_TARGET_NAME
) \
24 --host
=$(GNU_TARGET_NAME
) \
25 --build
=$(GNU_HOST_NAME
) \
30 --libexecdir
=/usr
/lib \
32 --datadir=/usr
/share \
33 --localstatedir
=/var \
37 --with-linux-headers
=$(LINUX_DIR
) \
41 $(PKG_BUILD_DIR
)/.built
:
42 $(MAKE
) -C
$(PKG_BUILD_DIR
)
46 mkdir
-p
$(IDIR_BRIDGE
)/usr
/sbin
47 cp
$(PKG_BUILD_DIR
)/brctl
/brctl
$(IDIR_BRIDGE
)/usr
/sbin
/
48 $(STRIP
) $(IDIR_BRIDGE
)/usr
/sbin
/brctl
49 $(IPKG_BUILD
) $(IDIR_BRIDGE
) $(PACKAGE_DIR
)