mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/petitboot: minor makefile cleanup
Normalize the order of arguments to $(INSTALL). Remove an unnecessary
pair of parentheses.
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit de86cac61b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
f05246df4f
commit
5f1bccce47
@@ -63,15 +63,15 @@ define PETITBOOT_POST_INSTALL
|
|||||||
$(TARGET_DIR)/etc/petitboot/boot.d/01-create-default-dtb
|
$(TARGET_DIR)/etc/petitboot/boot.d/01-create-default-dtb
|
||||||
$(INSTALL) -D -m 0755 $(@D)/utils/hooks/90-sort-dtb \
|
$(INSTALL) -D -m 0755 $(@D)/utils/hooks/90-sort-dtb \
|
||||||
$(TARGET_DIR)/etc/petitboot/boot.d/90-sort-dtb
|
$(TARGET_DIR)/etc/petitboot/boot.d/90-sort-dtb
|
||||||
$(INSTALL) -m 0755 -D $(PETITBOOT_PKGDIR)/S15pb-discover \
|
$(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/S15pb-discover \
|
||||||
$(TARGET_DIR)/etc/init.d/S15pb-discover
|
$(TARGET_DIR)/etc/init.d/S15pb-discover
|
||||||
$(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/pb-console \
|
$(INSTALL) -D -m 0755 $(PETITBOOT_PKGDIR)/pb-console \
|
||||||
$(TARGET_DIR)/etc/init.d/pb-console
|
$(TARGET_DIR)/etc/init.d/pb-console
|
||||||
|
|
||||||
mkdir -p $(TARGET_DIR)/etc/udev/rules.d
|
mkdir -p $(TARGET_DIR)/etc/udev/rules.d
|
||||||
(for port in $(PETITBOOT_GETTY_PORT); do \
|
for port in $(PETITBOOT_GETTY_PORT); do \
|
||||||
printf 'SUBSYSTEM=="tty", KERNEL=="%s", RUN+="/etc/init.d/pb-console start $$name"\n' "$$port"; \
|
printf 'SUBSYSTEM=="tty", KERNEL=="%s", RUN+="/etc/init.d/pb-console start $$name"\n' "$$port"; \
|
||||||
done) > $(TARGET_DIR)/etc/udev/rules.d/petitboot-console-ui.rules
|
done > $(TARGET_DIR)/etc/udev/rules.d/petitboot-console-ui.rules
|
||||||
|
|
||||||
mkdir -p $(TARGET_DIR)/usr/share/udhcpc/default.script.d/
|
mkdir -p $(TARGET_DIR)/usr/share/udhcpc/default.script.d/
|
||||||
ln -sf /usr/sbin/pb-udhcpc \
|
ln -sf /usr/sbin/pb-udhcpc \
|
||||||
|
|||||||
Reference in New Issue
Block a user