mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
rpath patch by Joerg Dorchain <joerg@dorchain.net>.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2185 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -36,7 +36,7 @@ all-prog-detect: $(PROGDETECTTARGETS)
|
|||||||
user :: all-prog-detect
|
user :: all-prog-detect
|
||||||
|
|
||||||
$(MODULE_DIR)/i2cdetect: $(MODULE_DIR)/i2cdetect.ro prog/dump/i2cbusses.ro
|
$(MODULE_DIR)/i2cdetect: $(MODULE_DIR)/i2cdetect.ro prog/dump/i2cbusses.ro
|
||||||
$(CC) -o $@ $^
|
$(CC) $(EXLDFLAGS) -o $@ $^
|
||||||
|
|
||||||
install-prog-detect: all-prog-detect
|
install-prog-detect: all-prog-detect
|
||||||
mkdir -p $(DESTDIR)$(SBINDIR)
|
mkdir -p $(DESTDIR)$(SBINDIR)
|
||||||
|
@@ -38,10 +38,10 @@ all-prog-dump: $(PROGDUMPTARGETS)
|
|||||||
user :: all-prog-dump
|
user :: all-prog-dump
|
||||||
|
|
||||||
$(MODULE_DIR)/i2cdump: $(MODULE_DIR)/i2cdump.ro $(MODULE_DIR)/i2cbusses.ro
|
$(MODULE_DIR)/i2cdump: $(MODULE_DIR)/i2cdump.ro $(MODULE_DIR)/i2cbusses.ro
|
||||||
$(CC) -o $@ $^
|
$(CC) $(EXLDFLAGS) -o $@ $^
|
||||||
|
|
||||||
$(MODULE_DIR)/i2cset: $(MODULE_DIR)/i2cset.ro $(MODULE_DIR)/i2cbusses.ro
|
$(MODULE_DIR)/i2cset: $(MODULE_DIR)/i2cset.ro $(MODULE_DIR)/i2cbusses.ro
|
||||||
$(CC) -o $@ $^
|
$(CC) $(EXLDFLAGS) -o $@ $^
|
||||||
|
|
||||||
install-prog-dump: all-prog-dump
|
install-prog-dump: all-prog-dump
|
||||||
mkdir -p $(DESTDIR)$(SBINDIR)
|
mkdir -p $(DESTDIR)$(SBINDIR)
|
||||||
|
@@ -38,7 +38,7 @@ PROGSENSORDSOURCES := $(MODULE_DIR)/args.c $(MODULE_DIR)/chips.c $(MODULE_DIR)/l
|
|||||||
INCLUDEFILES += $(PROGSENSORDSOURCES:.c=.rd)
|
INCLUDEFILES += $(PROGSENSORDSOURCES:.c=.rd)
|
||||||
|
|
||||||
$(PROGSENSORDTARGETS): $(PROGSENSORDSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
|
$(PROGSENSORDTARGETS): $(PROGSENSORDSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
|
||||||
$(CC) -o $@ $(PROGSENSORDSOURCES:.c=.ro) -Llib -lsensors -lrrd
|
$(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORDSOURCES:.c=.ro) -Llib -lsensors -lrrd
|
||||||
|
|
||||||
all-prog-sensord: $(PROGSENSORDTARGETS)
|
all-prog-sensord: $(PROGSENSORDTARGETS)
|
||||||
user :: all-prog-sensord
|
user :: all-prog-sensord
|
||||||
|
@@ -34,7 +34,7 @@ PROGSENSORSSOURCES := $(MODULE_DIR)/main.c $(MODULE_DIR)/chips.c
|
|||||||
INCLUDEFILES += $(PROGSENSORSSOURCES:.c=.rd)
|
INCLUDEFILES += $(PROGSENSORSSOURCES:.c=.rd)
|
||||||
|
|
||||||
$(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
|
$(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
|
||||||
$(CC) -o $@ $(PROGSENSORSSOURCES:.c=.ro) -Llib -lsensors
|
$(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) -Llib -lsensors
|
||||||
|
|
||||||
all-prog-sensors: $(PROGSENSORSTARGETS)
|
all-prog-sensors: $(PROGSENSORSTARGETS)
|
||||||
user :: all-prog-sensors
|
user :: all-prog-sensors
|
||||||
|
Reference in New Issue
Block a user