mii-diag: remove unneded explicit static linking handling

Now that it is done globally instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-06-29 16:15:12 +02:00
parent eb421a8433
commit dc1d20acb7

View File

@ -10,10 +10,6 @@ MII_DIAG_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/m/mii-diag
MII_DIAG_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) MII_DIAG_MAKE_OPT = $(TARGET_CONFIGURE_OPTS)
ifeq ($(BR2_PREFER_STATIC_LIB),y)
MII_DIAG_MAKE_OPT += CFLAGS="$(TARGET_CFLAGS) -static"
endif
define MII_DIAG_DEBIAN_PATCHES define MII_DIAG_DEBIAN_PATCHES
if [ -d $(@D)/debian/patches ]; then \ if [ -d $(@D)/debian/patches ]; then \
support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches \*.patch; \ support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches \*.patch; \