Skip to content

Commit

Permalink
net: guangruntong: Drop common.mk build rules at Makefile
Browse files Browse the repository at this point in the history
When exec "make clean" after "make distclean", here is follow errors:

drivers/net/ethernet/guangruntong/Makefile:30: *** Cannot find common.mk build rules. Stopped.

Signed-off-by: WangYuli <[email protected]>
  • Loading branch information
Avenger-285714 committed Aug 10, 2024
1 parent ccf6bd1 commit 81dbf1d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/net/ethernet/guangruntong/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ else # ifneq($(KERNELRELEASE),)

DRIVER := grtnic_xgb

ifeq (,$(wildcard common.mk))
$(error Cannot find common.mk build rules)
else
include common.mk
endif

# Check that kernel version is at least 2.6.0, since we don't support 2.4.x
# kernels with the grtnic driver. We can't use minimum_kver_check since SLES 10
# SP4's Make has a bug which causes $(eval) inside an ifeq conditional to error
Expand Down

0 comments on commit 81dbf1d

Please sign in to comment.