diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2011-09-29 21:57:42 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-09-29 23:09:58 +0200 |
commit | 0849e8193ef429f29945b8c2a54eafc8635e0969 (patch) | |
tree | 87934d420647a042d53c0332e15d4d02404b8010 /package/usb_modeswitch/usb_modeswitch.mk | |
parent | e055aea216cff4d12cf55eab2e35ca1459edaa91 (diff) |
package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.
[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/usb_modeswitch/usb_modeswitch.mk')
-rw-r--r-- | package/usb_modeswitch/usb_modeswitch.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/usb_modeswitch/usb_modeswitch.mk b/package/usb_modeswitch/usb_modeswitch.mk index 620c5d05a..7b982d818 100644 --- a/package/usb_modeswitch/usb_modeswitch.mk +++ b/package/usb_modeswitch/usb_modeswitch.mk @@ -25,5 +25,5 @@ define USB_MODESWITCH_CLEAN_CMDS rm -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1 endef -$(eval $(call GENTARGETS,package,usb_modeswitch)) +$(eval $(call GENTARGETS)) |