瀏覽代碼

lsof: fix build after gentargets conversion

With the gentargets conversion, the tarball is extracted directly in the
source directory, so adjust paths to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 14 年之前
父節點
當前提交
50e0338bc8
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      package/lsof/lsof.mk

+ 4 - 4
package/lsof/lsof.mk

@@ -18,16 +18,16 @@ endif
 ifeq ($(BR2_USE_WCHAR),)
 ifeq ($(BR2_USE_WCHAR),)
 define LSOF_CONFIGURE_WCHAR_FIXUPS
 define LSOF_CONFIGURE_WCHAR_FIXUPS
 	$(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \
 	$(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \
-		$(@D)/lsof_$(LSOF_VERSION)_src/machine.h
+		$(@D)/machine.h
 	$(SED) 's,^#define[[:space:]]*WIDECHARINCL.*,,' \
 	$(SED) 's,^#define[[:space:]]*WIDECHARINCL.*,,' \
-		$(@D)/lsof_$(LSOF_VERSION)_src/machine.h
+		$(@D)/machine.h
 endef
 endef
 endif
 endif
 
 
 ifeq ($(BR2_ENABLE_LOCALE),)
 ifeq ($(BR2_ENABLE_LOCALE),)
 define LSOF_CONFIGURE_LOCALE_FIXUPS
 define LSOF_CONFIGURE_LOCALE_FIXUPS
 	$(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' \
 	$(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' \
-		$(@D)/lsof_$(LSOF_VERSION)_src/machine.h
+		$(@D)/machine.h
 endef
 endef
 endif
 endif
 
 
@@ -60,7 +60,7 @@ define LSOF_UNINSTALL_TARGET_CMDS
 endef
 endef
 
 
 define LSOF_CLEAN_CMDS
 define LSOF_CLEAN_CMDS
-	-$(MAKE) -C $(@D)/lsof_$(LSOF_VERSION)_src clean
+	-$(MAKE) -C $(@D) clean
 endef
 endef
 
 
 $(eval $(call GENTARGETS,package,lsof))
 $(eval $(call GENTARGETS,package,lsof))