1 #############################################################
5 #############################################################
7 EBTABLES_SOURCE_URL
=http
://umn.dl.sourceforge.net
/sourceforge
/ebtables
/
8 EBTABLES_SOURCE
=ebtables-v2.0
.6.
tar.gz
9 EBTABLES_BUILD_DIR
=$(BUILD_DIR
)/ebtables-v2.0
.6
10 EBTABLES_TARGET_BINARY
:=usr
/sbin
/ebtables
12 $(DL_DIR
)/$(EBTABLES_SOURCE
):
13 $(WGET
) -P
$(DL_DIR
) $(EBTABLES_SOURCE_URL
)/$(EBTABLES_SOURCE
)
15 $(EBTABLES_BUILD_DIR
)/.unpacked
: $(DL_DIR
)/$(EBTABLES_SOURCE
)
16 zcat
$(DL_DIR
)/$(EBTABLES_SOURCE
) |
tar -C
$(BUILD_DIR
) $(TAR_OPTIONS
) -
17 touch
$(EBTABLES_BUILD_DIR
)/.unpacked
19 $(EBTABLES_BUILD_DIR
)/ebtables
: $(EBTABLES_BUILD_DIR
)/.unpacked
20 $(MAKE
) -C
$(EBTABLES_BUILD_DIR
) \
21 CC
=$(TARGET_CC
) LD
=$(TARGET_CROSS
)ld \
22 CFLAGS
="$(TARGET_CFLAGS) -Wall"
24 $(TARGET_DIR
)/$(EBTABLES_TARGET_BINARY
): $(EBTABLES_BUILD_DIR
)/ebtables
25 cp
-af
$(EBTABLES_BUILD_DIR
)/ebtables
$(TARGET_DIR
)/$(EBTABLES_TARGET_BINARY
)
26 $(STRIP
) $(TARGET_DIR
)/$(EBTABLES_TARGET_BINARY
)
28 ebtables
: $(TARGET_DIR
)/$(EBTABLES_TARGET_BINARY
)
30 ebtables-source
: $(DL_DIR
)/$(EBTABLES_SOURCE
)
33 #$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(EBTABLES_BUILD_DIR) uninstall
34 -$(MAKE
) -C
$(EBTABLES_BUILD_DIR
) clean
37 rm -rf
$(EBTABLES_BUILD_DIR
)
39 ifeq ($(strip $(BR2_PACKAGE_EBTABLES
)),y
)
This page took 0.039782 seconds and 5 git commands to generate.