Advertisement
svenhoefer

Untitled

May 7th, 2018
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.72 KB | None | 0 0
  1.  
  2. $(D)/gptfdisk: $(D)/popt $(D)/e2fsprogs $(ARCHIVE)/$(GPTFDISK_SOURCE) | $(TARGET_DIR)
  3.     $(REMOVE)/gptfdisk-$(GPTFDISK_VER)
  4.     $(UNTAR)/$(GPTFDISK_SOURCE)
  5.     cd $(BUILD_TMP)/gptfdisk-$(GPTFDISK_VER); \
  6.         sed -i 's|^CC=.*|CC=$(TARGET)-gcc|' Makefile; \
  7.         sed -i 's|^CXX=.*|CXX=$(TARGET)-g++|' Makefile; \
  8.         $(BUILDENV) \
  9.         $(MAKE) sgdisk; \
  10.     install -m 755 -D sgdisk $(TARGET_DIR)/sbin/
  11.     #$(REMOVE)/gptfdisk-$(GPTFDISK_VER)
  12.     touch $@
  13.  
  14. $(D)/popt: $(ARCHIVE)/$(POPT_SOURCE) | $(TARGET_DIR)
  15.     $(REMOVE)/popt-$(POPT_VER)
  16.     $(UNTAR)/$(POPT_SOURCE)
  17.     set -e; cd $(BUILD_TMP)/popt-$(POPT_VER); \
  18.         $(CONFIGURE) \
  19.             --prefix= \
  20.         ; \
  21.         $(MAKE); \
  22.         $(MAKE) install DESTDIR=$(TARGET_DIR)
  23.     $(REMOVE)/popt-$(POPT_VER)
  24.     touch $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement